Project

General

Profile

Actions

Bug #4529

closed

ATSC_C and DVB_C malfunction

Added by Pepe Suriano over 7 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Service Mapping
Target version:
-
Start date:
2016-07-22
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Found in version:
All recent versions
Affected Versions:

Description

Hi people, I will like to discuss about an old issue with tvheadend and annex b networks. Actually I can tune dvb_c annex b with a tbs5881 via usb to a computer, with TBS drivers my dvb_c network was discovered as DVBC using the old parameter "annex b" that was available in old versions of TVH (it used to have annex a, annex b and annex c). Then the "annex combobox" was edited, leaving just DVBC and DVBC annex c, when this modification was made, using crazycat's driver TVH discovered my network as ATSC-C (it is a dvbc network), this was a problem because it causes slower zapping and it didn't load channel names, otherwise using scan-s2 it scanned all fine.

At this moment I placed this issue: http://tvheadend.org/issues/3907#change-19287 then crazycat modified his driver to solve my problem, here is a piece of our conversation at this moment:

"So DVB-C annex B scanned as ATSC PSI table - https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/dvb_psi.c#L2674

And i decide make workaround in si2168 demod driver - force annex B if SR < 6000Ks
https://github.com/crazycat69/linux_media/commit/9c548b42b4fd335e4e9d010ccab5832d4e9954b2

So you can setup TVH as DVB-C annex A/C, but driver lock in annex B mode."

Looking at the code, I see that he hardcoded the frontend to make a temporal patch for this specific issue, but it justs solves the problem with tbs5881 and dvbc annex b, while the whole background problem with TVH is still present.

Now the same issue is present with KI STBs which uses AVL demods, they detect my network as ATSC-C and the same problem with zapping and channel names is present (as it was with tbs5881)

I asked libreelec community for help (https://forum.libreelec.tv/thread/9319-8-1-3-libreelec-8-2-for-s905-s905x/?postID=58511#post58511) and I get this answer from afl1:

"Tvheadend is different project, for principal issues you have to complain on tvheadend forum. But I had the same question on tvheadend forum and Jaroslav Kysela explain me: ATSC-C means DVB-C Annex B. BTW there is no standard ATSC-C, this is only introduced by tvheadend."

Source code for AVL driver is here: https://github.com/crazycat69/linux_media/commit/6275d078d972591b9e449c7bad0fa24ea7519380#diff-57be8964a5eb91a0bdc6b391f0a37aeb

I could just modify this section:

if (c->delivery_system == SYS_DVBC_ANNEX_A && c->symbol_rate < 6000000 ) {
+ c->delivery_system = SYS_DVBC_ANNEX_B;
+ c->bandwidth_hz = 6000000;
+ }

and force it to deliver 0x10 just as crazycat did with TBS5881 as workaround, but the problem with TVH will be still present and repeating at any different device with dvbc annex b networks.

I am not an expert of this topic, but I guess that when TVH discovers my network as ATSC-C it uses ATSC tables which are different from DVBC ones. Besides that my network modulate as ATSC-C, it uses DVBC tables.

Is it possible to solve this general problem adding back the "annex b" option in the DVBC scan process?

If you need any ts recording from KI STB (which fails) or with TBS5881 (which works) just tell me.

Thanks very much in advance


Files

dvbc.patch (1.06 KB) dvbc.patch Jaroslav Kysela, 2017-08-13 20:49
discovery.patch (408 Bytes) discovery.patch Jaroslav Kysela, 2017-08-16 13:40
trace.log (140 KB) trace.log Pepe Suriano, 2017-08-31 00:47
debug1.patch (1.1 KB) debug1.patch Jaroslav Kysela, 2017-08-31 16:18
trace.log (195 KB) trace.log Pepe Suriano, 2017-09-08 00:21
trace.log (194 KB) trace.log Pepe Suriano, 2017-09-08 00:22
trace.log (3.4 KB) trace.log Pepe Suriano, 2017-09-08 16:32
trace.log (12.1 KB) trace.log John King's, 2017-09-18 04:34
debug2.patch (779 Bytes) debug2.patch Jaroslav Kysela, 2017-09-18 14:13
tvh.log (1.08 MB) tvh.log John King's, 2017-09-20 04:23
log-noreboot.log (74.5 KB) log-noreboot.log Pepe Suriano, 2017-09-21 03:03
log-rebooted.log (24.3 MB) log-rebooted.log Pepe Suriano, 2017-09-21 03:04
output.log (6.36 KB) output.log Pepe Suriano, 2018-02-05 15:16

Subtasks 1 (1 open0 closed)

Bug #3907: Don't detect names of services from ATSC-CNew2016-07-22

Actions
Actions

Also available in: Atom PDF