[FFmpeg-devel] [PATCH 4/4] ffmpeg: replace custom channel_layout code with an SpecifierOpt based one
James Almer
jamrial at gmail.com
Sun Mar 20 20:03:51 EET 2022
On 3/19/2022 3:29 PM, Michael Niedermayer wrote:
> On Fri, Mar 18, 2022 at 07:47:48PM -0300, James Almer wrote:
>> This is cleaner and allows fine tuning which stream the option is applied to.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> fftools/ffmpeg.h | 2 ++
>> fftools/ffmpeg_opt.c | 84 ++++++++++++++++++--------------------------
>> 2 files changed, 36 insertions(+), 50 deletions(-)
>
> Not sure its intended or not but
> This changes the output of
>
No, it's probably not intended.
> ./ffmpeg -channel_layout 3.0 -ac 3 -f u8 -i /dev/zero -t 1 /tmp/file-old.wav
I assume (since i can't test) that a 2.1 layout is being set instead, if
any.
Guess i need to change how and with what priority "channels" and
"ch_layout" in pcm demuxer are parsed.
>
> thx
>
> [...]
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list