FFmpeg Blur video effect
A blur effect is used to increase the quality of certain type of noise in images (video frames), where each output pixel value is calculated from the neighboring pixel values. For instance, the blur effect can improve images scanned from a printed half-tone pictures. To blur an input video we can use a boxblur filter
For example to create a blur effect on the input video where luma radius value is 1.5 and luma power value is 1, we can use the next command:
ffmpeg -i input.mpg -vf boxblur=1.5:1 output.mp4
FFmpeg Sharpen video
The sharpen filter can be used as a common unsharp mask and a Gaussian blur. For example to sharpen the input with default values we can use the command
ffmpeg -i input -vf unsharp output.mp4
The output will be sharpen with a luma matrix of the size 5×5 and the luma effect strength of 1.0. To create a Gaussian blur effect, we can use a negative number for the luma and/or chroma value, for example
ffmpeg -i input -vf unsharp=6:6:-2 output.mp4
Noise reduction with denoise3d
For example to enhance the input with the default values of the denoise3d filter we can use the command
ffmpeg -i input.mpg -vf mp=denoise3d output.webm