[{"id":1764809,"web_url":"http://patchwork.ozlabs.org/comment/1764809/","msgid":"<20170907161833.GB2973@scaer>","list_archive_url":null,"date":"2017-09-07T16:18:33","subject":"Re: [Buildroot] [PATCH 1/4] package/tvheadend: add option to\n\ten-/disable transcoding support","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/people/13903/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Bernd, All,\n\nOn 2017-09-06 22:49 +0200, Bernd Kuhls spake thusly:\n> https://github.com/tvheadend/tvheadend/commit/014bb9505e1d7eb6e37e10931dd89ab3b1a0dc01\n> extended the already present transcoding support and included vaapi-\n> accelerated transcoding.\n> \n> In order to support these new options and their numerous dependencies\n> we add a new Kconfig option for transcoding support to allow users to\n> disable transcoding support, because they use tvheadend for recording\n> or by its internal hts protocol, for example with the kodi-pvr-hts\n> addon.\n> \n> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n\nReviewed-by: \"Yann E. MORIN\" <yann.morin.1998@free.fr>\n\nRegards,\nYann E. MORIN.\n\n> ---\n>  package/tvheadend/Config.in    | 18 ++++++++++++++----\n>  package/tvheadend/tvheadend.mk |  2 +-\n>  2 files changed, 15 insertions(+), 5 deletions(-)\n> \n> diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in\n> index fc39d6f48..191593eab 100644\n> --- a/package/tvheadend/Config.in\n> +++ b/package/tvheadend/Config.in\n> @@ -10,10 +10,6 @@ config BR2_PACKAGE_TVHEADEND\n>  \tdepends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2\n>  \tdepends on BR2_TOOLCHAIN_HAS_SYNC_4\n>  \tselect BR2_PACKAGE_DTV_SCAN_TABLES\n> -\tselect BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG\n> -\tselect BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG\n> -\tselect BR2_PACKAGE_LIBVPX if BR2_PACKAGE_FFMPEG && !BR2_bfin # libvpx\n> -\tselect BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG\n>  \tselect BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE\n>  \tselect BR2_PACKAGE_OPENSSL\n>  \thelp\n> @@ -28,3 +24,17 @@ config BR2_PACKAGE_TVHEADEND\n>  \t      is available on port 9981.\n>  \t    - if you want Avahi support, you'll need to enable:\n>  \t          Avahi, D-Bus, libdaemon\n> +\n> +if BR2_PACKAGE_TVHEADEND\n> +\n> +config BR2_PACKAGE_TVHEADEND_TRANSCODING\n> +\tbool \"transcoding support\"\n> +\tselect BR2_PACKAGE_FFMPEG\n> +\tselect BR2_PACKAGE_FFMPEG_AVRESAMPLE\n> +\tselect BR2_PACKAGE_FFMPEG_SWSCALE\n> +\tselect BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx\n> +\tselect BR2_PACKAGE_X264\n> +\thelp\n> +\t  Enable transcoding support.\n> +\n> +endif\n> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk\n> index 6c0eb6375..b1c1fcaf7 100644\n> --- a/package/tvheadend/tvheadend.mk\n> +++ b/package/tvheadend/tvheadend.mk\n> @@ -26,7 +26,7 @@ else\n>  TVHEADEND_CONF_OPTS += --disable-dbus-1\n>  endif\n>  \n> -ifeq ($(BR2_PACKAGE_FFMPEG),y)\n> +ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)\n>  TVHEADEND_DEPENDENCIES += ffmpeg\n>  TVHEADEND_CONF_OPTS += --enable-libav\n>  else\n> -- \n> 2.11.0\n>","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"GPPmVEi2\"; dkim-atps=neutral"],"Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xp5HB04kDz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 02:18:45 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CC2EE89F05;\n\tThu,  7 Sep 2017 16:18:41 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id OiUkotvxRHUy; Thu,  7 Sep 2017 16:18:40 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EFE7189F0A;\n\tThu,  7 Sep 2017 16:18:39 +0000 (UTC)","from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3E3A51C3EC6\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  7 Sep 2017 16:18:39 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 3384D82FFB\n\tfor <buildroot@lists.busybox.net>;\n\tThu,  7 Sep 2017 16:18:39 +0000 (UTC)","from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8-h9UNAYOd12 for <buildroot@lists.busybox.net>;\n\tThu,  7 Sep 2017 16:18:38 +0000 (UTC)","from mail-wm0-f65.google.com (mail-wm0-f65.google.com\n\t[74.125.82.65])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 0004682FF7\n\tfor <buildroot@buildroot.org>; Thu,  7 Sep 2017 16:18:37 +0000 (UTC)","by mail-wm0-f65.google.com with SMTP id e64so43459wmi.2\n\tfor <buildroot@buildroot.org>; Thu, 07 Sep 2017 09:18:37 -0700 (PDT)","from ymorin.is-a-geek.org\n\t(2a01cb0886107300a556795e0851f8aa.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:a556:795e:851:f8aa])\n\tby smtp.gmail.com with ESMTPSA id g65sm5048wmf.4.2017.09.07.09.18.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 07 Sep 2017 09:18:35 -0700 (PDT)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tThu, 07 Sep 2017 18:18:33 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=alkgQ9gLzNq+CP8QB6K/emnudCW0ymcWK3BB6VuG6YI=;\n\tb=GPPmVEi2dTCl8XMQZs9DGopCeX2QXuQsxzzkZtveJB4rTocCv3cRzcuAi03MBm+Kec\n\tamVE6fDBf6OR4En5QJ33RXDwUcvrLoI/ZLAA2tzrf5NwgpSAXdYZqG4nY24Wx5ZS2S6b\n\tU/HmqMmnQEzWd02dWiVorlkbuXEJRXOP1oFQ+NLRF+vh3yr94rzM72hlnrhw6KO/ECMu\n\tA/Xbe1zQ61oeGa5Fj21aGzIuubowtGQ5fFVNejzg9+DLCMy4Kt7UDnULzrJIs5UalSKX\n\t1ahAeQHVoxeo4Wvv3IPtDuQUOzJkdxEg+RdKkiFZ5I9ffwKMlbcA1MEtWEbFKIf4L84f\n\ttwfw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:date:from:to:cc:subject:message-id\n\t:references:mime-version:content-disposition:in-reply-to:user-agent; \n\tbh=alkgQ9gLzNq+CP8QB6K/emnudCW0ymcWK3BB6VuG6YI=;\n\tb=RLn9ic9SnPwBGlJNd7V+WrWMXn42oAJi13LdCexnY6au6QFiju2otEp3bmyN4LGS9/\n\tDCWURV5TXm1S+OxEBlJeZ6GNKFkYc51VtqHquDe9+BO3U08kF/eg+xFnZy5DZtlNqgbW\n\tvAZjKpDR9x9CKdo6lNF+t09/ijUjl2L8srpOofNH9/63TIEamUD/6prjS01ZXu241ATp\n\tBrsOPS98yXr09U5OKjCMV9APqmfBSxebX9/fIRxi+UARDyvwDRO7UXu7hGDCg0Rq1g2v\n\tmy+Ik5UjA3TPEd1FxJtRQBGJCCF/W/84VQW7HzSQEANgB8PcoVnJB9kRJ20dG8zmlisf\n\tsLjw==","X-Gm-Message-State":"AHPjjUgvz8lBPTTminvkT3f/52Zw7tlrktzG+vlGekdqsZ/76QYLxIQw\n\tcg8Q3v2GPdQB1w==","X-Google-Smtp-Source":"AOwi7QDkvSsbqkoOgjdstCBJbaSXD1xY3UZvawjusMeTjDAGRF2SaSl61wD0aHTVrutfOMJtxLOqIA==","X-Received":"by 10.28.92.136 with SMTP id q130mr912242wmb.35.1504801116321;\n\tThu, 07 Sep 2017 09:18:36 -0700 (PDT)","Date":"Thu, 7 Sep 2017 18:18:33 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Bernd Kuhls <bernd.kuhls@t-online.de>","Message-ID":"<20170907161833.GB2973@scaer>","References":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Cc":"buildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/4] package/tvheadend: add option to\n\ten-/disable transcoding support","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]