Project

General

Profile

Bug #4162

Continuity errors IPTV

Added by Daniel G almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2017-01-05
Due date:
% Done:

0%

Estimated time:
Found in version:
HTS Tvheadend 4.1-2405~geb495a0~xenial
Affected Versions:

Description

2017-01-05 13:27:35.717 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: H264 #2631 Continuity counter error (total 2)
2017-01-05 13:27:35.728 TS: GET IPTV/TV2 HD/TV 2 HD: H264
#2048 Continuity counter error (total 2)

No packet drops in server network interface or routers iptv vlan.

Getting this error every 10-20 minutes. Was worse before upgrading to 2405.
I have literally no idea how I should resolve this or help you guys resolve it.

History

#1

Updated by Daniel G almost 8 years ago

Got a few more errors now:

2017-01-05 13:46:38.373 TS: GET IPTV/TV2 HD/TV 2 HD: H264 @ #2048 Continuity counter error (total 3)
2017-01-05 13:46:38.394 TS: GET IPTV/Viasat 4 HD/Viasat 4  HD: H264 @ #2631 Continuity counter error (total 3)
#2

Updated by Daniel G almost 8 years ago

2017-01-05 13:47:27.131 TS: GET IPTV/TV2 HD/TV 2 HD: H264 #2048 Continuity counter error (total 5)
2017-01-05 13:47:28.396 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: H264
#2631 Continuity counter error (total 4)
2017-01-05 13:47:28.396 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: AC3 #2632 Continuity counter error (total 1)
2017-01-05 13:47:28.409 TS: GET IPTV/TV2 HD/TV 2 HD: TELETEXT
#576 Continuity counter error (total 2)
2017-01-05 13:47:28.434 TS: GET IPTV/TV2 HD/TV 2 HD: MPEG2AUDIO #65 Continuity counter error (total 1)
2017-01-05 13:47:28.436 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: TELETEXT
#2636 Continuity counter error (total 1

#3

Updated by Frank - almost 8 years ago

Daniel G wrote:

2017-01-05 13:47:27.131 TS: GET IPTV/TV2 HD/TV 2 HD: H264 #2048 Continuity counter error (total 5)
2017-01-05 13:47:28.396 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: H264
#2631 Continuity counter error (total 4)
2017-01-05 13:47:28.396 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: AC3 #2632 Continuity counter error (total 1)
2017-01-05 13:47:28.409 TS: GET IPTV/TV2 HD/TV 2 HD: TELETEXT
#576 Continuity counter error (total 2)
2017-01-05 13:47:28.434 TS: GET IPTV/TV2 HD/TV 2 HD: MPEG2AUDIO #65 Continuity counter error (total 1)
2017-01-05 13:47:28.436 TS: GET IPTV/Viasat 4 HD/Viasat 4 HD: TELETEXT
#2636 Continuity counter error (total 1

I am seeing the same issue here....

I have made a case in the fora about this: https://tvheadend.org/boards/5/topics/24416

2017-01-11 11:08:09.409 TS: IP/TV3 HD/TV3 HD Danmark: H264 #2651 Continuity counter error (total 89)
2017-01-11 11:08:09.409 TS: IP/TV3 HD/TV3 HD Danmark: AC3
#2652 Continuity counter error (total 92)
2017-01-11 11:08:09.429 TS: IP/TV3 HD/TV3 HD Danmark: MPEG2AUDIO #2653 Continuity counter error (total 91)
2017-01-11 11:08:09.702 TS: IP/TV3 HD/TV3 HD Danmark: TELETEXT
#2656 Continuity counter error (total 56)
2017-01-11 11:08:11.189 tsfix: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 103628109, last = 103450989

My setup is currently a test setup to see how it works. So this is how I am getting my signal

From Tvheadend server to my own Tvheadend server running Ubuntu 16.10 with version HTS Tvheadend 4.1-2405~geb495a0~xenial running

When I test with my rasp pi3 directly from my source it´s running smoothly.

What do there??

#4

Updated by Mono Polimorph almost 8 years ago

Hi,

I have a similar problem with my X86_64 TvH server. I see that the CC errors with IPTV inputs (multicast) increases over time. I don't know why, but it appears in all muxes (=streams). I check all network streams with a TS-Analyzer and I can't see any error (except puntuals time to time).

It's possible that TvH has troubles with the IPTV input? Can I increase the reading buffers?

I suggest to add a counter for CC errors based on time, like: TOTAL-CC-errors, CC-errors-last-60sec.
Perhaps this helps to fine-tune the server.

#5

Updated by Jaroslav Kysela almost 8 years ago

Could you try to increase IPTV_BUF_SIZE in src/input/mpegts/iptv/iptv_private.h ? Try value 3000*188 .

#6

Updated by Frank - almost 8 years ago

Jaroslav Kysela wrote:

Could you try to increase IPTV_BUF_SIZE in src/input/mpegts/iptv/iptv_private.h ? Try value 3000*188 .

Where is this located? I am running tvheadend on Ubuntu

#7

Updated by Mono Polimorph almost 8 years ago

Frank - wrote:

Jaroslav Kysela wrote:

Could you try to increase IPTV_BUF_SIZE in src/input/mpegts/iptv/iptv_private.h ? Try value 3000*188 .

Where is this located? I am running tvheadend on Ubuntu

Hi Frank,

In the source code: http://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/iptv/iptv_private.h#L28

I'll do some checks. However, I suggest to move this define value to a configurable variable.

Jaroslav, please, can you add the option to reset "all" CC errors counters in the UI? This will simplifies a lot the testing.

#8

Updated by cy clic almost 8 years ago

Hi,
Daniel G wrote:

Getting this error every 10-20 minutes. Was worse before upgrading to 2405.

I also have this issue since 4.1-2405~geb495a0~xenial from ppa
Not seen previously even when test recording 8HD simultaneously.
Fails with only single tuner in use.
Pixelation dropouts vary from ~10 seconds to worst case every second or two.
Jan 11 12:14:40 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: TELETEXT #5503 Continuity counter error (total 44)
Jan 11 12:14:49 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: H264
#5500 Continuity counter error (total 853)
Jan 11 12:14:49 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: AC3 #5501 Continuity counter error (total 327)
Jan 11 12:15:00 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: H264
#5500 Continuity counter error (total 854)
Jan 11 12:20:15 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: H264 #5500 Continuity counter error (total 855)
Jan 11 12:20:15 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: DVBSUB
#5504 Continuity counter error (total 39)
Jan 11 12:20:51 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: H264 #5500 Continuity counter error (total 856)
Jan 11 12:20:51 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: AC3
#5501 Continuity counter error (total 328)
Jan 11 12:20:51 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: TELETEXT #5503 Continuity counter error (total 45)
Jan 11 12:21:12 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: H264
#5500 Continuity counter error (total 858)
Jan 11 12:21:12 zzzzzz tvheadend2756: TS: 28.2E/10847V/BBC Two HD: DVBSUB #5504 Continuity counter error (total 40)
Jan 11 12:21:12 zzzzzz tvheadend[2756]: TS: 28.2E/10847V/BBC Two HD: MPEG2AUDIO
#5502 Continuity counter error (total 335)

On i7 PC Gig LANs kubuntu 16.04 FE SAT>IP 8xTuners.
Records to NAS --- Play out is on pi2b/kodi.

Scans off at "TV Adapter -> Tuner" and "Network".
The drops outs are on live TV & pause/play TV & recordings.
Uncorrected Blocks and Continuity errors both increment.
No transport errors.

#9

Updated by J P almost 8 years ago

I have been getting the same over the past couple of years. Whatever I try, I have been unable to get it down to zero. This is on two different networks, both IPTV. I am quite certain it isn't anything in my own network, as I've tried every single combination known to man before eventually giving up. :-)

Tried to change the buffer value, but that doesn't seem to do much. The problems always seem to be in the video stream.

Example for the highest bandwidth stream I can test with (which happens to be a HEVC stream, but this happens to all my channels, also SD ones);

2017-01-12 13:50:01.919 TS: channelname: HEVC #4011 Continuity counter error (total 1)
2017-01-12 13:50:28.932 TS: *channelname*: HEVC
#4011 Continuity counter error (total 2)
2017-01-12 13:54:30.915 TS: channelname: HEVC #4011 Continuity counter error (total 3)
2017-01-12 13:56:09.922 TS: *channelname*: HEVC
#4011 Continuity counter error (total 4)

.. And this increases steadily over time.

Also available in: Atom PDF