[FFmpeg-devel] [RFC]Set bpp when encoding Y41P

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 3 23:21:11 CET 2012


Paul B Mahol <onemda <at> gmail.com> writes:

> >> Attached allows to encode y41p to avi and mov (and allows playback with
> >> 32bit
> >> MPlayer), it "fails" for stream-copy, so additional changes are probably
> >> necessary.
> >>
> >> But perhaps this change is needed / correct in any case?
> >
> > IMHO it is correct but AFAIK many video encoders doesn't set this.

(I also checked the documentation for bits_per_coded_sample.)

Patch applied.

> Also y41p uses PIX_FMT_YUV411P which is 12 bpp so I dunno from where
> muxer pick 24 bpp.

It is the avi muxer's default if no value was set.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list