[streaming] How to control buffer size (or time) for VLC?

Xiaolin Cheng xiaolin.cheng at gmail.com
Thu Aug 30 07:12:43 CEST 2007


Sorry I am back for this old question.

If I am receiving a stream as well as storing it at the client, what option 
am I supposed to use to adjust the buffering size, file-caching or 
udp-caching or both?

Thanks.


----- Original Message ----- 
From: "Chhaya, Harshal" <hchhaya at ti.com>
To: "Xiaolin Cheng" <xiaolin.cheng at gmail.com>; <streaming at videolan.org>
Sent: Sunday, August 19, 2007 6:59 PM
Subject: RE: [streaming] How to control buffer size (or time) for VLC?




> I am setting up a streaming server and sending a mpeg4 stream to a
> VLC receiver. Is there any mechanism with which I can control the
> buffer management at the client side? In other words, how does the
> VLC (player) implement the buffering mechanism?

> I am working on wireless video. Your help is really appreciated.


Hi Xiaolin,

According to:
http://www.videolan.org/doc/play-howto/en/ch03.html

     If you get some stuttering during playback, you can try to increase

     the size of the read buffer. This can be done in the Open Network
     Stream dialog box, by selecting the Caching box. You can then
choose
     the amount time (in milliseconds) VLC should store data in its
buffer
     before starting playback.


An earlier email from Jean-Paul Saman had this bit of info:

     Just use the modules caching option. For input DV you need
     --dv-caching=<value> for file input --file-caching=<value>,
     for UDP input --udp-caching=<value>, etc.

     On the stream output chain it is the same. For UDP out adjust
     --sout-udp-caching=<value>


Does that help?

Regards,
- Harshal 




More information about the streaming mailing list