Browser FFmpeg recipe

Denoise Video Online with FFmpeg

Create a cleaner-looking video with moderate denoising.

Command

Run this FFmpeg command

ffmpeg -i input.mp4 -vf nlmeans=s=3:p=7:r=15 -c:v libx264 -crf 23 -preset fast -c:a copy denoised.mp4

When to use it

  • grainy clips
  • low-light footage
  • cleanup tests

How it works

  1. Upload the noisy video.
  2. Adjust nlmeans strength if needed.
  3. Run FFmpeg and download the denoised output.

Option reference

OptionWhat it does
nlmeans=s=3Sets denoise strength.
p=7:r=15Controls patch and research window sizes.
-crf 23Uses balanced H.264 output quality.

Practical notes

  • Denoising is CPU-heavy and may be slow in the browser.
  • Too much denoise can soften detail.

FAQ

Will denoise remove all grain?

No. It reduces noise, but strong noise or compression artifacts may remain.

Why is this slow?

Denoise filters analyze neighboring pixels and cost more than simple conversion.