I have an mp4 video file with multiple audio tracks. I would like to strip away the rest of the tracks and keep just one. How do I do this?
How to remove an audio track from an mp4 video file
video editing
video editing
I have an mp4 video file with multiple audio tracks. I would like to strip away the rest of the tracks and keep just one. How do I do this?
Best Answer
First run
ffmpeg -i file.mp4
to see which streams exists in your file. You should see something like this:Then run
ffmpeg -i file.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy new_file.mp4
to copy video stream and 2nd audio stream tonew_file.mp4
.