Skip to content

How to increase video caching in VLC

I have some issues with unidentified software unreasonably trashing my hard drive on random occasions. Could be Copernic or other indexing things, yet whatever it is doesn’t show up in the task manager as a big disk I/O consumer (on a side note, Firefox does MASSIVE reads and writes: after only about 3 hours of moderate use, the task manager reports more than 10GB of reads and 1GB of writes, all this with disk caching disabled).

Anyway, those undesired disk accesses make VLC lag when playing videos. The 2 solutions I found first were to either copy the files to my SSD, or to a RAM disk. But that’s not very convenient, plus copying files to the SSD wears it down, and the RAM disk has very limited capacity since I already use it for other purposes.

Eventually, after playing a few livestreams and noticing a caching setting for them, I thought about increasing the video caching in VLC for files loaded from the disk. The only problem left was that VLC settings are a total, ever-changing mess. I found a first clue here, but the setting is no longer at the indicated location. I searched around, and around, everywhere, and finally found it. It is now directly under the Input/Codecs section, at the top of the very bottom section (Advanced). Of course, you need to switch to advanced settings (the toggle is at the bottom-left). Screenshot below:
VLC settings for file caching

As you’ll notice, the default value is 300 ms. I increased it to 5000, so 5 seconds. The only drawback of increasing it too much is that it can make starting the video (at the beginning but also on seeking) a bit slower if the bitrate is very high, but since I mainly use low bitrates it’s not an issue for me.

Posted in multimedia, VLC.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA