[vlc-devel] [PATCH 1/2] transcode: add support for flush operations

Thomas Guillem thomas at gllm.fr
Mon Feb 15 12:07:31 UTC 2021



On Mon, Feb 15, 2021, at 12:49, Francois Cartegnie wrote:
> Le 15/02/2021 à 12:38, Alaric Senat a écrit :
> > Previously flushing the transcode stream was left unimplemented.
> > Flushing out the stream while transcoding makes sense especially to
> > support seeking operations.
> > 
> > While seeking in transcoding is far from being fully supported in vlc
> > this allows to at least change the starting time before transcoding a
> > media without major modifications to the input loop.
> 
> As I've mentioned before, there's no concept of flushing in a sout 
> chain. Only individual defined flush control is possible: Decoders, 
> packetizers. A generic flush has no meaning. What do I do when it hits, 
> for example, muxers ?

Why is sout_MuxFlush implemented then ?

> 
> Trying to solve an asynchronous random access discontinuity handling 
> issue with a synchronous command can't work without breaking the concept 
> of stream.

Have a look at

/* Postpone seeking until ES buffering is complete or at most
 * 125 ms. */

in input.c.

How do you sout with --start-time then?

> 
> -- 
> Francois Cartegnie
> VideoLAN - VLC Developer
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list