* [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package
@ 2014-10-14 18:28 Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
` (6 more replies)
0 siblings, 7 replies; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: removed md5 hash (Yann)
v2: no changes
package/Config.in | 1 +
package/libdvbcsa/Config.in | 9 +++++++++
package/libdvbcsa/libdvbcsa.hash | 4 ++++
package/libdvbcsa/libdvbcsa.mk | 31 +++++++++++++++++++++++++++++++
4 files changed, 45 insertions(+)
create mode 100644 package/libdvbcsa/Config.in
create mode 100644 package/libdvbcsa/libdvbcsa.hash
create mode 100644 package/libdvbcsa/libdvbcsa.mk
diff --git a/package/Config.in b/package/Config.in
index 186ffea..da059d8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -745,6 +745,7 @@ endmenu
menu "Multimedia"
source "package/libass/Config.in"
source "package/libbluray/Config.in"
+ source "package/libdvbcsa/Config.in"
source "package/libdvbsi/Config.in"
source "package/libdvdnav/Config.in"
source "package/libdvdread/Config.in"
diff --git a/package/libdvbcsa/Config.in b/package/libdvbcsa/Config.in
new file mode 100644
index 0000000..dd7dc15
--- /dev/null
+++ b/package/libdvbcsa/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBDVBCSA
+ bool "libdvbcsa"
+ help
+ libdvbcsa is a free implementation of the DVB Common Scrambling
+ Algorithm - DVB/CSA - with encryption and decryption capabilities
+
+ As libdvbcsa implements a standard, it is completely legal to use it.
+
+ http://www.videolan.org/developers/libdvbcsa.html
diff --git a/package/libdvbcsa/libdvbcsa.hash b/package/libdvbcsa/libdvbcsa.hash
new file mode 100644
index 0000000..d8360e6
--- /dev/null
+++ b/package/libdvbcsa/libdvbcsa.hash
@@ -0,0 +1,4 @@
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha256
+sha256 4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha1
+sha1 5f4640a7e93ae6494f24a881414e5c343f803365 libdvbcsa-1.1.0.tar.gz
diff --git a/package/libdvbcsa/libdvbcsa.mk b/package/libdvbcsa/libdvbcsa.mk
new file mode 100644
index 0000000..ef1d957
--- /dev/null
+++ b/package/libdvbcsa/libdvbcsa.mk
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libdvbcsa
+#
+################################################################################
+
+LIBDVBCSA_VERSION = 1.1.0
+LIBDVBCSA_SITE = http://download.videolan.org/pub/videolan/libdvbcsa/$(LIBDVBCSA_VERSION)
+LIBDVBCSA_LICENSE = GPLv2+
+LIBDVBCSA_LICENSE_FILES = COPYING
+LIBDVBCSA_INSTALL_STAGING = YES
+
+ifeq ($(BR2_X86_CPU_HAS_MMX),y)
+LIBDVBCSA_CONF_OPTS += --enable-mmx
+else
+LIBDVBCSA_CONF_OPTS += --disable-mmx
+endif
+
+ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
+LIBDVBCSA_CONF_OPTS += --enable-sse2
+else
+LIBDVBCSA_CONF_OPTS += --disable-sse2
+endif
+
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
+LIBDVBCSA_CONF_OPTS += --enable-altivec
+else
+LIBDVBCSA_CONF_OPTS += --disable-altivec
+endif
+
+$(eval $(autotools-package))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-28 18:35 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv() Bernd Kuhls
` (5 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: no changes
v2: no changes
package/ffmpeg/Config.in | 5 +++++
package/ffmpeg/ffmpeg.mk | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
index 20d5231..6fde46e 100644
--- a/package/ffmpeg/Config.in
+++ b/package/ffmpeg/Config.in
@@ -49,6 +49,11 @@ config BR2_PACKAGE_FFMPEG_FFSERVER
help
FFserver is a streaming server for both audio and video.
+config BR2_PACKAGE_FFMPEG_AVRESAMPLE
+ bool "Build libavresample"
+ help
+ Avresample is a audio conversion library for compatibility.
+
config BR2_PACKAGE_FFMPEG_POSTPROC
bool "Build libpostproc"
depends on BR2_PACKAGE_FFMPEG_GPL
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index af4e1f6..0493385 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -104,6 +104,12 @@ else
FFMPEG_CONF_OPTS += --disable-ffserver
endif
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
+FFMPEG_CONF_OPTS += --enable-avresample
+else
+FFMPEG_CONF_OPTS += --disable-avresample
+endif
+
ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
FFMPEG_CONF_OPTS += --enable-postproc
else
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv()
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-28 21:02 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
` (4 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Fixes
CC src/intlconv.o
src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
#include <iconv.h>
with this defconfig
BR2_arm=y
BR2_cortex_a15=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_TVHEADEND=y
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: no changes
v2: no changes
package/tvheadend/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
index bb71d81..f7182a1 100644
--- a/package/tvheadend/Config.in
+++ b/package/tvheadend/Config.in
@@ -13,6 +13,7 @@ config BR2_PACKAGE_TVHEADEND
# architecture is avr32, which uses gcc 4.2.
depends on !BR2_avr32
select BR2_PACKAGE_DTV_SCAN_TABLES
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_OPENSSL
help
Tvheadend is a TV streaming server for Linux supporting DVB-S,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv() Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-28 21:10 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 5/7] package/tvheadend: Enable bundled build Bernd Kuhls
` (3 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: added TVHEADEND_CONF_OPTS, tvheadend is not an autoconf-package
v2: no changes
package/tvheadend/tvheadend.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 1445838..54112a6 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
+TVHEADEND_DEPENDENCIES += libdvbcsa
+TVHEADEND_CONF_OPTS += --enable-dvbcsa
+else
+TVHEADEND_CONF_OPTS += --disable-dvbcsa
+endif
+
ifeq ($(BR2_PACKAGE_LIBICONV),y)
TVHEADEND_DEPENDENCIES += libiconv
endif
@@ -30,6 +37,7 @@ define TVHEADEND_CONFIGURE_CMDS
--cpu="$(BR2_GCC_TARGET_CPU)" \
--python="$(HOST_DIR)/usr/bin/python" \
--disable-dvbscan \
+ $(TVHEADEND_CONF_OPTS) \
)
endef
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 5/7] package/tvheadend: Enable bundled build
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
` (2 preceding siblings ...)
2014-10-14 18:28 ` [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 6/7] package/tvheadend: Bump version to current git master Bernd Kuhls
` (2 subsequent siblings)
6 siblings, 0 replies; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
host-python is needed to create a bundled version of the tvheadend binary which
includes all files used by the web UI.
Having host-python alone as dependency is not enough, we need to add
--enable-bundle to enable this functionality.
Also remove the now bundled webinterface files from /usr/share/tvheadend/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: no changes
v2: added hook to remove webinterface files, they are bundled now
package/tvheadend/tvheadend.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 54112a6..99405fc 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -37,6 +37,7 @@ define TVHEADEND_CONFIGURE_CMDS
--cpu="$(BR2_GCC_TARGET_CPU)" \
--python="$(HOST_DIR)/usr/bin/python" \
--disable-dvbscan \
+ --enable-bundle \
$(TVHEADEND_CONF_OPTS) \
)
endef
@@ -49,6 +50,13 @@ define TVHEADEND_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
endef
+define TVHEADEND_CLEAN_SHARE
+ rm -rf "$(TARGET_DIR)/usr/share/tvheadend/docs"
+ rm -rf "$(TARGET_DIR)/usr/share/tvheadend/src"
+endef
+
+TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_CLEAN_SHARE
+
#----------------------------------------------------------------------------
# To run tvheadend, we need:
# - a startup script, and its config file
@@ -59,7 +67,7 @@ define TVHEADEND_INSTALL_DB
$(TARGET_DIR)/home/tvheadend/.hts/tvheadend/accesscontrol/1
chmod -R go-rwx $(TARGET_DIR)/home/tvheadend
endef
-TVHEADEND_POST_INSTALL_TARGET_HOOKS = TVHEADEND_INSTALL_DB
+TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_INSTALL_DB
define TVHEADEND_INSTALL_INIT_SYSV
$(INSTALL) -D package/tvheadend/etc.default.tvheadend $(TARGET_DIR)/etc/default/tvheadend
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 6/7] package/tvheadend: Bump version to current git master
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
` (3 preceding siblings ...)
2014-10-14 18:28 ` [Buildroot] [PATCH v3 5/7] package/tvheadend: Enable bundled build Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
2014-10-27 22:13 ` [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Thomas Petazzoni
6 siblings, 0 replies; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: bump to current git master
v2: bump to current git master
package/tvheadend/tvheadend.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 99405fc..8acf6af 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TVHEADEND_VERSION = ca742e00a7717787351e1a432ca9b41f93369d60
+TVHEADEND_VERSION = 8cdaab42c5a1aa7cd646fcbfd9ba3ce9cf410b34
TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION))
TVHEADEND_LICENSE = GPLv3+
TVHEADEND_LICENSE_FILES = LICENSE.md
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
` (4 preceding siblings ...)
2014-10-14 18:28 ` [Buildroot] [PATCH v3 6/7] package/tvheadend: Bump version to current git master Bernd Kuhls
@ 2014-10-14 18:28 ` Bernd Kuhls
2014-10-28 21:11 ` Thomas Petazzoni
2014-10-27 22:13 ` [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Thomas Petazzoni
6 siblings, 1 reply; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-14 18:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v3: no changes
v2: add --disable-libffmpeg_static, newly added option to git master
package/tvheadend/tvheadend.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 8acf6af..357ba7d 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
+
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
TVHEADEND_DEPENDENCIES += libdvbcsa
TVHEADEND_CONF_OPTS += --enable-dvbcsa
@@ -38,6 +45,7 @@ define TVHEADEND_CONFIGURE_CMDS
--python="$(HOST_DIR)/usr/bin/python" \
--disable-dvbscan \
--enable-bundle \
+ --disable-libffmpeg_static \
$(TVHEADEND_CONF_OPTS) \
)
endef
--
1.7.10.4
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
` (5 preceding siblings ...)
2014-10-14 18:28 ` [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
@ 2014-10-27 22:13 ` Thomas Petazzoni
6 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-27 22:13 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Tue, 14 Oct 2014 20:28:23 +0200, Bernd Kuhls wrote:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v3: removed md5 hash (Yann)
> v2: no changes
>
> package/Config.in | 1 +
> package/libdvbcsa/Config.in | 9 +++++++++
> package/libdvbcsa/libdvbcsa.hash | 4 ++++
> package/libdvbcsa/libdvbcsa.mk | 31 +++++++++++++++++++++++++++++++
> 4 files changed, 45 insertions(+)
> create mode 100644 package/libdvbcsa/Config.in
> create mode 100644 package/libdvbcsa/libdvbcsa.hash
> create mode 100644 package/libdvbcsa/libdvbcsa.mk
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
@ 2014-10-28 18:35 ` Thomas Petazzoni
0 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-28 18:35 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Tue, 14 Oct 2014 20:28:24 +0200, Bernd Kuhls wrote:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v3: no changes
> v2: no changes
>
> package/ffmpeg/Config.in | 5 +++++
> package/ffmpeg/ffmpeg.mk | 6 ++++++
> 2 files changed, 11 insertions(+)
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv()
2014-10-14 18:28 ` [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv() Bernd Kuhls
@ 2014-10-28 21:02 ` Thomas Petazzoni
0 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-28 21:02 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Tue, 14 Oct 2014 20:28:25 +0200, Bernd Kuhls wrote:
> Fixes
> CC src/intlconv.o
> src/intlconv.c:1:19: fatal error: iconv.h: No such file or directory
> #include <iconv.h>
>
> with this defconfig
>
> BR2_arm=y
> BR2_cortex_a15=y
> BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
> BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
> BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
> BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_TVHEADEND=y
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa
2014-10-14 18:28 ` [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
@ 2014-10-28 21:10 ` Thomas Petazzoni
0 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-28 21:10 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Tue, 14 Oct 2014 20:28:26 +0200, Bernd Kuhls wrote:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v3: added TVHEADEND_CONF_OPTS, tvheadend is not an autoconf-package
> v2: no changes
Patches 4 to 6 applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg
2014-10-14 18:28 ` [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
@ 2014-10-28 21:11 ` Thomas Petazzoni
2014-10-29 5:58 ` Bernd Kuhls
0 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-28 21:11 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Tue, 14 Oct 2014 20:28:29 +0200, Bernd Kuhls wrote:
> ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
> TVHEADEND_DEPENDENCIES += libdvbcsa
> TVHEADEND_CONF_OPTS += --enable-dvbcsa
> @@ -38,6 +45,7 @@ define TVHEADEND_CONFIGURE_CMDS
> --python="$(HOST_DIR)/usr/bin/python" \
> --disable-dvbscan \
> --enable-bundle \
> + --disable-libffmpeg_static \
Maybe I haven't looked properly, but I don't see this option supported
by tvheadend configure script. Can you check?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg
2014-10-28 21:11 ` Thomas Petazzoni
@ 2014-10-29 5:58 ` Bernd Kuhls
2014-10-30 21:58 ` Thomas Petazzoni
0 siblings, 1 reply; 14+ messages in thread
From: Bernd Kuhls @ 2014-10-29 5:58 UTC (permalink / raw)
To: buildroot
[posted and mailed]
Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
@public.gmane.org> wrote in news:20141028221104.35a56dd4 at free-electrons.com:
>> + --disable-libffmpeg_static \
>
> Maybe I haven't looked properly, but I don't see this option supported
> by tvheadend configure script. Can you check?
Hi,
you will find the option here:
https://github.com/tvheadend/tvheadend/blob/master/configure#L36
Regards, Bernd
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg
2014-10-29 5:58 ` Bernd Kuhls
@ 2014-10-30 21:58 ` Thomas Petazzoni
0 siblings, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-10-30 21:58 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Wed, 29 Oct 2014 06:58:20 +0100, Bernd Kuhls wrote:
> [posted and mailed]
>
> Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
> @public.gmane.org> wrote in news:20141028221104.35a56dd4 at free-electrons.com:
>
> >> + --disable-libffmpeg_static \
> >
> > Maybe I haven't looked properly, but I don't see this option supported
> > by tvheadend configure script. Can you check?
>
> Hi,
>
> you will find the option here:
> https://github.com/tvheadend/tvheadend/blob/master/configure#L36
Aah, yes, it's there. Presumably I was going at the tvheadend code
prior to the recent bump.
However, it's not clear to me what this option does, and therefore was
is the impact on tvheadend.
Also, the code:
+ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE)$(BR2_PACKAGE_FFMPEG_SWSCALE),yy)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
Means that the user needs to know that both the avresample and swscale
suboptions of ffmpeg have to be enabled in order to have ffmpeg support
in tvheadend. Not easy to know. Should we do something like:
select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
in the tvheadend/Config.in file? This way the user would only have to
enable BR2_PACKAGE_FFMPEG to get ffmpeg support in tvheadend. And the
condition could be simplified to just test BR2_PACKAGE_FFMPEG.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-10-30 21:58 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14 18:28 [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 2/7] package/ffmpeg: Enable support for libavresample Bernd Kuhls
2014-10-28 18:35 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 3/7] package/tvheadend: Needs iconv() Bernd Kuhls
2014-10-28 21:02 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 4/7] package/tvheadend: Add support for libdvbcsa Bernd Kuhls
2014-10-28 21:10 ` Thomas Petazzoni
2014-10-14 18:28 ` [Buildroot] [PATCH v3 5/7] package/tvheadend: Enable bundled build Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 6/7] package/tvheadend: Bump version to current git master Bernd Kuhls
2014-10-14 18:28 ` [Buildroot] [PATCH v3 7/7] package/tvheadend: Add transcoding support by ffmpeg Bernd Kuhls
2014-10-28 21:11 ` Thomas Petazzoni
2014-10-29 5:58 ` Bernd Kuhls
2014-10-30 21:58 ` Thomas Petazzoni
2014-10-27 22:13 ` [Buildroot] [PATCH v3 1/7] package/libdvbcsa: New package Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox