diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 24941c6..1e703e0 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,3 +1,11 @@ +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