[vlc-devel] [sout developers] VLC streaming violation of MPEG-TS discontinuity flag
Francois Cartegnie
fcvlcdev at free.fr
Tue Oct 25 14:51:35 CEST 2016
Le 25/10/2016 à 14:28, Rémi Denis-Courmont a écrit :
>
> Discontinuity due to seeking is not the same as discontinuity due to silence
> in speech codec or due to packet loss. For instance, packetizers obviously
> handle the former and the later very differently.
- Discontinuity on seek.
I only see a flush requirement, which probably does not need to be done
indirectly through blocks.
- On silence and packet loss.
Decoders should behave the same. Silence is more or less SPU.
Output previous buffers, then use new timeline, tag first block output
from the new timeline with discontinuity.
The complexity being the delayed timeline reset/packetization of
remaining blocks. (usually related to block_Bytestream usage *)
* which does not currently seems currently properly used for frame
consolidation cases in packetizers (ex: mpegaudio/SEND_DATA:).
Francois
More information about the vlc-devel
mailing list