A simple mpv script for manually blurring an area of a video.
Based on mpv-easycrop. Based on mpv-easycrop. Based on mpv-easycrop.
- will create a new file
Place easyblur.lua
in your ~/.mpv/scripts
or ~/.config/mpv/scripts
directory.
Install ffmpeg:
- via their website
- with chocolatey
choco install ffmpeg
Press c
to begin blurring. Click at one corner of the desired cropping
rectangle, and click a second time at the opposite corner.
ffmepg will then rename the original video with "_old" suffix and create a new video with the blur with the original name
If you wish to use a key other than c
to blur, the keybind easyblur
can be
changed in the lua script:
mp.add_key_binding("c", "easyblur", easyblur_activate)
Input:
Output:
GPLv3