DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far...

Welcome! This is a Q&A website for computer programmers and users alike, focused on helping fellow programmers and users. Read more

What are you stuck on? Ask a question and hopefully somebody will be able to help you out!
0 votes

I'm streaming from youtube and it keeps stuttering. I've checked my PC and it's not it because I can play local videos just fine. It's the connection. When the stream begins I have "10 seconds" of cache, and it takes more than 10 seconds to load the next 10 (that explains the stutter). Watching youtube in the browser, no problem. With mpv, the connection is so slow.
Can I increase the buffer to a minute maybe? Maybe it will stutter less.


1 Answer

0 votes
Best answer

You can control it with the --cache options. Search for the Cache section in the manual. For example:

        Set  the  size  of  the cache in kilobytes
        Playback will start when the cache has been filled up with this many kilobytes of data
        How many seconds of audio/video to prefetch if the cache is active
selected by
Contributions licensed under CC0