summaryrefslogtreecommitdiffstatshomepage
path: root/mpv
diff options
context:
space:
mode:
Diffstat (limited to 'mpv')
-rwxr-xr-xmpv/.config/mpv/mpv.conf42
-rw-r--r--mpv/.config/yt-dlp/config8
2 files changed, 27 insertions, 23 deletions
diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf
index 08d9d63..38b3582 100755
--- a/mpv/.config/mpv/mpv.conf
+++ b/mpv/.config/mpv/mpv.conf
@@ -2,10 +2,6 @@
profile=gpu-hq
profile-restore=copy-equal
-# Hardware
-hwdec=auto-copy
-# vo=gpu
-
# Smoother video
interpolation
tscale=oversample
@@ -14,13 +10,14 @@ tscale=oversample
audio-spdif=ac3,eac3,dts-hd,truehd
# Window
-save-position-on-quit=yes
border=no
+force-window=yes
+snap-window
# Terminal
-msg-color=yes # color log messages on terminal
-term-osd-bar=yes # displays a progress bar on the terminal
-cursor-autohide=1000 # autohides the cursor after 1s
+msg-color=yes
+term-osd-bar=yes
+cursor-autohide=1000
# Caching
cache=yes
@@ -29,20 +26,25 @@ demuxer-max-back-bytes=1200M
# Audio
volume=60
+audio-pitch-correction=yes
-# Subtitles
-sub-font-size=16
-sub-align-x=center
-sub-align-y=bottom
+# Lang
+slang=eng,en,enUS,en-US
+alang=jpn,jp,eng,en,enUS,en-US
-# Scripts
-script-opts=ytdl_hook-ytdl_path=yt-dlp
+# Subtitles
+demuxer-mkv-subtitle-preroll
+sub-auto=fuzzy
+sub-file-paths=ass:srt:sub:subs:subtitles
+embeddedfonts=yes
+sub-font-size=18
+
+# Playback
+script-opts=ytdl_hook-try_ytdl_first=yes
+save-position-on-quit=yes
-[twitch]
-profile-cond=get("media-title", ""):find("twitch.tv/[^ /]+") ~= nil
+[stream]
+profile-cond=get("media-title", ""):find("twitch.tv/[^ /]+") ~= nil or string.match(p.filename, "%.m3u8$") ~= nil
profile-restore=copy-equal
-force-seekable=yes
-hr-seek=yes
-hr-seek-framedrop=yes
demuxer-max-bytes=750k
-demuxer-max-back-bytes=1200M
+no-taskbar-progress
diff --git a/mpv/.config/yt-dlp/config b/mpv/.config/yt-dlp/config
index af66902..6d9ee04 100644
--- a/mpv/.config/yt-dlp/config
+++ b/mpv/.config/yt-dlp/config
@@ -1,8 +1,10 @@
---downloader=aria2c
--downloader-args="aria2c:-x 16 -k 1M"
+--yes-playlist
+
--cookies-from-browser=firefox
--mark-watched
---yes-playlist
+--sponsorblock-mark=all
+
+--sub-langs="en,live_chat"
--write-subs
--write-auto-subs
---sub-langs="en,en.*,live_chat"