From e465f7f06b290dbccdb499b024f39b22158c64bb Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 2 Feb 2025 05:47:29 +0900 Subject: updates --- ar/.config/mpv/script-opts/blur_edges.conf | 26 +++++++++++++++++++++++++ ar/.config/mpv/script-opts/gallery_worker.conf | 18 +++++++++++++++++ ar/.config/mpv/script-opts/mpv_crop_script.conf | 4 ++++ 3 files changed, 48 insertions(+) create mode 100644 ar/.config/mpv/script-opts/blur_edges.conf create mode 100644 ar/.config/mpv/script-opts/gallery_worker.conf create mode 100644 ar/.config/mpv/script-opts/mpv_crop_script.conf (limited to 'ar/.config/mpv/script-opts') 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 diff --git a/ar/.config/mpv/script-opts/gallery_worker.conf b/ar/.config/mpv/script-opts/gallery_worker.conf new file mode 100644 index 0000000..d56ab00 --- /dev/null +++ b/ar/.config/mpv/script-opts/gallery_worker.conf @@ -0,0 +1,18 @@ +# mpv-gallery-view | https://github.com/occivink/mpv-gallery-view +# This is the settings file for scripts/gallery-thumbgen.lua and its copies +# File placement: script-opts/gallery_worker.conf +# Defaults: https://github.com/occivink/mpv-gallery-view/blob/master/script-opts/gallery_worker.conf + +# accepts a |-separated list of URL patterns which gallery.lua should thumbnail using youtube-dl. +# The patterns are matched after the http(s):// part of the URL. +#^ matches the beginning of the URL, $ matches its end, and you should use % before any of the characters ^$()%|,.[]*+-? to match that character. +# +#Examples +# will exclude any URL that starts with http://youtube.com or https://youtube.com: +# ytdl_exclude=^youtube%.com +# will exclude any URL that ends with .mkv or .mp4: +# ytdl_exclude=%.mkv$|%.mp4$ +# See more lua patterns here: https://www.lua.org/manual/5.1/manual.html#5.4.1 +# +#See also: ytdl_hook-exclude in mpv's manpage. +ytdl_exclude= diff --git a/ar/.config/mpv/script-opts/mpv_crop_script.conf b/ar/.config/mpv/script-opts/mpv_crop_script.conf new file mode 100644 index 0000000..1c9abb2 --- /dev/null +++ b/ar/.config/mpv/script-opts/mpv_crop_script.conf @@ -0,0 +1,4 @@ +output_template=~/Pictures/screenshots/mpv_${filename} ${#pos:%02h.%02m.%06.3s} ${!full:${crop_w}x${crop_h} ${%unique:%03d}}.png +create_directories=yes +keep_original=no +disable_keybind=yes -- cgit v1.2.3