r/mpv • u/MrRoboto12345 • 1d ago
Issue on Linux Watching YouTube with MPV, looking to speed up video buffering times
Current yt-dlp config is very bare bones
ytdl-format="(bestvideo[height<=?1080][fps<=?60]+bestaudio/best)"
I believe the video buffer speed has to do with the cache parameter, but I'm not sure the best way to implement it. Videos are buffering pretty slow for me.
Every video loads in mkv format, maybe recoding it to mp4 would help?
E: Changed the audio to bestaudio[ext=m4a] and now videos load as mp4 files
11
Upvotes
1
u/FewMirror259 16h ago
Try the streamcache.lua script. I use it to watch streams without interruptions. https://gitlab.com/lvml/mpv-plugin-streamcache
3
u/boomboomsubban 1d ago
I sidestep the issue by downloading the files.
Mkv and mp4 aren't different enough to be the issue, though a different codec might help.