[vlc-devel] [PATCH 3/4] avformat mux: Mark keyframe blocks as such.
Luca Barbato
lu_zero at gentoo.org
Sun Aug 18 22:59:56 CEST 2013
On 18/08/13 20:49, Steinar H. Gunderson wrote:
> On Sun, Aug 18, 2013 at 08:47:28PM +0200, Luca Barbato wrote:
>> You are using tcp so worst case you'd have drop the connection or feed
>> another cluster.
>
> What do you mean by “feed another cluster”? Is this something along the lines
> of my option #2 (try to drop at cluster boundaries)?
>
>> If you set the size and time to be large enough you won't see many problems.
>
> Forgive my ignorance, but just what do these parameters actually mean?
Summary of what the patchset does:
- 1 -> clean up that messy code somehow
- 2 -> make so you have the buffering/clustering cut predictable
- 3 -> make sure you flush before you got a keyframe
This way you always know if the cluster you got has a keyframe since it
is the one next the one you got after feeding a keyframe packet to the
muxer.
The simplest way (lazy I know) to always get a cluster that the browser
can grock is simply set the time and size limit to a huge value so it is
always a keyframe one.
lu
More information about the vlc-devel
mailing list