[FFmpeg-user] Problem converting to Huffyuv codec

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Nov 14 13:12:09 CET 2012

Leonid Makarovsky <metaleonid <at> gmail.com> writes:

> The source files were 24 bit Huffyuv. However, the output files turned
> out to be 16 bit Huffyuv. Is there any flag I should specify in
> command line to tell that I want to convert to 24 bit? 

> Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p

yuv422p is 16bpp.
(Either your assumption that the input file is 24bpp is wrong 
or there is a bug in FFmpeg reading your sample but I 
consider the bug unlikely if your output file looks remotely 
like the input sample.)

> Another thing is that the size of the resulting files 
> were 1.5 times bigger than the size of the original 
> file even though they were 16 bit. How come? 

Please provide a very small input file that allows to 
reproduce this.

> And the last thing is that the resulting file has 2 
> extra stub frames in the beginning.

Your console output does not indicate any duplicated frames.

Carl Eugen

More information about the ffmpeg-user mailing list