-map_audio_channel

480 views
Skip to first unread message

adam

unread,
Mar 26, 2011, 8:45:49 AM3/26/11
to ffmbc-discuss
Hi

I can't find the -map_audio_channel commandline option anywhere in the
ffmbc documentation and am wondering how it needs to be used (I need
to merge all audio tracks into a single track)? Can anyone point me
in the right direction?

Many thanks
Adam

Baptiste Coudurier

unread,
Mar 26, 2011, 4:44:48 PM3/26/11
to ffmbc-...@googlegroups.com, adam
Hi Adam,

it's -map_audio_channel file:stream:channel:outfile:stream[:outchannel]

So it you have 8 mono tracks and want to create one 8 channels track, it
would be:
-map_audio_channel 0:0:0:0:1 -map_audio_channel 0:0:1:0:1
-map_audio_channel 0:0:2:0:1 -map_audio_channel 0:0:3:0:1
-map_audio_channel 0:0:4:0:1 -map_audio_channel 0:0:5:0:1
-map_audio_channel 0:0:6:0:1 -map_audio_channel 0:0:7:0:1

--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org

adam

unread,
Mar 29, 2011, 5:28:53 AM3/29/11
to ffmbc-discuss
Hi Baptiste

Unfortunately it didn't solve my problem as I got the ffmpeg "multiple
edit list entries, a/v desync might occur, patch welcome" warning and
indeed the resulting file audio was wrong as the source file uses elst
entries to align the audio tracks with the video track. Many thanks
for your help anyway
Reply all
Reply to author
Forward
0 new messages