mpv scripts

This commit is contained in:
Tibeuleu
2025-11-22 22:31:21 +01:00
parent 883c4cabb0
commit 17b7ac323d
5 changed files with 1493 additions and 101 deletions

View File

@@ -73,7 +73,7 @@
# video outputs, but should work well with default settings on most systems.
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
# may or may not help.
hwdec=auto
# hwdec=auto
##################
# audio settings #
@@ -97,7 +97,7 @@ hwdec=auto
# other settings #
##################
#
screenshot-template="%F_%p-%#01n"
# screenshot-template="%F_%p-%#01n"
# automatically save the current playback position on quit
save-position-on-quit
@@ -109,11 +109,11 @@ save-position-on-quit
# cache settings
#
# Use a large seekable RAM cache even for local input.
#cache=yes
cache=yes
#
# Use extra large RAM cache (needs cache=yes to make it useful).
#demuxer-max-bytes=500M
#demuxer-max-back-bytes=100M
demuxer-max-bytes=1G
demuxer-max-back-bytes=500M
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
@@ -154,5 +154,6 @@ alang=fr,en
# Streaming #
#############
# Youtube Support
script-opts=ytdl_hook-ytdl_path=/home/t.barnouin/.local/bin/yt-dlp
ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!~='^(vp0?9|av0?1)']+bestaudio/best
script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
ytdl-raw-options-append="extractor-args=youtube:player-client=default,-tv_simply"
ytdl-format=bestvideo[height>=?720][height<=?1080][fps<=?60][vcodec!~='^(vp0?9|av0?1)']+bestaudio/best