


In our example, if your file has 1 video track and two audio tracks, then you can use -map 0:a:1 to only select the second audio track and copy it to your final output.Īlso, -map 0 selects everything from the first input. So, you could select the 2nd audio track of the video by saying -map 0:a:1 because the numbering starts at 0. The general syntax of the map command is -map input_file_index:stream_type_specifier:stream_index. How to Remove a Specific Audio Track using FFmpegįor removing a specific audio track using FFmpeg, you can always use the map command. How do you remove a specific audio track using FFmpeg? But, what happens if you have three or four audio tracks and you want to remove only the second audio track? Now this works great if you have only one audio track in your movie.

-c:v copy copies the video track into videoWithoutAudio.mp4.ffmpeg.exe -i videoWithAudio.mp4 -c:v copy -an videoWithoutAudio.mp4 Here is the command line for achieving this. This is a simple technique because it does not involve the re-encoding of the video while you are at it.

The simplest way to remove or delete audio is to actually copy the video to a new file and discard the audio while doing this. This could be because of road-noise or background noise, etc. Many people want to know how to remove or delete the audio track from a video they’ve recorded. How to Remove Audio from Video using FFmpeg
