GstRtspSink - VLC - Modify Streaming Buffer

From RidgeRun Developer Connection
Jump to: navigation, search

The VLC player does a ~1 seconds buffering, which results in a visible delay. This wiki shows two different methods to change the VLC player buffer.

Changing the buffer for a particular stream

This method changes the buffer for each particular stream, this means that this setting change will reset after each stream.


To change the buffer with this method follow the next steps:

1. Open the VLC player and click on Media, located at the top right corner of the top bar.

2. In the dropdown menu, click on Open Network Stream...

3. In the Open Media window, in the caching box, change the Caching value to a lower number that the one displayed. For example, changing the Caching value to 300 will buffer for 0.3 seconds (since the Caching value is set in milliseconds).


Error creating thumbnail: Unable to save thumbnail to destination

Changing the buffer permanently

This method changes the buffer permanently, meaning that the setting will not be reset after each stream.


To change the buffer with this method follow the next steps:

1. Open the VLC player and click on Tools, located in the top bar.

2. At the bottom left of the Settings window that appears, click on the All bullet.


Error creating thumbnail: Unable to save thumbnail to destination


3. In the Advanced Preferences windows that appears, scroll down to Stream Output.

4. Change the value of the Stream output muxer output field to a lower number than the one displayed. For example, changing the Caching value to 300 will buffer for 0.3 seconds (since the Caching value is set in milliseconds).


Error creating thumbnail: Unable to save thumbnail to destination