You can strip surplus audio tracks from an MP4 without losing any quality by remuxing the file with ffmpeg -c copy — no re-encoding of video or audio happens, so the operation is fast and lossless. If you omit explicit stream mapping, ffmpeg automatically keeps one video track and one audio track and discards the rest, which is often exactly what a drag-and-drop batch script needs.
Why your file is so large
Files downloaded from streaming pages frequently carry far more tracks than a viewer ever needs. Multi-bitrate delivery formats bundle several video renditions into a single package, and a file may also hold multiple audio tracks — different languages, surround and stereo variants, or descriptive audio. A tool like MediaInfo will reveal, for example, twelve AVC video streams and six AAC streams where you expected one video and one stereo track.
The size bloat comes from all of those extra tracks. When you remove the surplus ones and keep only a single video and a single audio stream, the output is routinely half the size of the original — and that is perfectly normal, not a sign of quality loss.
A common misconception: "AAC (lav)" is not a stream type
If you have used a graphical editor such as Avidemux, you may have seen an audio option labelled AAC (lav). This is not a way to identify an existing stream — it is the name of an encoder built on libavcodec. Selecting it means the audio is decoded and re-encoded, which is exactly what you want to avoid when you only need to drop tracks.
Likewise, ffmpeg's -map option cannot select streams by codec name. Something like -map a:AAC will not work, and it would be useless in any case when all six audio tracks use the same codec: there would be nothing to distinguish them.
The fix: remux with stream copy
The key flag is -c copy. It tells ffmpeg to copy the compressed video and audio packets straight into a new container rather than decoding and re-encoding them. The process is limited by disk speed, takes seconds instead of minutes, and the media quality is bit-for-bit identical to the source.
A drag-and-drop Windows batch script
Save the following as strip_streams.bat. Drag one or more .mp4 files onto it in Explorer:
@echo off
for %%F in (%*) do (
ffmpeg -i "%%~fF" -c copy -sn -dn -movflags +faststart "%%~dpnF_clean.mp4"
)
pause
How it works:
- No explicit
-map— ffmpeg's default stream selection keeps the video stream with the highest resolution and the audio stream with the most channels (resolving ties by picking the first), then drops everything else. That means you never need to hardcode stream numbers that vary between files. -c copy— remuxes the kept video and audio without re-encoding.-sn -dn— removes subtitle and data streams that could otherwise fail MP4 muxing.-movflags +faststart— repositions the MP4 index to the start of the file so playback and streaming begin immediately.
The output is written next to the input as filename_clean.mp4, so the original is never overwritten.
Selecting a specific track instead of the default
The automatic selection is convenient, but sometimes you need a particular track — for instance, a specific language rather than whichever one has the most channels. In that case, map explicitly. Note the capital V, which selects only genuine video streams and ignores attached cover-art thumbnails:
ffmpeg -i input.mp4 -map 0:V:0 -map 0:a:m:language:eng -c copy -movflags +faststart output.mp4
This keeps the first video stream and the audio stream tagged with the eng language metadata. To find the correct three-letter tag for your file, run ffprobe -hide_banner input.mp4 and read the language labels (for example deu, fra, or jpn), then substitute accordingly.
Checking the result
Verify the output with the same tools you used for diagnosis:
ffprobe -hide_banner output.mp4
You should see exactly one video stream and one audio stream, both with the original codec parameters unchanged. MediaInfo should likewise report a single track of each type, with the same profile and bitrate as the source. If the file still looks oversized, re-check MediaInfo — occasionally a large "moov" metadata section or embedded cover art accounts for the remainder, which the -movflags and default selection usually handle.
Frequently Asked Questions
Will removing audio tracks reduce video quality?
No. When you use -c copy, the video packets are transferred unchanged into the new container. Quality loss only occurs if you re-encode, which stream copying never does.
How do I know which audio stream to keep?
Run ffprobe -hide_banner file.mp4 and inspect the stream list. Each audio stream shows its codec, channel count, and language tag. If you want the track with the most channels, simply omit -map entirely and let ffmpeg's default selection pick it for you.
Why does the output file end up only half the size of the original?
Because the original contained many redundant tracks — several video renditions and multiple audio streams. Keeping one of each removes all of that overhead, so a large size reduction is expected and does not indicate anything was lost from the tracks you kept.
Can ffmpeg pick an audio stream by codec name, like "AAC"?
No. -map selects by stream index, type, or metadata such as language — not by codec name. When all audio tracks share the same codec, a codec filter would not identify a specific track anyway.
Does the batch script overwrite my original file?
No. It writes the result to a new file with the suffix _clean.mp4 in the same folder, leaving the source untouched. Delete the original manually once you have verified the copy.