53

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
  • 1
    If computers worked as they ought to, we wouldn't have to do this...
    – Andrew
    Commented Sep 15, 2018 at 2:12

1 Answer 1

68

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

5
  • 7
    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
    Commented 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? Commented Aug 1, 2018 at 1:30
  • @displayName I don't know what it will do. Go ahead and try and report back your findings. Commented Aug 1, 2018 at 15:34
  • 3
    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. Commented Aug 1, 2018 at 15:36
  • Using 0 seemed to perform the best out of the buffering options for me.
    – Jeff Chen
    Commented Nov 2, 2022 at 19:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .