[vlc-devel] Re: message erro: TS discontinuity

Måns Rullgård mru at inprovide.com
Sun Feb 26 00:41:34 CET 2006


Derzu <derzuomaia at yahoo.com.br> writes:

> Hi all, I'm developing a program that receive a TS
>  stream (video/audio), and i'm adding to the PMT a PID
>  for a data information that is being inserting at the
>  stream. When I play the result stream it plays at VLC
>  but this message error appears n times:
>
>  libdvbpsi error (PSI decoder): TS discontinuity
>  (received 0, expected 1)
>
>  What means TS discontinuity? is it related with the
>  Continuity Counter ??
>  What means (received 0, expected 1) Is it also the
>  Continuity Counter ??
>  I'm setting the Continuity Counter of the PMT to 0x0,
>  but this error appears, when I change the Continuity
>  Counter to 0x1 the error message that appears is:
>  libdvbpsi error (PSI decoder): TS discontinuity
>  (received 1, expected 2)

The continuity counter should be increased by one for each packet,
wrapping to zero at 15 (it's only 4 bits).

-- 
Måns Rullgård
mru at inprovide.com

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list