add this to mpv.conf
cache=yes
demuxer-max-bytes=5G
demuxer-max-back-bytes=5G