If you record tutorials, developer demos, interviews, or talking-head videos at a desk, you eventually run into the same frustrating problem: the screen capture or camera footage looks sharp, but the microphone picked up a laptop fan, air-conditioner hum, keyboard clicks, or traffic outside.
The instinctive fix is to drop the clip into a full video editor, apply a noise-reduction filter, and export the whole timeline again. That works, but it has two real drawbacks:
afftdn, static noise gates)
Below is the cleaner workflow I use to isolate speech noise in recorded videos—first with an open-source local pipeline (ffprobe + ffmpeg + DeepFilterNet3), and then when it makes more sense to run a browser-based comparison before committing to a full export.
Before you extract or replace audio, inspect the container with ffprobe. The goal is to check whether the video stream is already browser-friendly H.264 (avc1) so you can stream-copy the picture later instead of re-encoding it.
ffprobe -v error -select_streams v:0 \
-show_entries stream=codec_name,width,height,r_frame_rate \
-of default=noprint_wrappers=1 input.mp4
Also inspect the audio stream:
ffprobe -v error -select_streams a:0 \
-show_entries stream=codec_name,sample_rate,channels,bit_rate \
-of default=noprint_wrappers=1 input.mp4
If the video codec is h264, you can leave every video frame byte-for-byte identical when you mux the cleaned audio back in.
FFmpeg ships with afftdn (FFT-based noise reduction) and highpass / lowpass filters. For a constant 60 Hz electrical hum or gentle room hiss, a quick pass can help:
ffmpeg -i input.mp4 -vn -af "highpass=f=80,afftdn=nf=-25" cleaned_afftdn.wav
In practice, though, recorded speech rarely has purely stationary noise. Mechanical keyboard clicks, street traffic, distant voices, and chair creaks shift across frequencies every few hundred milliseconds. Pushing afftdn hard enough to silence those transients usually thins out consonants (s, t, f) and leaves a bubbling underwater artifact behind the voice.
Modern neural speech-enhancement models operate directly on speech patterns rather than subtracting a static noise floor. DeepFilterNet3 is one of the strongest lightweight open-source options: it runs on CPU at 48 kHz and handles laptop fans, HVAC hum, and moderate room noise surprisingly well.
First, extract the audio track as 48 kHz WAV:
ffmpeg -i input.mp4 -vn -ar 48000 -ac 1 -c:a pcm_s16le raw_48k.wav
Then run DeepFilterNet3 with an attenuation cap (capping attenuation around 30 dB prevents unnatural dead-silence pumping between words):
deepFilter --atten-lim-db 30 raw_48k.wav -o ./cleaned/
Two practical tips when testing neural denoisers locally:
Once you are happy with the cleaned WAV file, combine it with the original video stream using -c:v copy so FFmpeg skips video encoding completely:
ffmpeg -i input.mp4 -i ./cleaned/raw_48k.wav \
-map 0:v:0 -map 1:a:0 \
-c:v copy -c:a aac -b:a 192k \
-movflags +faststart \
output_clean.mp4
Why this matters:
-movflags +faststart puts the moov atom at the beginning of the file for instant web playback.
(If your source clip uses an incompatible video codec for MP4 playback, drop -c:v copy and transcode to H.264 while preserving the original resolution.)
DeepFilterNet3 is fast and effective for steady background noise—fans, air conditioners, light street rumble, and mic hiss. Where lightweight denoisers hit their ceiling is heavy non-stationary interference: loud outdoor wind gusts, crowded cafes, or strong room echo combined with distant microphone placement.
In those harder clips, heavier speech-restoration models do a noticeably better job recovering voice clarity, though they require GPU inference and cost more to run. Before spending time or money processing a 45-minute recording through a heavy model, always run an A/B comparison on the same 30-second segment to verify whether the heavier model actually beats a lightweight pass on your microphone.
If you do not want to install Rust/Python toolchains or juggle temporary WAV files on a tight deadline, we packaged this exact two-tier workflow into a web tool so you can remove background noise from video online directly from MP4, MOV, or WEBM files (and MP3, WAV, or M4A for audio-only clips).
Here is how the workflow maps to the steps above:
Whether you run the local ffmpeg + DeepFilterNet3 commands above or use a browser background noise remover for one-off clips, the two rules that save the most time stay the same: never re-encode a compatible video track just to fix its audio, and always judge noise reduction on headphones at matched volume before exporting the full recording.