Files
myhome/.config/mpv/mpv.conf
T
2026-10-04 10:34:36 +02:00

39 lines
1.1 KiB
Plaintext

hwdec=auto-safe
# Fragmented MP4 recordings (streamlink/HLS dumps) carry no sidx or mfra box, so
# lavf walks every moof/mdat fragment to the end of the file before playback
# starts -- minutes of seeking over SMB for a multi-GB recording. Skip that scan;
# regular mp4/mkv keep their duration and stay seekable.
demuxer-lavf-o=fflags=+ignidx
# Restrict readahead and backbuffer to 40MiB from default of 400MiB
cache=yes
demuxer-max-bytes=2147483647
demuxer-max-back-bytes=2147483647
# Always allow seeking, e.g. allow seeking within a local cache of HTTP stream
force-seekable=yes
# Always open a video window even with no video
force-window=yes
# Don't exit when the end of playlist is reached
keep-open=yes
# Always save the current playback position on exit
save-position-on-quit=yes
# ontop=yes
# Geometry settings
geometry=50%:50%
autofit=50%
# Create 'high-quality' profile
[high-quality]
# Describe this profile
profile-desc="High quality rendering"
# Include all settings from the default 'opengl-hq' profile
profile=opengl-hq
# Disable debanding for better performance
deband=no