All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/tvheadend: add option to en-/disable transcoding support
@ 2017-09-06 20:49 Bernd Kuhls
  2017-09-06 20:49 ` [Buildroot] [PATCH 2/4] package/tvheadend: bump version, add optional dependencies to opus & x265 Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Bernd Kuhls @ 2017-09-06 20:49 UTC (permalink / raw)
  To: buildroot

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>
---
 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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-19 20:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Buildroot] [PATCH 1/4] package/tvheadend: add option to en-/disable transcoding support Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.