sab (Shape Adaptive Blur)

Watch on

“sab” is “Shape Adaptive Blur” filter.

The official document does not say anything detailed and I could not find a descriptive explanation of this “Shape Adaptive Blur”. So I do not know about “What makes us happy?” of this filter. As inferred from the name, I expect that this filter will blur while keeping shape (edge), is it so?

In anyways, the usage of the “sab” (Shape Adaptive Blur) filter is very similar to “smartblur”. However, since the value range and meaning of the specified value are different, it is difficult to compare with “smartblur” given the similar value.

  • xxx_radius: blur filter strength.

  • xxx_strength: maximum difference between pixels to still be considered.

  • xxx_pre_filter_radius: pre-filter radius.

#! /bin/sh
ifnb="`basename \"${ifn}\" .mp4`"
pref="`basename $0 .sh`"

# luma radius: 0.1 ... 4
# luma strength
ffmpeg -y -i "${ifn}" -filter_complex "



" -map '[v]' -an "${pref}_${ifnb}.mp4"