I would like to configure VLC player to preload a significant portion (like a hundred megabytes or so) of a video file from the hard disk to RAM before playing it. Is this possible?

  • 1
    If computers worked as they ought to, we wouldn't have to do this...
    – Andrew
    Sep 15, 2018 at 2:12

1 Answer 1


Go to the dropdown Tools -> Preferences, then on the preferences menu make sure you have All selected on the bottom left corner of the screen.

From there select Input / Codecs from the left hand side and scroll all the way down to the bottom on the right hand side to get to the section called Advanced.

In there the option for File Caching sets how many milliseconds of video to buffer in RAM when the video source is a file.

enter image description here

  • 6
    Great! Thank you! This is right what I need. This has solved my problem with seeing squares when watching videos from a USB drive of mine. I have just put 10000 (10 seconds, as far as I understand) to all the fields and everything works perfect now.
    – Ivan
    Dec 4, 2013 at 0:01
  • 3
    Do you know what happens when it is set to 0? Does VLC cache as much as it can when the value is 0 or does it default to something else? Aug 1, 2018 at 1:30
  • @displayName I don't know what it will do. Go ahead and try and report back your findings. Aug 1, 2018 at 15:34
  • 2
    I was looking for the value that would maximize the buffering. After I set it to 0, the video didn’t pause ever to buffer but that isn’t a decisive way to say that setting to 0 maximizes the buffer. Aug 1, 2018 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.