[vlc-devel] [PATCH 3/4] avformat mux: Mark keyframe blocks as such.

Luca Barbato lu_zero at gentoo.org
Sun Aug 18 20:47:28 CEST 2013


On 18/08/13 19:51, Steinar H. Gunderson wrote:
> A related question: Is there any way to mux a stream such that it is possible
> to drop blocks in a reasonable fashion? The use case is that the client can
> fall behind due to imperfect network conditions (or pause, for that matter),
> and the server doesn't have an infinite backlog and thus has to drop data.

You are using tcp so worst case you'd have drop the connection or feed
another cluster.

You are about to get into the lands of the segmented formats.

The current segment muxer in Libav originates from my early try to bake
something like hls but using webm and some lines of javascript, never
advertised it a lot since it was just an experiment though.

If you set the size and time to be large enough you won't see many problems.

lu



More information about the vlc-devel mailing list