@spub_editor

Wind hammering the microphone. Copyright-risk background music. A screen recording with system beeps. Removing the audio track from a video is one flag in FFmpeg — and because you're deleting rather than re-encoding, it's instant and pixel-perfect.

The one command

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

- `-an` — "audio none": strips the audio stream from the output - `-c:v copy` — video bytes pass through untouched: no re-encode, no quality loss, runs in seconds even on 4K files

The result plays silent everywhere. This is the tool for every "how do I mute this clip" situation where you don't need the audio at all.

Three variants worth knowing

Keep the audio as a separate file instead of deleting it

Maybe you'll want it later (see our extract-audio guide) — do both in one pass:

```bash ffmpeg -i input.mp4 -an -c:v copy silent.mp4 -vn -c:a copy audio.m4a ```

Video to `silent.mp4`, audio stream to `audio.m4a`, original untouched as backup.

Mute only part of the timeline

Kill just the sensitive 30 seconds (a name, an address) while keeping the rest:

```bash ffmpeg -i input.mp4 -filter_complex \ "[0:a]volume=enable='between(t,45,75)':volume=0[a]" \ -map 0:v -map "[a]" -c:v copy -c:a aac out.mp4 ```

From second 45 to 75, audio volume drops to zero; everything else passes. Video still stream-copies (only audio re-encodes). For multiple gaps, chain `volume=` filters or use `volume=enable='between(t,10,20)+between(t,60,90)':volume=0`.

Replace rather than remove

Most "remove audio" requests are really "remove *this* audio" — swap in music or a voiceover instead with our add-music guide's replace recipe (`-map 0:v -map 1:a`). If you're re-voicing the clip anyway, that's the one-pass answer.

Why this beats re-importing into an editor

Dropping a clip into an editor to mute it means a full timeline export: a re-encode, a quality generation spent, and render time proportional to length. `-an -c:v copy` touches nothing — the silent file's video is byte-identical to the original. For batches:

```bash for f in *.mp4; do ffmpeg -i "$f" -an -c:v copy "muted_${f}"; done ```

An afternoon of clips processed in the time an editor spends on its splash screen.

The container caveat

Rare but real: `-c:v copy` into a different container (MP4 → WebM, say) fails when the codec doesn't belong there — see our formats guide. Same-container mutings never hit this; cross-container ones re-encode, or first remux to the target container.

The takeaway

`ffmpeg -i in.mp4 -an -c:v copy out.mp4` — instant, lossless, universal. Partial muting with `volume=enable='between(...)':volume=0`, extraction instead of deletion with a second output, replacement via the music guide when silence isn't the goal. Three flags cover the entire subject.

📹 Have a video or photos to share?
Upload to S.pub and get an instant share link — free, works everywhere, no watermarks.
Upload your video →
Comments 0

No comments yet