[FFmpeg-user] Channel manipulation and audio filter equivalencies

Chris Angelico rosuav at gmail.com
Wed Nov 18 23:55:45 EET 2020


On Thu, Nov 19, 2020 at 8:48 AM adam smith via ffmpeg-user
<ffmpeg-user at ffmpeg.org> wrote:
>
>
> > On 12 Nov 2020, at 06:10, Chris Angelico <rosuav at gmail.com> wrote:
> >
> > Anyone have recommendations on these options, or any other preferred
> > way to remap channels at maximum quality?
>
> You could try using the channelsplit and selecting the specific channels you want and then merging them into a single stream. channelsplit=channel_layout=7.1:channels=LF|RF[lf][rf];[lf][rf]amerge=inputs=2[aout]
>

Hmm, I must be missing something here, because I get this error:

$ ffmpeg -stats -y -i Original.mkv -filter_complex
'channelsplit=channel_layout=7.1:channels=LF|RF[lf][rf];[lf][rf]amerge=inputs=2[aout]'
-map 0:v -map 0:s channel_split.mkv
[AVFilterGraph @ 0x559f11cf7f80] Error initializing filter
'channelsplit' with args 'channel_layout=7.1:channels=LF|RF'
Error initializing complex filters.
Invalid argument

But when I tried things along these lines, I got complaints that some
of the outputs weren't connected to anything.

ChrisA


More information about the ffmpeg-user mailing list