[FFmpeg-user] Huffyuv huge files?

Christoph Gerstbauer christophgerstbauer at gmail.com
Thu Jan 29 20:41:25 CET 2015

Am 29.01.15 um 20:30 schrieb Roger Pack:
> On 1/29/15, Christoph Gerstbauer <christophgerstbauer at gmail.com> wrote:
>>> Hello.  I noticed when attempting to use Huffyuv for screen capture,
>>> that, even for a nonmoving image [screen in this case] it generates
>>> *huge* files, even if the GOP is set high.  I would have expected it
>>> to be a bit smarter in compression.
>>> I see on this; http://lags.leetcode.net/codec.html the lagarith guys
>>> mentioning that huffyuv has a "Predict Median" option.  I wonder if
>>> that is an option that would really help out [somebody on a windows
>>> computer test this out for me?]
>>> I'm just really confused why Huffyuv is *so* huge when it's
>>> recompressing the same frame over and over again.
>>> Any other advice quite welcome.
>>> Cheers!
>>> -roger-
>>> refs: http://www.virtualdub.org/blog/pivot/entry.php?id=203
>>> UPDATE just saw this:
>>> http://wiki.multimedia.cx/index.php?title=HuffYUV which implies that
>>> every frame in HuffyUV is an I-frame.  This explains it, sorry for the
>>> noise here, still posting it for followers, feedback also welcome.
>>> _______________________________________________
>> Hi Roger, yes huffyuv is only I-frame format.
>> I would try ffv1 instead. compresses better. and ffv1 uses only i-frames
>> when you set it via "-g 1".
>> More compression you will get if you use yuv420p instead of yuv422p like
>> huffyuv does.
>> Or are you using RGB?
> Yeah it is typically RGB, though probably can be converted easily.  I
> would use FFV1, just looking for the "fastest" thing out there, as it
> were, for screen capture [though I'll adming libx264 with its fast
> mode is actually pretty fast, though lossy].
> Thanks!
> -roger-
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Did you try lagarith? As far as I know it is fast and works good for 
graphics (after effects for example).
Lagarith can be installed as system codec on windows.


More information about the ffmpeg-user mailing list