[FFmpeg-user] Channel manipulation and audio filter equivalencies

Chris Angelico rosuav at gmail.com
Thu Nov 19 00:47:54 EET 2020


On Thu, Nov 19, 2020 at 9:21 AM adam smith via ffmpeg-user
<ffmpeg-user at ffmpeg.org> wrote:
>
>
> > On 18 Nov 2020, at 21:55, Chris Angelico <rosuav at gmail.com> wrote:
> >
> > But when I tried things along these lines, I got complaints that some
> > of the outputs weren't connected to anything.
>
> I didn’t add the input stream as I am not sure what stream it is on your source.
> If could be something like…
>
> ffmpeg -stats -y -i Original.mkv -filter_complex
> "[0:1]channelsplit=channel_layout=7.1:channels=LF|RF[lf][rf];[lf][rf]amerge=inputs=2[aout]"
> -map 0:v -map "aout" -map 0:s channel_split.mkv
>

Regardless of the input mapping, it's still complaining about that
channelsplit configuration.

Is there any way to figure out what the actual error is? Even with
loglevel debug, all I get is this:

Successfully opened the file.
[Parsed_channelsplit_0 @ 0x55f0a8d38780] Setting 'channel_layout' to value '7.1'
[Parsed_channelsplit_0 @ 0x55f0a8d38780] Setting 'channels' to value 'LF|RF'
[AVFilterGraph @ 0x55f0a8cea280] Error initializing filter
'channelsplit' with args 'channel_layout=7.1:channels=LF|RF'
Error initializing complex filters.
Invalid argument

ChrisA


More information about the ffmpeg-user mailing list