Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] package/tvheadend: add option to en-/disable transcoding support
Date: Thu, 7 Sep 2017 18:18:33 +0200	[thread overview]
Message-ID: <20170907161833.GB2973@scaer> (raw)
In-Reply-To: <20170906204908.30036-1-bernd.kuhls@t-online.de>

Bernd, All,

On 2017-09-06 22:49 +0200, Bernd Kuhls spake thusly:
> https://github.com/tvheadend/tvheadend/commit/014bb9505e1d7eb6e37e10931dd89ab3b1a0dc01
> extended the already present transcoding support and included vaapi-
> accelerated transcoding.
> 
> In order to support these new options and their numerous dependencies
> we add a new Kconfig option for transcoding support to allow users to
> disable transcoding support, because they use tvheadend for recording
> or by its internal hts protocol, for example with the kodi-pvr-hts
> addon.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/tvheadend/Config.in    | 18 ++++++++++++++----
>  package/tvheadend/tvheadend.mk |  2 +-
>  2 files changed, 15 insertions(+), 5 deletions(-)
> 
> diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
> index fc39d6f48..191593eab 100644
> --- a/package/tvheadend/Config.in
> +++ b/package/tvheadend/Config.in
> @@ -10,10 +10,6 @@ config BR2_PACKAGE_TVHEADEND
>  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
>  	depends on BR2_TOOLCHAIN_HAS_SYNC_4
>  	select BR2_PACKAGE_DTV_SCAN_TABLES
> -	select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
> -	select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
> -	select BR2_PACKAGE_LIBVPX if BR2_PACKAGE_FFMPEG && !BR2_bfin # libvpx
> -	select BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG
>  	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
>  	select BR2_PACKAGE_OPENSSL
>  	help
> @@ -28,3 +24,17 @@ config BR2_PACKAGE_TVHEADEND
>  	      is available on port 9981.
>  	    - if you want Avahi support, you'll need to enable:
>  	          Avahi, D-Bus, libdaemon
> +
> +if BR2_PACKAGE_TVHEADEND
> +
> +config BR2_PACKAGE_TVHEADEND_TRANSCODING
> +	bool "transcoding support"
> +	select BR2_PACKAGE_FFMPEG
> +	select BR2_PACKAGE_FFMPEG_AVRESAMPLE
> +	select BR2_PACKAGE_FFMPEG_SWSCALE
> +	select BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx
> +	select BR2_PACKAGE_X264
> +	help
> +	  Enable transcoding support.
> +
> +endif
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index 6c0eb6375..b1c1fcaf7 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -26,7 +26,7 @@ else
>  TVHEADEND_CONF_OPTS += --disable-dbus-1
>  endif
>  
> -ifeq ($(BR2_PACKAGE_FFMPEG),y)
> +ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)
>  TVHEADEND_DEPENDENCIES += ffmpeg
>  TVHEADEND_CONF_OPTS += --enable-libav
>  else
> -- 
> 2.11.0
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      parent reply	other threads:[~2017-09-07 16:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06 20:49 [Buildroot] [PATCH 1/4] package/tvheadend: add option to en-/disable transcoding support Bernd Kuhls
2017-09-06 20:49 ` [Buildroot] [PATCH 2/4] package/tvheadend: bump version, add optional dependencies to opus & x265 Bernd Kuhls
2017-09-07 16:15   ` Yann E. MORIN
2017-09-19 20:32     ` Arnout Vandecappelle
2017-09-06 20:49 ` [Buildroot] [PATCH 3/4] package/tvheadend: add optional support for libva-accelerated transcoding Bernd Kuhls
2017-09-07 16:24   ` Yann E. MORIN
2017-09-06 20:49 ` [Buildroot] [PATCH 4/4] package/tvheadend: add optional support for rpi-userland Bernd Kuhls
2017-09-07 16:25   ` Yann E. MORIN
2017-09-07 16:18 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170907161833.GB2973@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox