Comment by jcalvinowens

4 days ago

> I'm still looking for better/faster lossless YUV encoding.

Look no further: https://trac.ffmpeg.org/wiki/Encode/FFV1

I spent some time with this on my data set, and in my hands I wasn't able to produce results that were convincingly better than libx264, but with slower encodes and larger output files. It's really hard to beat libx264.

  • >> I'm still looking for better/faster lossless YUV encoding.

    > I wasn't able to produce results that were convincingly better than libx264

    With "-qp 0"? Otherwise, it's not a valid comparison... "-crf 13" is nowhere near lossless (though it might appear so visually).

    FFV1 is much better than H264 at lossless compression in my experience. Here's a random sample of a ten second 4K input I had handy (5.5G uncompressed):

        h264-ultrafast    1.951s   850M
        h264-veryslow    46.528s   715M
        ffv1              8.883s   637M
    

    But yeah, if you don't actually require truly lossless data, it's a huge waste.