Detect errors in TS/IP live streams

Live TS/IP streams received over IP can contain errors. In TS streams packets contain a continuity counter which is a number which is incremented for every packet. The receiver can evaluate this number to detect missing packets or to find out if packets are received in incorrect order.

FAB Subtitler will display errors in the application log if countinity counter errors are detected during reception of live TS/IP streams. The error message will be similar to:

2021-06-15|16:28:57:496|WA|T16:28:57:11R 6 Continuity counter errors were detected in the last 5 seconds in received stream udp://239.255.80.6:1234

An easy way to detect if live TS/IP streams actually contain continuity counter errors is to use the freely available open source program TSDuck which can be downloaded from https://tsduck.io and can be used to analyze problems in SRT/UDP/RTP connections.

The following command line can be used to use TSDuck to analyze a UDP stream:

"c:\Program Files\TSDuck\bin\tsp.exe" --verbose -I ip 239.255.80.6:1234 -P until --seconds 60 -P analyze --error-analysis --wide-display -O drop

The following command line can be used to use TSDuck to analyze a RTP stream:

"c:\Program Files\TSDuck\bin\tsp.exe" --verbose -I ip -r 239.255.80.6:1234 -P until --seconds 60 -P analyze --error-analysis --wide-display -O drop

The following command line can be used to use TSDuck to analyze a SRT stream:

"c:\Program Files\TSDuck\bin\tsp.exe" --verbose -I srt 192.168.211.114:6600 --latency 400 --messageapi -P until --seconds 60 -P analyze --error-analysis --wide-display -O drop

Please adjust the IP address and the parameter seconds as necessary.

TSDuck will report continuity counter errors if these are detected in the received stream.

This page was last updated on 2021-06-17