first commit
This commit is contained in:
49
mpv/script-opts/mpv_thumbnail_script.conf
Normal file
49
mpv/script-opts/mpv_thumbnail_script.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
# Automatically generate the thumbnails on video load, without a keypress
|
||||
autogenerate=no
|
||||
|
||||
# 1 hour, Only automatically thumbnail videos shorter than this (seconds)
|
||||
autogenerate_max_duration=3600
|
||||
|
||||
# SHA1-sum filenames over this length
|
||||
# It's nice to know what files the thumbnails are (hence directory names)
|
||||
# but long URLs may approach filesystem limits.
|
||||
hash_filename_length=128
|
||||
|
||||
# Use mpv to generate thumbnail even if ffmpeg is found in PATH
|
||||
# ffmpeg does not handle ordered chapters (MKVs which rely on other MKVs)!
|
||||
# mpv is a bit slower, but has better support overall (eg. subtitles in the previews)
|
||||
prefer_mpv=yes
|
||||
|
||||
# Disable the built-in keybind ("T") to add your own
|
||||
disable_keybinds=no
|
||||
|
||||
# The thumbnail count target
|
||||
# (This will result in a thumbnail every ~10 seconds for a 25 minute video)
|
||||
thumbnail_count=150
|
||||
|
||||
# The above target count will be adjusted by the minimum and
|
||||
# maximum time difference between thumbnails.
|
||||
# The thumbnail_count will be used to calculate a target separation,
|
||||
# and min/max_delta will be used to constrict it.
|
||||
|
||||
# In other words, thumbnails will be:
|
||||
# at least min_delta seconds apart (limiting the amount)
|
||||
# at most max_delta seconds apart (raising the amount if needed)
|
||||
min_delta=5
|
||||
# 120 seconds aka 2 minutes will add more thumbnails when the video is over 5 hours!
|
||||
max_delta=90
|
||||
|
||||
|
||||
# Overrides for remote urls (you generally want less thumbnails!)
|
||||
# Thumbnailing network paths will be done with mpv
|
||||
|
||||
# Allow thumbnailing network paths (naive check for "://")
|
||||
thumbnail_network=no
|
||||
# Override thumbnail count, min/max delta
|
||||
remote_thumbnail_count=60
|
||||
remote_min_delta=15
|
||||
remote_max_delta=120
|
||||
|
||||
# Try to grab the raw stream and disable ytdl for the mpv subcalls
|
||||
# Much faster than passing the url to ytdl again, but may cause problems with some sites
|
||||
remote_direct_stream=yes
|
||||
Reference in New Issue
Block a user