From patchwork Wed Feb 28 10:01:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Schmidinger X-Patchwork-Id: 47490 Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqyYC-0005lx-Dy; Wed, 28 Feb 2018 10:01:28 +0000 Received: from racoon.tvdr.de ([88.198.76.220]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqyY8-0005lf-8Q for vdr@linuxtv.org; Wed, 28 Feb 2018 10:01:25 +0000 Received: from eagle.tvdr.de (eagle.tvdr.de [192.168.1.10]) by racoon.tvdr.de (8.14.9/8.14.9) with ESMTP id w1SA1NZH011424 for ; Wed, 28 Feb 2018 11:01:23 +0100 Received: from [192.168.1.10] (eagle.tvdr.de [192.168.1.10]) by eagle.tvdr.de (8.15.2/8.15.2) with ESMTP id w1SA1NBQ011755 for ; Wed, 28 Feb 2018 11:01:23 +0100 To: VDR Mailing List References: <20180225152621.75458a81@yaise-pc1> <8b233e07-db60-b942-e298-a14c08e647f0@tvdr.de> <20180226232758.454f8022@yaise-pc1> <33ccd29f-8f5f-5d00-7b20-a99d3742286e@tvdr.de> <20180227175820.607bbebb@posteo.de> From: Klaus Schmidinger Message-ID: <31220933-dda2-5e51-7e61-c3655197dddb@tvdr.de> Date: Wed, 28 Feb 2018 11:01:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180227175820.607bbebb@posteo.de> Content-Language: de-DE X-LSpam-Score: -1.9 (-) X-LSpam-Report: No, score=-1.9 required=5.0 tests=BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01 autolearn=ham autolearn_force=no Subject: Re: [vdr] French DVB-T Channel IDs vs. EIT Channel IDs X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: VDR Mailing List Errors-To: vdr-bounces@linuxtv.org Sender: "vdr" On 27.02.2018 17:58, Patrick Boettcher wrote: > On Tue, 27 Feb 2018 16:54:35 +0100 > Klaus Schmidinger 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: Klaus --- 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 };