I have an MKV video file with 5.1 channel audio. I want to use the third channel (FC) as AAC Audio Track 1 (with language label Malayalam), the whole audio file copied as Audio Track 2 (also with language label Malayalam), and save the video as MKV. I don't want to reencode the video.
How can I do that?
I tried this:
ffmpeg -i "input.mkv" -filter_complex "channelsplit=channel_layout=5.1[FL][FR][FC][LFE][BL][BR]" -map '[FC]' -acodec aac -map 0 -vcodec copy "output [Background Removed].mkv"
It gave me the error:
Filter channelsplit:BR has an unconnected output