Project

General

Profile

How to fix "Continuity counter error"?

Added by Al Bundy about 1 year ago

I recently switched from a "bare-metal" installation on a raspberry pi to a docker installation an an Intel NUC.

But since this switch I have very often continuity counter errors.

2022-01-25 12:42:51.828 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2AUDIO @ #202 Continuity counter error (total 11954)
2022-01-25 12:42:58.791 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 62996400, last = 62870400
2022-01-25 12:43:01.240 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2VIDEO @ #201 Continuity counter error (total 28977)
2022-01-25 12:43:01.240 [WARNING] TS: FritzBox/442MHz/ProSieben: AC3 @ #203 Continuity counter error (total 21930)
2022-01-25 12:43:01.285 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 63216000, last = 63104400
2022-01-25 12:43:01.331 [WARNING] TS: FritzBox/442MHz/ProSieben: TELETEXT @ #210 Continuity counter error (total 14734)
2022-01-25 12:43:01.835 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2AUDIO @ #202 Continuity counter error (total 12144)
2022-01-25 12:43:09.056 [WARNING] tsfix: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 61274880, last = 59095440
2022-01-25 12:43:10.811 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 64072800, last = 63968400
2022-01-25 12:43:11.239 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2VIDEO @ #201 Continuity counter error (total 29430)
2022-01-25 12:43:11.239 [WARNING] TS: FritzBox/442MHz/ProSieben: AC3 @ #203 Continuity counter error (total 22291)
2022-01-25 12:43:11.376 [WARNING] TS: FritzBox/442MHz/ProSieben: TELETEXT @ #210 Continuity counter error (total 14971)
2022-01-25 12:43:11.898 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2AUDIO @ #202 Continuity counter error (total 12316)
2022-01-25 12:43:14.720 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 64422000, last = 64299600
2022-01-25 12:43:17.776 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 64702800, last = 64602000
2022-01-25 12:43:21.249 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2VIDEO @ #201 Continuity counter error (total 29851)
2022-01-25 12:43:21.249 [WARNING] TS: FritzBox/442MHz/ProSieben: AC3 @ #203 Continuity counter error (total 22619)
2022-01-25 12:43:21.468 [WARNING] TS: FritzBox/442MHz/ProSieben: TELETEXT @ #210 Continuity counter error (total 15160)
2022-01-25 12:43:21.950 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2AUDIO @ #202 Continuity counter error (total 12511)
2022-01-25 12:43:23.800 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 65232000, last = 65134800
2022-01-25 12:43:25.453 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 65394000, last = 65296800
2022-01-25 12:43:27.172 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 65548800, last = 65426400
2022-01-25 12:43:31.260 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2VIDEO @ #201 Continuity counter error (total 30272)
2022-01-25 12:43:31.260 [WARNING] TS: FritzBox/442MHz/ProSieben: AC3 @ #203 Continuity counter error (total 22919)
2022-01-25 12:43:31.473 [WARNING] TS: FritzBox/442MHz/ProSieben: TELETEXT @ #210 Continuity counter error (total 15397)
2022-01-25 12:43:32.012 [WARNING] TS: FritzBox/442MHz/ProSieben: MPEG2AUDIO @ #202 Continuity counter error (total 12700)
2022-01-25 12:43:32.596 [WARNING] tsfix: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 66034800, last = 65930400

TV "adapter" is an AVM FritzBox that has 4 DVB-C SAT>IP Tuners.
TVHeadend uses UDP to get the streams from the FritzBox (I couldn't get TCP to work - not sure if this is supported by FritzBox).

Streaming LiveTV seems not to be an issue - but I have some failed recordings because to much data errors.

I'm not sure if I had this errors on also on the Raspberry PI but at least I didn't have any problems with my recordings.

Hase someone an idea how to fix this?


Replies (4)

RE: How to fix "Continuity counter error"? - Added by Hiro Protagonist about 1 year ago

I've not used a setup like this but 3 possibilities come to mind:

1) Poor signal strength at the tuner. If the pi was using the same tuner setup this could be discounted.
2) Network errors between the tuner device & TVH. Shouldn't be a problem on a LAN.
3) Poor performance running within Docker. Can you run TVH natively on the NUC for comparison?

RE: How to fix "Continuity counter error"? - Added by Al Bundy about 1 year ago

Thanks for your answer.

1) same Tuner (it's part of the router)
2) nuc and pi are at the same location - network stats (ifconfig, netstat, iperf3) are looking fine
3) nuc has an i3 - this should have more power than the pi

So the errors are a litte bit mysterious.
Maybe I'll give the installation on the nuc a shot.

RE: How to fix "Continuity counter error"? - Added by Al Bundy about 1 year ago

Beetween my FirtzBox and the tvheadend-Server is a powerline-connction.
I'be never had this problems with the Raspberry PI 4 and also iperf3 has no issues with the PI or the NUC.

But it seems moving the NUC "before the powerlan" (same room as the FritzBox) solved most of the Continuity Counter Errors.

I forgott to say, the I record to a NAS that is also "behind the powerlan".

so setup bevor was:
FritzBox -> powerlan -> nuc/pi + nas

Now it's FritzBox + NUC -> powerlan -> nas

According to iperf3 I have 100Mbit/s over the powerlan - all other connections are 1GBit/s

RE: How to fix "Continuity counter error"? - Added by Aramis Thandeka 11 months ago

My type of reception is DVB-C.My problem is very, very many and recurring ... Livetv went to all but continuity counter error's everywhere.

https://myfiosgateway.one/
https://tutuappvip.co/mobdro-download

    (1-4/4)