The inverse of audio extraction: drop the audio stream, keep the video. Useful for silent reels, GIFs converted to MP4, and any time you have a video with audio you do not want. With stream copy, the video is preserved exactly.

The command

ffmpeg -i input.mp4 -an -c:v copy output.mp4

What it does

The -an flag drops the audio stream entirely; -c:v copy copies the video packets without re-encoding. The output is the same video without audio, in the same container. The encode is lossless and instant.

When to use it

For preparing a silent version of a video for social media where you want a separate audio track overlaid, for trimming a video to a silent clip for a slideshow, or for stripping audio before adding a replacement. The copy is the right tool when the video is already in the format you want.

Video and audio requirements

Any video. The output is video-only. If the source has multiple audio tracks, all are dropped. If the source has subtitles, they are kept; add -sn to drop them too.

Things to avoid

  • Forgetting -c:v copy. Without it, FFmpeg re-encodes the video, which costs time and degrades quality. The command is supposed to be lossless.
  • Using this for a video that is video-only. If the source has no audio, the command is a no-op; you are re-encoding the video for no reason. Probe the source first.
  • Expecting the output to be smaller. Audio is typically 5 to 15% of a video's bitrate; removing it reduces the file by 5 to 15%, not by a lot. For real size reduction, re-encode the video with a higher CRF or a different codec.
  • Forgetting that some containers require at least one stream. Most modern containers accept video-only; if you see a muxer error, try a different container (MP4 works, MKV works, WebM works).