User Tools

Site Tools


ffmpeg:audio:adding_more_audio_tracks_to_a_video

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ffmpeg:audio:adding_more_audio_tracks_to_a_video [2023/11/02 20:02] – created peterffmpeg:audio:adding_more_audio_tracks_to_a_video [2023/11/02 20:03] (current) – removed peter
Line 1: Line 1:
-====== ffmpeg - Audio - Adding more audio tracks to a video ====== 
- 
-<code bash> 
-ffmpeg -i input.mp4 -i audio.mp3 -map 0 -map 1 -c copy output.mp4 
-</code> 
- 
-<WRAP info> 
-**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. 
- 
-</WRAP> 
  
ffmpeg/audio/adding_more_audio_tracks_to_a_video.1698955335.txt.gz · Last modified: 2023/11/02 20:02 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki