How to Change the Buffer on VLC

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Experiment with the muxer cache size to find the right buffer setting.
Image Credit: Wavebreakmedia Ltd/Wavebreak Media/Getty Images

The VLC media player includes file cache and stream buffer options to enable fine-grained control over video playback on machines with limited system resources. If you use VLC to stream network video, you can set the buffer size on a per-stream or permanent basis. For local file playback, you can raise or lower the file cache size to limit the amount of memory VLC uses or the frequency with which it accesses the disk. For systems with low memory, a low cache setting makes more resources available to the operating system.

Advertisement

Permanently Change the Streaming Buffer

Video of the Day

Step 1

Click "Tools" and select "Preferences." In the lower left of the Preferences dialog, select the "All" button under "Show Settings" to display the advanced settings.

Advertisement

Video of the Day

Step 2

Select "Stream Output" from the sidebar menu. The setting that affects buffer size is labeled "Stream Output Muxer Caching."

Step 3

Enter a new amount in milliseconds in the Muxer Caching field. Since this setting requires a value in milliseconds, the amount of memory it uses varies with the streaming video's quality. If you have ample RAM but a slow network connection, a high setting such as 2,000 ms to 3,000 ms is safe. You may need to experiment to find the right setting for your machine.

Advertisement

Change the Buffer for Individual Streams

Step 1

Press "Ctrl-N" to open a new network stream, then enter a URL in the address field. VLC supports HTTP, FTP, MMS, UDP and RTSP protocols, and you must enter the full URL in the address field.

Advertisement

Step 2

Select "Show More Options" to display advanced settings for the current network stream. The Caching option controls the streaming buffer size.

Step 3

Enter an amount in milliseconds in the Caching field, then click "Play." Depending on the cache setting, the video may take a few seconds to start streaming.

Advertisement

Advertisement

Change the Buffer for Local Files

Step 1

Click "Tools" and select "Preferences." In the lower left of the Preferences dialog, select the "All" button under "Show Settings" to display the advanced settings.

Advertisement

Step 2

Select "Input / Codecs" from the sidebar menu, then scroll to the Advanced section in the Input / Codecs panel.

Step 3

Enter a new amount in the File Caching field. The default setting is 300 ms, which results in VLC accessing your disk three times per second. If video playback stutters on your machine, increasing this setting can make it smoother. However, depending on your RAM and CPU resources, you may need to experiment to find the right setting.

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...