Page 1 of 1

Network caching and playback

Posted: 14 Aug 2012 15:47
by bunjee
Greetings VideoLAN community,

I'm using a french internet provider and my network stability is pretty low when playing a Youtube source.

I compared their flash player with VLC. I noticed videos are buffering more frequently when played from VLC. I thought this was due to the lack of precaching on the libVLC side.

Recently I tested higher values with the "network-caching" option. with 5000ms a 1080p source is watchable.

In my application I play / pause / seek a lot. The drawback with a high network-caching is the fact the VLC waits for the entire 5000ms to be loaded before playback.

Would it be possible to ask VLC to play as soon as possible and then enable a higher caching during playback. That would enable fast access and stable playback.

What's your thought on this ? Am I missing a point ?

Thanks.

B.A.

Re: Network caching and playback

Posted: 14 Aug 2012 17:23
by Rémi Denis-Courmont
network-caching does what it does. What you're asking for is precaching, and I think you answered your own question.

Re: Network caching and playback

Posted: 14 Aug 2012 21:15
by bunjee
Alright,

Thanks Rémi ♥ !