[vlc-devel] [PATCH] input: add ES_OUT_FORCE_PACE_CONTROL request
yhuelf at gmail.com
Tue Oct 30 16:54:41 CET 2012
On Tue, Oct 30, 2012 at 4:16 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le mardi 30 octobre 2012 15:52:07, Frédéric Yhuel a écrit :
>> This is useful to avoid too heavy buffering when the input cannot have
>> its speed controlled. In practice, depth of decoders' FIFO would stay
>> below 10.
> To the contrary, that makes the problem worse.
> When the input cannot be paced, then the output has to follow the input rate.
> It's a feature, not a bug. Otherwise, either there will be constant underflow,
> or there will be overflow accumulating somewhere until that thing explodes or
> locks up.
Ok, the commit message is wrong.
I still think the patch can be useful is some particular cases, though.
When the input does have some sort of pace control, but would send a
bunch of samples to the decoder within a short period of time.
For example the input sends 3 seconds worth of samples to the decoder
within 10 ms, then again 3 seconds later, etc...
Does it make sense?
With my new Smooth Streaming module, the patch works well, with a low
bandwidth server, and with a local server as well.
More information about the vlc-devel