[FFmpeg-devel] [PATCH]Make CH_LAYOUT_5POINTx_BACK the normal case

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Aug 25 11:11:31 CEST 2011

Justin Ruggles <justin.ruggles <at> gmail.com> writes:

> > AV_CH_LAYOUT_5POINTx_BACK is what every other application expects for
> > 5.0/5.1 when reading a wav file which is where FFmpeg's channel layout comes
> > from, so this should be the "normal" case, and AV_CH_LAYOUT_5POINTx the
> > exception.

> I don't really care, but I wanted to point out that applications reading WAV
> (or any other MS format) expect 0x3F as the channel mask for 5.1

That is my point, users will expect FFmpeg to output 0x3F if they ask for 5.1

> only because, for Microsoft, 0x3F actually
> means side channels, not back channels.

Doesn't this depend on your speaker configuration?
But imo, it doesn't matter that much if Microsoft did something we can't agree
with, more important is that FFmpeg doesn't output files that are unplayable or
at least "funny".

Carl Eugen

More information about the ffmpeg-devel mailing list