[FFmpeg-devel] [PATCH] Add a new channel layout API

Paul B Mahol onemda at gmail.com
Sun Dec 30 18:27:26 EET 2018


On 12/30/18, Nicolas George <george at nsup.org> wrote:
> Paul B Mahol (2018-12-30):
>> >> > av_get_channel_layout() used to use '+' instead of '|', and I think
>> >> > it
>> >> > is better. For once, '+' is not a special character for shells.
>> >>
>> >> Can not work if user wants to define custom channel layout from
>> >> already available channels.
>> >
>> > Please explain why.
>>
>> Input #0, wv, from
>> '/home/computer/Downloads/Run_The_Race_-_3rd_Order_Ambisonic_SN3D.wv':
>>   Duration: 00:11:07.67, start: 0.000000, bitrate: 6084 kb/s
>>     Stream #0:0: Audio: wavpack, 44100 Hz, 16 channels
>> (FL+FR+FC+LFE+BL+BR+FLC+FRC+BC+SL+SR+TC+TFL+TFC+TFR+TBL), s16p
>
> Yes... and...?

>From this is obvious that user can not use '+' to separate channel
layouts if it is already used to define channel layouts.

Do you need better explanation now?


More information about the ffmpeg-devel mailing list