Re: French DVB-T Channel IDs vs. EIT Channel IDs

Klaus Schmidinger <[email protected]>
Newsgroups gmane.linux.vdr
Message-ID <[email protected]>
On 27.02.2018 17:58, Patrick Boettcher wrote:
> On Tue, 27 Feb 2018 16:54:35 +0100
> Klaus Schmidinger <[email protected]> wrote:
> 
>> Hello Patrick,
>> 
>> your scan doesn't contain the NIT, which is where the transponder
>> innformation is broadcast. Can you scan that, too, please?
> 
> Hi Klaus,
> 
> NIT attached (from another multiplex with the same symptoms).


     Transport_stream_ID: 1 (0x0001)
     Original_network_ID: 8442 (0x20fa)  [= >>ERROR: not (yet) defined... Report!<<]
     reserved_1: 15 (0x0f)
     Transport_descriptor_length: 205 (0x00cd)

             DVB-DescriptorTag: 90 (0x5a)  [= terrestrial_delivery_system_descriptor]
             descriptor_length: 11 (0x0b)
             Center frequency: 0xffffffff (= 42949672.095 kHz)

I assume this is the problem: the NIT doesn't contain a proper frequency entry.
To avoid problems with NITs that are broadcast on other transponders, VDR checks
whether the frequency contained in the NIT is the same as the transponder that
is currently broadcast. This check will always fail in your case.

For a quick test whether my assumtion is correct, please try the following
patch:

--- nit.c       2016-12-23 15:16:59.000000000 +0100
+++ nit.c       2018-02-28 10:58:38.595483737 +0100
@@ -22,7 +22,7 @@
  #define MAXNETWORKNAME Utf8BufSize(256)

  // Set to 'true' for debug output:
-static bool DebugNit = false;
+static bool DebugNit = true;//XXX false;

  #define dbgnit(a...) if (DebugNit) fprintf(stderr, a)

@@ -219,6 +219,8 @@
                   cDvbTransponderParameters dtp;
                   int Source = cSource::FromData(cSource::stTerr);
                   int Frequency = Frequencies[0] = sd->getFrequency() * 10;
+                 Frequency = Transponder() * 1000000;//XXX
+                 dsyslog("Frequency = %08X, Transponder = %d", sd->getFrequency(), Transponder());//XXX
                   static int Bandwidths[] = { 8000000, 7000000, 6000000, 5000000, 0, 0, 0, 0 };
                   dtp.SetBandwidth(Bandwidths[sd->getBandwidth()]);
                   static int Constellations[] = { QPSK, QAM_16, QAM_64, QAM_AUTO };

Klaus

_______________________________________________
vdr mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.