question about the streaming buffer

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
yfwong
Blank Cone
Blank Cone
Posts: 18
Joined: 14 Dec 2006 03:56

question about the streaming buffer

Postby yfwong » 27 Mar 2008 03:55

While listening to a stream, can I check how many seconds of data is buffered up? Is it possible to set the buffer larger?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: question about the streaming buffer

Postby Jean-Baptiste Kempf » 27 Mar 2008 06:25

use all the *-caching options.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

yfwong
Blank Cone
Blank Cone
Posts: 18
Joined: 14 Dec 2006 03:56

Re: question about the streaming buffer

Postby yfwong » 27 Mar 2008 07:43

use all the *-caching options.
Thanks, the *-caching options can configure the buffer size.
And is it possible to check the buffering status while playing a stream?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: question about the streaming buffer

Postby Jean-Baptiste Kempf » 27 Mar 2008 07:45

No, VLC fills the buffer then plays and keep the buffer full.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

yfwong
Blank Cone
Blank Cone
Posts: 18
Joined: 14 Dec 2006 03:56

Re: question about the streaming buffer

Postby yfwong » 27 Mar 2008 08:20

It seems the latency to start playing increases with the cache size.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: question about the streaming buffer

Postby Jean-Baptiste Kempf » 27 Mar 2008 18:27

Yes. this is normal.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nvqthinh
New Cone
New Cone
Posts: 2
Joined: 28 Mar 2008 11:04

Re: question about the streaming buffer

Postby nvqthinh » 28 Mar 2008 11:12

Hi J-B,

How does VLC client keep the buffer full? In fact, what is the speed of buffering? Is it equal to the playback rate (all time) or it depends on the available throughput between the client and the server (I suppose to use UDP)?

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: question about the streaming buffer

Postby Jean-Baptiste Kempf » 28 Mar 2008 15:57

It does it at playback rate.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nvqthinh
New Cone
New Cone
Posts: 2
Joined: 28 Mar 2008 11:04

Re: question about the streaming buffer

Postby nvqthinh » 28 Mar 2008 17:47

So, what happen if the buffer is almost run out of media content due to variable network conditions for instance? At the begining, the playout starts when the buffer is filled. If the available throughput decreases below the playback rate, the media content in the buffer will decreased ( the buffer is not full now). My question is how the buffer can be full again after that? An accelerated data rate is needed or just the playout will be stoped/jumed?

Thanks for your explanation.

BR


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 24 guests