aboutsummaryrefslogtreecommitdiff
path: root/files/.config/mpv/mpv.conf
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-09-02 00:50:13 +0500
committerAnton Bobov <anton@bobov.name>2023-09-03 20:19:45 +0500
commitf2489385f752b85e786565b8fa751b1838904324 (patch)
tree833b4fd464fca451493ae97c275ff0027df6369c /files/.config/mpv/mpv.conf
parent45176092a9788a6d798da30e8892b29fe4ef8678 (diff)
[mpv] Updates
Diffstat (limited to 'files/.config/mpv/mpv.conf')
-rw-r--r--files/.config/mpv/mpv.conf69
1 files changed, 49 insertions, 20 deletions
diff --git a/files/.config/mpv/mpv.conf b/files/.config/mpv/mpv.conf
index ea97994..8bed5a8 100644
--- a/files/.config/mpv/mpv.conf
+++ b/files/.config/mpv/mpv.conf
@@ -1,35 +1,50 @@
-osc=no
-osd-bar=no
-
-# Speed up playback by the factor
-speed=1.33
+#
+# GENERAL
+#
-# Create a video output window even if there is no video
-force-window=immediate
+keep-open=yes
+autofit-larger=70%x70% # Don't create window larger than 70 %
+autofit-smaller=30%x30% # Don't create window smaller than 30%
+no-terminal # Disable any use of the terminal and stdin/stdout/stderr
-# Always save the current playback position on quit
-save-position-on-quit
+save-position-on-quit # Always save the current playback position on quit
+watch-later-options-remove=fullscreen
+watch-later-options-remove=volume
+watch-later-options-remove=mute
ignore-path-in-watch-later-config
-# Disable any use of the terminal and stdin/stdout/stderr
-no-terminal
-
-# Enable any whitelisted hardware video decoding API
-hwdec=auto-safe
+screenshot-format=png
+screenshot-high-bit-depth=yes
+screenshot-png-compression=0
+screenshot-directory=~/Documents/mpv-screenshots
+screenshot-template=mpv-shot-%F-%{media-title}-%p-%n
+hwdec=auto-safe # Enable any whitelisted hardware video decoding API
interpolation=yes
video-sync=display-resample
-# 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
+# OSD/OSC
+#
+
+osc=no
+osd-bar=no
-# Cache size
-demuxer-max-bytes=500M
+#
+# PLAYBACK
+#
+
+speed=1.33 # Speed up playback by the factor
+volume-max=100
+image-display-duration=inf # If the current file is an image, kept open forever
+
+demuxer-max-bytes=500M # Cache size
demuxer-max-back-bytes=100M
+#
+# STREAMING
+#
+
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
ytdl-raw-options=sponsorblock-mark=all
@@ -43,6 +58,20 @@ af=lavfi=[loudnorm]
[audio]
speed=1
+[streams]
+profile-cond=path:match('/streams/') ~= nil
+profile-restore=copy
+cache=no
+
+[protocol.https]
+force-window=immediate # Create a video output window even if there is no video
+
+[protocol.http]
+force-window=immediate # Create a video output window even if there is no video
+
+[protocol.ytdl]
+profile=protocol.https
+
#
# EXTENSIONS
#