[FFmpeg-devel] [PATCH] riff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain that data.

Hendrik Leppkes h.leppkes at gmail.com
Thu Jun 21 14:19:08 CEST 2012


On Thu, Jun 21, 2012 at 2:16 PM, Don Moir <donmoir at comcast.net> wrote:

> For the above 24 bit avi file, the audio sample_fmt is set to
> AV_SAMPLE_FMT_S16 and there is no AV_SAMPLE_FMT_S24.
>
> So not sure how I am supposed to play that back correctly. If I just play
> it back now and go with S16 its just static.
>

Update to latest Git which includes my patch, and it'll be
AV_SAMPLE_FMT_S32 with bits_per_coded_sample set to 24, and playback should
work fine. :)


More information about the ffmpeg-devel mailing list