summaryrefslogtreecommitdiff
path: root/ar/.config/mpv/script-opts/blur_edges.conf
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 05:47:29 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 05:47:29 +0900
commite465f7f06b290dbccdb499b024f39b22158c64bb (patch)
tree6b88fd07fa60b5b6145d301d0ff6539cc4c7b5c5 /ar/.config/mpv/script-opts/blur_edges.conf
parent692d838f6d84c207d08501b2db034294ae42a892 (diff)
updates
Diffstat (limited to 'ar/.config/mpv/script-opts/blur_edges.conf')
-rw-r--r--ar/.config/mpv/script-opts/blur_edges.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/ar/.config/mpv/script-opts/blur_edges.conf b/ar/.config/mpv/script-opts/blur_edges.conf
new file mode 100644
index 0000000..b69ce99
--- /dev/null
+++ b/ar/.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