How to Use FFmpeg Smartblur for Skin Smoothing

Achieving a professional skin-smoothing effect in video post-production requires softening skin textures while keeping facial features like eyes, lips, and hair sharp. This article explains how to use the FFmpeg smartblur filter to achieve this balance, detailing its core parameters—radius, strength, and threshold—and providing practical command-line examples to get optimal results.

Understanding the Smartblur Filter

The smartblur filter works by applying a blur to the video, but it selectively excludes areas with high contrast. This makes it highly effective for skin smoothing, as it blurs the low-contrast surfaces of the skin (pores, minor blemishes) while preserving high-contrast edge details (eyes, eyebrows, and facial outlines).

The basic syntax for the filter is:

smartblur=luma_radius:luma_strength:luma_threshold

You can also control chroma (color) channels using additional parameters, but focusing on the luma (brightness) channel is usually sufficient for skin smoothing:

Practical FFmpeg Command

To apply skin smoothing to a video, run the following FFmpeg command:

ffmpeg -i input.mp4 -vf "smartblur=lr=1.5:ls=0.8:lt=4" -c:a copy output.mp4

Parameter Breakdown for Skin Smoothing

Fine-Tuning the Results

If the output does not look right, adjust the parameters using these guidelines: