Is there a way to set the default buffer for VLC?

9

1

I'm often playing videos from my external hard disk, and, well, it has issues. It'll often spin down and it often takes 5-10 seconds to spin back up in order to keep reading files. This is really terrible for video playback, as it'll often completely hang until the drive spins back up.

Is there a way that I can tell VLC to set a larger buffer to at least give me more buffer into the future so the drive will have time to spin up when the buffer runs out?

Naftuli Kay

Posted 2011-09-16T00:47:24.350

Reputation: 8 389

I've found Media Player Classic to be better at dealing with jittery playback – Matthew Lock – 2014-11-12T13:25:12.213

Good question! I'd always thought VLC is the best "video player" but seems like the best we have now is still not good enough – Pacerier – 2011-09-16T09:18:07.843

Answers

9

--file-caching seems to be what you're after. Do you start vlc from command line? Then you can add

alias vlc="vlc --file-caching=10000"

to your .bashrc.

Within the GUI you'll find the option at Tools->Preferences->Show settings: "All" -> Input/Codecs, and then scrolling down.

artistoex

Posted 2011-09-16T00:47:24.350

Reputation: 3 353

Awesome, thanks. Is there a way I can set it in the preferences within VLC so I can easily modify it? – Naftuli Kay – 2011-09-16T17:42:43.053

@TK see update on my answer – artistoex – 2011-09-16T19:40:26.773