[FFmpeg-user] Reversed stream order of video audio after audio merging

DopeLabs dopelabs at dubstep.fm
Wed May 28 13:57:53 CEST 2014


http://ffmpeg.org/ffmpeg.html#Advanced-options

The first -map option on the command line specifies the source for output stream 0, the second -map option specifies the source for output stream 1, etc.

so you want the video stream (0:1) first and then the audio (0:0)

ffmpeg -i input -map 0:1 -map 0:0

Stream mapping:
  Stream #0:1 -> #0:0
  Stream #0:0 -> #0:1



More information about the ffmpeg-user mailing list