FFmpegByExample is a documentation website to showcase all the unique and different ways to use FFmpeg.
Got a cool idea to share with the community? Send your contribution here!

Remove background noise from audio using the arnndn filter

ffmpeg -i input.mp4 -af 'arnndn=model=./arnndn-models/std.rnnn:mix=0.8' -c:a aac -b:a 320k -c:v copy output.mp4

All Examples

  • The following command generates a 10-second video (600 frames at 60 FPS) using an image (image.png) as the foreground and a black background while applying zoom and panning effects.
    tags: #zoompan
  • If you try to transcode footage from Canon EOS 5D Mark II, you will find that ffmpeg, left to its defaults, will produce image that is slightly color shifted and also darker, drowning the blacks.
    tags: #canon5d
  • When writing a simulation or similar application, you may sometimes want to record a video of something, with your program generating individual frames and ffmpeg assembling them into a whole.
    tags: #pipe