[FFmpeg-user] Huffyuv huge files?

Christoph Gerstbauer christophgerstbauer at gmail.com
Thu Jan 29 20:18:36 CET 2015

> 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?


More information about the ffmpeg-user mailing list