aboutsummaryrefslogtreecommitdiff
path: root/.config/mpv
diff options
context:
space:
mode:
Diffstat (limited to '.config/mpv')
-rw-r--r--.config/mpv/input.conf9
-rw-r--r--.config/mpv/mpv.conf62
2 files changed, 71 insertions, 0 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf
new file mode 100644
index 0000000..20851f4
--- /dev/null
+++ b/.config/mpv/input.conf
@@ -0,0 +1,9 @@
+# Normalize audio.
+F1 af toggle "dynaudnorm=g=5:f=250:r=0.9:p=0.5"
+
+# seek commands
+l seek 5
+h seek -5
+j seek -60
+k seek 60
+S cycle sub
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
new file mode 100644
index 0000000..ecc566c
--- /dev/null
+++ b/.config/mpv/mpv.conf
@@ -0,0 +1,62 @@
+# PLAYER
+# ---
+# Use GPU-accelerated video output by default.
+vo=gpu
+# Enable best HW decoder, turn off software decoding.
+hwdec=auto
+# Keep the player open when a file's end is reached.
+keep-open=yes
+# Color log messages on the terminal.
+msg-color=yes
+# Prepend module name to log messages.
+msg-module=yes
+# Display progress bar on the terminal.
+term-osd-bar=yes
+# Autohide cursor after 1s.
+cursor-autohide=1000
+# Use large seekable RAM cache even for local input.
+#cache=yes
+#cache-secs=300
+# Use extra large RAM cache, needs "cache=yes" to make it useful.
+#demuxer-max-bytes=1800M
+#demuxer-max-back-bytes=1200M
+# Disabling of decoder framedrop during hr-seek.
+hr-seek-framedrop=no
+
+# AUDIO
+# ---
+volume=100
+volume-max=200
+
+# SCREENSHOT
+screenshot-format=png
+# screenshot-directory="~/pix/ss/mpv" # Output directory
+screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n"
+
+# SUBTITLES
+# ---
+# Detect all subtitles.
+sub-auto=all
+# External subs don't have to match file name exactly to autoload.
+sub-auto=fuzzy
+# Blend subtitles directly onto upscaled video frames.
+blend-subtitles=yes
+# Try to correctly show embedded subs when seeking.
+demuxer-mkv-subtitle-preroll=yes
+# Use embedded fonts for SSA/ASS subs.
+embeddedfonts=yes
+# Backward compatibility for vsfilter fansubs.
+sub-ass-use-video-data=all
+# Search for external subs in these relative subdirectories.
+sub-file-paths-append=ass
+sub-file-paths-append=srt
+sub-file-paths-append=sub
+sub-file-paths-append=subs
+sub-file-paths-append=subtitles
+
+# FILE-TYPE PROFILES
+# ---
+[extension.gif]
+cache=no
+loop-file=yes
+no-pause