[FFmpeg-devel] [PATCH]Support more tiff variants in mov

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 18 15:07:24 CEST 2012


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +    avctx->bits_per_coded_sample = 
> > av_get_bits_per_pixel(&av_pix_fmt_descriptors[avctx->pix_fmt]);
> 
> is this correct for the yuv formats too ?

It is only known to be correct for PAL8 (which does not work 
correctly in mov), RGB24 (which is default anyway), RGBA and 
monob, gray needs a special value (0x28), RGB48 and RGB64 
are reported not to work.

Is it better to set bits_per_coded_sample explicitely and 
only for the variants that are known to work with QuickTime?

Carl Eugen



More information about the ffmpeg-devel mailing list