[streaming] TS Discontinuities

Dermot McGahon dermot at dspsrv.com
Tue Jun 21 13:06:13 CEST 2005


Hi,

I need to understand these a little better,

libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15)
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 6)
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 8)
libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4)

I'm streaming mpeg-2 ts/udp and on a channel change I get a few  
discontinuities,
but more worrying is that during streaming I sometimes get 10-20  
discontinuities
with artifacts resulting on screen.

Questions:

- It seems libdvbpsi expects CC of 0 when starting playback. What is the
   range of the CC's in the transport stream packets? How often does it
   loop back to 0? Is it based on the GOP?

- How should I read the above? VLC received CC 15, 0, 1, 2, 3, 4, 5, 7, 9?

- UDP packet size is 1316 (7 TS packets). Is this was due to a udp packet
   being lost wouldn't I see a gap of mod 7 in the discontinuities?

- Does UDP packet reordering come into play here?



Dermot.
--

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



More information about the streaming mailing list