From 242b26bb244eeccf088712d53d598818e27a643b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 4 Oct 2026 10:34:36 +0200 Subject: [PATCH] Added new version of mpv.conf --- .config/mpv/mpv.conf | 8 ++++++++ 1 file changed, 8 insertions(+) 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