[Libav-user] Finding best corresponding between channel number and channel layout

Jean-Yves Avenard jyavenard at gmail.com
Wed Aug 13 14:55:14 CEST 2014

On 13 August 2014 22:50, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> Hi
> Seeing the AVCodecContext::request_channels is now deprecated ; what
> would be the best way to replace its use with request_channel_layout
> e.g. something that gives the most likely layout for a given number of
> channels ?
> for mono and stereo, it's obvious... for more than 2 channels it
> starts to get murky..

never mind...

just found av_get_default_channel_layout

More information about the Libav-user mailing list