summaryrefslogtreecommitdiff
path: root/mac/.config/mpv/script-opts/blur_edges.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/mpv/script-opts/blur_edges.conf')
-rw-r--r--mac/.config/mpv/script-opts/blur_edges.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/mac/.config/mpv/script-opts/blur_edges.conf b/mac/.config/mpv/script-opts/blur_edges.conf
new file mode 100644
index 0000000..b69ce99
--- /dev/null
+++ b/mac/.config/mpv/script-opts/blur_edges.conf
@@ -0,0 +1,26 @@
+# whether the script is active by default
+active=yes
+
+# which black bars to replace with blur
+# can be "all", "horizontal" or "vertical"
+mode=all
+
+# intensity of the blur
+# see the ffmpeg filter doc https://ffmpeg.org/ffmpeg-filters.html#boxblur
+# tl;dr higher means blurrier
+blur_radius=10
+blur_power=10
+
+# the minimum size of the black bars for the effect to apply
+minimum_black_bar_size=3
+
+# if the aspect ratio of the video changes, we need to reapply the filter
+# since this can happen very quickly, wait a short delay before doing it
+reapply_delay=0.5
+
+# until recently, resuming files that had the script active would unselect the video
+# if your mpv version is more recent than feb 2 2018, you can set this to yes
+watch_later_fix=no
+
+# only apply the blur effect when mpv is set to fullscreen
+only_fullscreen=yes