# boxblur¶

doc
• xxx_radius: an expression for the box radius in pixels used for blurring the corresponding input plane.

• xxx_power: how many times the boxblur filter is applied to the corresponding plane.

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

# luma radius: 0 ... 250
# luma power
luma_radius=${luma_radius:-2} luma_power=${luma_power:-4}
#
ffmpeg -y -i "${ifn}" -filter_complex " [0:v]split[0v1][0v2]; [0v1]crop=900:500:30:580,setsar=1, boxblur='lr=${luma_radius}:lp=${luma_power}' ,drawbox=c=blue[b]; [0v2][b]overlay=30:580[v] " -map '[v]' -an "${pref}_\${ifnb}.mp4"


You can specify an expression as value, but if what you need is someshat interesting visual effect, it will make you disappoint. Due to the lack of usable constants, we can only write to not depend on the size of the input video at best.
{"ft_lang_label":"__label__en","ft_lang_prob":0.5612811,"math_prob":0.8612291,"size":874,"snap":"2022-27-2022-33","text_gpt3_token_len":276,"char_repetition_ratio":0.109195404,"word_repetition_ratio":0.0,"special_character_ratio":0.32608697,"punctuation_ratio":0.17877094,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9641734,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-06T20:30:10Z\",\"WARC-Record-ID\":\"<urn:uuid:7812d9ea-67f6-489c-9e5f-ea555d6ac4be>\",\"Content-Length\":\"9335\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:3455a525-3274-4cdd-b53a-d4e837ea8b15>\",\"WARC-Concurrent-To\":\"<urn:uuid:6052a2cf-801d-4c23-9449-a0494216989d>\",\"WARC-IP-Address\":\"18.205.93.10\",\"WARC-Target-URI\":\"https://hhsprings.bitbucket.io/docs/programming/examples/ffmpeg/blurring_unsharping/boxblur.html\",\"WARC-Payload-Digest\":\"sha1:DX6G62DEARH46DCJAH4C7XUYK6EUPNQ2\",\"WARC-Block-Digest\":\"sha1:YTWS7DIZJGDWOMZXO4ATZTUVVKP3S3CG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104676086.90_warc_CC-MAIN-20220706182237-20220706212237-00273.warc.gz\"}"}