Project

General

Profile

Bug #4693

switching channels often results in an erroneous stream

Added by Leo Bergolth about 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2017-10-28
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.3 and earlier versions
Affected Versions:

Description

I have a Terratec Cinergy DVB S2 USB tuner that fails switching channels quite often. If you switch to another channel and back, everything works fine most of the times.

A debug log of such a channel switch looks like that:

########## switch to channel "ZDF HD" fails:
2017-10-27 22:30:58.879 [   INFO]:subscription: 0026: "127.0.0.1 [  | Kodi Media Center ]" unsubscribing from "Das Erste HD", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:30:58.879 [   INFO]:mpegts: 11361.75H in Astra - tuning on Montage Technology M88DS3103 : DVB-S #0
2017-10-27 22:30:58.879 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopping 11493.75H in Astra
2017-10-27 22:30:58.880 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopped dvr thread
2017-10-27 22:30:58.881 [   INFO]:subscription: 0024: "epggrab" unsubscribing
2017-10-27 22:30:58.919 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - starting 11361.75H in Astra
2017-10-27 22:30:58.919 [   INFO]:subscription: 0027: "127.0.0.1 [  | Kodi Media Center ]" subscribing on channel "ZDF HD", weight: 150, adapter: "Montage Technology M88DS3103 : DVB-S #0", network: "Astra", mux: "11361.75H", provider: "ZDFvision", service: "ZDF HD", profile="htsp", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:30:59.419 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - status    GOOD (SIGNAL | CARRIER | VITERBI | SYNC | LOCK)
2017-10-27 22:30:59.419 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - locked
2017-10-27 22:30:59.511 [WARNING]:tbl-base: pmt: 11361.75H in Astra: invalid checksum (len 146, errors 1)
2017-10-27 22:30:59.613 [WARNING]:tbl-eit: eit: 11361.75H in Astra: invalid checksum (len 1581, errors 1)
2017-10-27 22:30:59.872 [WARNING]:TS: Astra/11361.75H/ZDF HD Transport error indicator (total 1)
2017-10-27 22:30:59.883 [WARNING]:TS: Astra/11361.75H/ZDF HD: H264 @ #6110 Continuity counter error (total 1)
2017-10-27 22:30:59.903 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6123 Continuity counter error (total 1)
2017-10-27 22:30:59.955 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6120 Continuity counter error (total 1)
2017-10-27 22:30:59.966 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6121 Continuity counter error (total 1)
2017-10-27 22:30:59.986 [WARNING]:TS: Astra/11361.75H/ZDF HD: TELETEXT @ #6130 Continuity counter error (total 1)
2017-10-27 22:31:00.007 [WARNING]:TS: Astra/11361.75H/ZDF HD: AC3 @ #6122 Continuity counter error (total 1)
2017-10-27 22:31:00.047 [WARNING]:TS: Astra/11361.75H/ZDF HD: TELETEXT @ #6130 Corrupted PES header (errors 1)
2017-10-27 22:31:01.852 [WARNING]:tbl-base: bat: 11361.75H in Astra: invalid checksum (len 73, errors 1)
2017-10-27 22:31:01.852 [WARNING]:tbl-base: sdt: 11361.75H in Astra: invalid checksum (len 73, errors 1)
2017-10-27 22:31:01.975 [WARNING]:TS: Astra/11361.75H/ZDF HD: DVBSUB @ #6131 Continuity counter error (total 1)
2017-10-27 22:31:08.006 [WARNING]:tbl-base: cat: 11361.75H in Astra: invalid checksum (len 12, errors 1)
2017-10-27 22:31:09.593 [WARNING]:tbl-eit: eit: 11361.75H in Astra: invalid checksum (len 2570, errors 139)
2017-10-27 22:31:09.888 [WARNING]:TS: Astra/11361.75H/ZDF HD: H264 @ #6110 Continuity counter error (total 34636)
2017-10-27 22:31:09.908 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6123 Continuity counter error (total 122)
2017-10-27 22:31:09.928 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6120 Continuity counter error (total 154)
2017-10-27 22:31:09.969 [WARNING]:TS: Astra/11361.75H/ZDF HD: MPEG2AUDIO @ #6121 Continuity counter error (total 125)
2017-10-27 22:31:09.980 [WARNING]:TS: Astra/11361.75H/ZDF HD: AC3 @ #6122 Continuity counter error (total 290)
2017-10-27 22:31:09.990 [WARNING]:TS: Astra/11361.75H/ZDF HD: TELETEXT @ #6130 Continuity counter error (total 154)
2017-10-27 22:31:10.113 [WARNING]:tbl-base: pmt: 11361.75H in Astra: invalid checksum (len 146, errors 11)
2017-10-27 22:31:10.733 [WARNING]:TS: Astra/11361.75H/ZDF HD Transport error indicator (total 11)
2017-10-27 22:31:10.996 [WARNING]:tbl-base: pat: 11361.75H in Astra: invalid checksum (len 116, errors 1)
2017-10-27 22:31:12.381 [WARNING]:TS: Astra/11361.75H/ZDF HD: DVBSUB @ #6131 Continuity counter error (total 18)
2017-10-27 22:31:12.585 [WARNING]:tbl-base: bat: 11361.75H in Astra: invalid checksum (len 73, errors 8)
2017-10-27 22:31:12.585 [WARNING]:tbl-base: sdt: 11361.75H in Astra: invalid checksum (len 73, errors 8)

########## switching to channel "Das Erste HD" works:
2017-10-27 22:31:13.898 [   INFO]:subscription: 0027: "127.0.0.1 [  | Kodi Media Center ]" unsubscribing from "ZDF HD", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:31:13.898 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopping 11361.75H in Astra
2017-10-27 22:31:13.899 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopped dvr thread
2017-10-27 22:31:13.904 [   INFO]:mpegts: 11493.75H in Astra - tuning on Montage Technology M88DS3103 : DVB-S #0
2017-10-27 22:31:13.942 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - starting 11493.75H in Astra
2017-10-27 22:31:13.942 [   INFO]:subscription: 0029: "127.0.0.1 [  | Kodi Media Center ]" subscribing on channel "Das Erste HD", weight: 150, adapter: "Montage Technology M88DS3103 : DVB-S #0", network: "Astra", mux: "11493.75H", provider: "ARD", service: "Das Erste HD", profile="htsp", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:31:14.435 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - status    GOOD (SIGNAL | CARRIER | VITERBI | SYNC | LOCK)
2017-10-27 22:31:14.435 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - locked

########## switching back to "ZDF HD" also works now:
2017-10-27 22:31:21.010 [   INFO]:subscription: 0029: "127.0.0.1 [  | Kodi Media Center ]" unsubscribing from "Das Erste HD", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:31:21.010 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopping 11493.75H in Astra
2017-10-27 22:31:21.011 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - stopped dvr thread
2017-10-27 22:31:21.012 [   INFO]:mpegts: 11361.75H in Astra - tuning on Montage Technology M88DS3103 : DVB-S #0
2017-10-27 22:31:21.051 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - starting 11361.75H in Astra
2017-10-27 22:31:21.051 [   INFO]:subscription: 002B: "127.0.0.1 [  | Kodi Media Center ]" subscribing on channel "ZDF HD", weight: 150, adapter: "Montage Technology M88DS3103 : DVB-S #0", network: "Astra", mux: "11361.75H", provider: "ZDFvision", service: "ZDF HD", profile="htsp", hostname="127.0.0.1", username="127.0.0.1", client="Kodi Media Center" 
2017-10-27 22:31:21.541 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - status    GOOD (SIGNAL | CARRIER | VITERBI | SYNC | LOCK)
2017-10-27 22:31:21.541 [  DEBUG]:linuxdvb: Montage Technology M88DS3103 : DVB-S #0 - locked

Is the tuner broken?

Is there a way to tell tvheadend to re-tune the channel if the errors don't settle a certain time after channel switching?

I am using tvheadend-4.2.3. The DVB S2 box is:
Bus 001 Device 004: ID 0ccd:0105 TerraTec Electronic GmbH Cinergy S2 Box

[ 4.852805] dw2102: su3000_identify_state
[ 4.852807] dvb-usb: found a 'Terratec Cinergy S2 USB BOX' in warm state.
[ 4.852811] dw2102: su3000_power_ctrl: 1, initialized 0
[ 4.874742] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4.874914] dvbdev: DVB: registering new adapter (Terratec Cinergy S2 USB BOX)
[ 4.879809] dvb-usb: MAC address: bc:ea:2b:46:13:a5

Thanks,
--leo


Related issues

Related to Bug #4368: DVBSky S952 can't find any muxes (scan no data, failed)Invalid2018-08-26

Actions

History

#1

Updated by wei zeng about 7 years ago

可以中文吗?4.3的版本看卫星会出现卡顿,换台后一分钟后会卡顿一次

#2

Updated by Mark Clarkstone about 7 years ago

There's a retune option in the tuner config, give that a try.

#3

Updated by Leo Bergolth about 7 years ago

Mark Clarkstone wrote:

There's a retune option in the tuner config, give that a try.

Do you mean the option "# tune repeats"?
I tried it but it doesn't fix the problem.

I guess this option turns on unconditional re-tunes after every channel-switch, regardless whether the first tune had already succeeded or not.
And I believe that the probability of a successful or an erroneous tune is the same on each tune.
So if I set "#tune repeats" to 2, the third (and last) tune could destroy an eventual success of the first or second tune.

I guess I'd rather need a conditional re-tune that is only triggered if the channel switch results in a huge amount of errors.

#4

Updated by Jaroslav Kysela over 6 years ago

  • Related to Bug #4368: DVBSky S952 can't find any muxes (scan no data, failed) added

Also available in: Atom PDF