From patchwork Fri May 30 00:23:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan McCrohan X-Patchwork-Id: 4268021 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BD1FA9F30B for ; Fri, 30 May 2014 00:23:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B6212035E for ; Fri, 30 May 2014 00:23:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 728782034E for ; Fri, 30 May 2014 00:23:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbaE3AXu (ORCPT ); Thu, 29 May 2014 20:23:50 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:65327 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbaE3AXt (ORCPT ); Thu, 29 May 2014 20:23:49 -0400 Received: by mail-wi0-f171.google.com with SMTP id cc10so215682wib.10 for ; Thu, 29 May 2014 17:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=W6O70obH4rfQqERSw7eiVY4HPedsfThbf0WyAkcNlLo=; b=ibm8ycdJyyMXGUiVuPLffFKp4o452HTuRKn4W5Kbcfjxm5dF+yrAvMtOVj/td8uTzm JoNs9RK69+R/BMsRH7dCseTLbtWLWPnZ0lkaHwQk/xYa7JJO7A751O1UBcFPLhTmjus7 gMrbDBS0HTyIDCKjwBbn8046v53CmbZEYwUmHC8g09511vD8spzeuVf81GCWF2XOABJ8 Z7yZV4PQBAKz4ZZ1WK4QmCE+LinfFBEGqc2gNl3XfNgB8C0T03MVQSdcjzSgzoCDtcBy 6GiRjXL3s+Y1NjXLu1CN/2/8r6YPUFOrJa4p6sdxMDNRN7doKyKMClpEgsF1qvyb1jE4 HI2A== X-Received: by 10.180.36.241 with SMTP id t17mr1173310wij.38.1401409428555; Thu, 29 May 2014 17:23:48 -0700 (PDT) Received: from lambda.dereenigne.org (188-141-43-74.dynamic.upc.ie. [188.141.43.74]) by mx.google.com with ESMTPSA id ga10sm5611051wjb.23.2014.05.29.17.23.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 29 May 2014 17:23:47 -0700 (PDT) Date: Fri, 30 May 2014 01:23:45 +0100 From: Jonathan McCrohan To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, oliver@schinagl.nl Subject: Re: [PATCH 00/12] dvbv5 scan tables for Brazil Message-ID: <20140530002345.GA12450@lambda.dereenigne.org> References: <1401209432-7327-1-git-send-email-m.chehab@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1401209432-7327-1-git-send-email-m.chehab@samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Mauro, On Tue, 27 May 2014 13:50:20 -0300, Mauro Carvalho Chehab wrote: > This patch series add the DTV scan tables for Brazilian ISDB-T > and for the Brazilian Countys that have already digital TV. Thanks for the DVBv5 scan files. I had the attached draft patch sitting in my tree. I don't think it is ready to be committed yet, but probably worth sending now to discuss. How do we want to manage the migration from DVBv3 to DVBv5: 1) point in time migration from DVBv3 to DVBv5? 2) maintain both until DVBv5 is in widespread use? On a side note, I found a bug in dvb-format-convert; it cannot parse DVB-T2 DVBv3 scan files. Jon From fdcabb0802a4a40e257d54dbd5e5eba59b9820f7 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Fri, 30 May 2014 01:14:42 +0100 Subject: [PATCH] Add Makefile to convert DVBv3 files to DVBv5 Signed-off-by: Jonathan McCrohan --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fac40e7 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# Makefile for dtv-scan-tables (26 May 2014) +# Copyright 2014 Jonathan McCrohan + +# The vast majority of the DVB scan files contained in this repository +# are DVBv3 scan files. This format has been deprecated in favor of the +# DVBv5 scan format. +# +# Use this makefile to convert the existing DVBv3 scan files to DVBv5 +# scan files until such time as DVBv5 scan format is in widespread use. +# +# Requires dvb-format-convert from v4l-utils. + +MKDIR = mkdir -p +DVBFORMATCONVERT = dvb-format-convert + +DVBFORMATCONVERT_CHANNEL_DVBV5 = -ICHANNEL -ODVBV5 + +DVBV3DIRS = atsc dvb-c dvb-s dvb-t +DVBV3CHANNELFILES = $(foreach dir,$(DVBV3DIRS),$(wildcard $(dir)/*)) + +DVBV5OUTPUTDIR = dvbv5 + +makedvbv5: + @$(foreach var,$(DVBV3DIRS), $(MKDIR) $(DVBV5OUTPUTDIR)/$(var);) + @$(foreach var,$(DVBV3CHANNELFILES), $(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV5) $(var) $(DVBV5OUTPUTDIR)/$(var);) -- 2.0.0.rc2