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

Francois Cartegnie fcvlcdev at free.fr
Mon Feb 15 11:49:55 UTC 2021

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 ?

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

Francois Cartegnie
VideoLAN - VLC Developer

More information about the vlc-devel mailing list