aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2021-04-21 22:18:58 +0500
committerAnton Bobov <abobov@gmail.com>2021-04-21 22:18:58 +0500
commitbd18958d188411ca1bdd97418c82dc746c1d91c2 (patch)
tree8da0ea03bd4ab566e04d10749396ca0c8b23fb70
parent1f0ace5cb8cfcd1f4316d59681e2bc61c283f39c (diff)
Update mpv config.
Enable hw acceleration.
-rw-r--r--files/.mpv/mpv.conf15
1 files changed, 14 insertions, 1 deletions
diff --git a/files/.mpv/mpv.conf b/files/.mpv/mpv.conf
index 38fb1f7..c926cd7 100644
--- a/files/.mpv/mpv.conf
+++ b/files/.mpv/mpv.conf
@@ -1,9 +1,22 @@
-stop-screensaver=yes
+# Speed up playback by the factor
speed=1.33
+
+# Create a video output window even if there is no video
force-window=immediate
+
+# Always save the current playback position on quit
save-position-on-quit
+
+# Disable any use of the terminal and stdin/stdout/stderr
no-terminal
+# Enable any whitelisted hardware video decoding API
+hwdec=auto-safe
+
+# If the current file is an image, kept open forever
+image-display-duration=inf
+
+#
screenshot-template=mpv-shot-%F-%{media-title}-%p-%n
screenshot-directory=~/mpv-screenshots