User Tools

Site Tools


ffmpeg:audio:add_more_audio_tracks_to_a_video

ffmpeg - Audio - Add more audio tracks to a video

ffmpeg -i input.mp4 -i audio.mp3 -map 0 -map 1 -c copy output.mp4

NOTE: Using the -map flag means that you can specify which streams to keep.

  • -map 0 is input.mp4.
  • -map 1 is audio.mp3.
  • The streams of both inputs are copied together as -c copy means no re-encoding is done.
ffmpeg/audio/add_more_audio_tracks_to_a_video.txt · Last modified: 2023/11/02 20:03 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki