[vlc-devel] Figured out streaming issues and why youtube works better than VLC player

Rémi Denis-Courmont remi at remlab.net
Mon Oct 18 08:42:43 CEST 2010

On Sun, 17 Oct 2010 22:53:57 -0700 (PDT), Tony Anecito
<adanecito at yahoo.com> wrote:
> 1. The youtube player appears to cache very quickly like maybe it changes
> the video request rate somehow so the user does not have to wait very
> But the replay is at the 1.0 rate. It is almost like having a FIFO buffer
> with a read rate for playback and a write into FIFO rate much higher if
> bandwidth permits it.

VLC does that too, although it probably has a smaller read-ahead buffer.
That's why recent VLC version have an explicit "Buffering" state.

> 2. The video is saved to disk for replay next time the player is invoked
> for that specific video via the internet or http.

I have never observed that behavior on YouTube. Are you sure it is not your
HTTP proxy rather than your hard drive?

> So my question is what setting do we need to get the same behavior where
> the video is cached (very quickly) ahead of the playback?

Just need to increase the size of the input stream buffer.

Rémi Denis-Courmont

More information about the vlc-devel mailing list