[FFmpeg-devel] [RFC] Channel layouts

Andreas Öman andreas
Fri Aug 29 22:04:29 CEST 2008

Aurelien Jacobs wrote:
> [...]
> I really like this proposition.
> It has some small limitations (max 32 or 64 channels, etc...) but I don't
> really see this as a problem.

It's worth mentioning that this does not actually limit the total
number of channels a codec can handle but rather the number of
"speaker/channel positions". Audio channels which have no
known speaker position will just appear last in order without
a corresponding channel layout bit.

So it's possible that avctx->channels > number_of_bits(channel_layout).

An interactive user application might just pop up a request asking
the user what to do with these channels.

More information about the ffmpeg-devel mailing list