Skip to content

ffmpeg commands

  • Published: 2024-09-23 16:03
  • Updated: 2024-09-23 18:32

Extract multiple audio tracks from a video

ffmpeg -i input.mp4 -map 0:a:0 -y audiotrack_1.wav -map 0:a:1 -y audiotrack_1.wav
  • ‘-map’ identifies the audio channels
  • ‘-y’ specifies the file to write to
  • .wav sets the output format via the file extension
    • Don’t omit this!

Total Commander button action

-i %N -map 0:a:0 -y %O-track1.wav -map 0:a:1 -y %O-track2.wav