mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/tvheadend: Add transcoding support by ffmpeg
Add --disable-libffmpeg_static to disable static linking of ffmpeg libraries into the tvheadend binary. tvheadend compiles with ffmpeg using this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y BR2_PACKAGE_FFMPEG=y BR2_PACKAGE_TVHEADEND=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
9966aed049
commit
ad41eda9e8
@@ -13,6 +13,8 @@ config BR2_PACKAGE_TVHEADEND
|
|||||||
# architecture is avr32, which uses gcc 4.2.
|
# architecture is avr32, which uses gcc 4.2.
|
||||||
depends on !BR2_avr32
|
depends on !BR2_avr32
|
||||||
select BR2_PACKAGE_DTV_SCAN_TABLES
|
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_LIBICONV if !BR2_ENABLE_LOCALE
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||||
select BR2_PACKAGE_OPENSSL
|
select BR2_PACKAGE_OPENSSL
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
|
|||||||
TVHEADEND_DEPENDENCIES += avahi
|
TVHEADEND_DEPENDENCIES += avahi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
||||||
|
TVHEADEND_DEPENDENCIES += ffmpeg
|
||||||
|
TVHEADEND_CONF_OPTS += --enable-libav
|
||||||
|
else
|
||||||
|
TVHEADEND_CONF_OPTS += --disable-libav
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
|
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
|
||||||
TVHEADEND_DEPENDENCIES += libdvbcsa
|
TVHEADEND_DEPENDENCIES += libdvbcsa
|
||||||
TVHEADEND_CONF_OPTS += --enable-dvbcsa
|
TVHEADEND_CONF_OPTS += --enable-dvbcsa
|
||||||
@@ -38,6 +45,7 @@ define TVHEADEND_CONFIGURE_CMDS
|
|||||||
--python="$(HOST_DIR)/usr/bin/python" \
|
--python="$(HOST_DIR)/usr/bin/python" \
|
||||||
--disable-dvbscan \
|
--disable-dvbscan \
|
||||||
--enable-bundle \
|
--enable-bundle \
|
||||||
|
--disable-libffmpeg_static \
|
||||||
$(TVHEADEND_CONF_OPTS) \
|
$(TVHEADEND_CONF_OPTS) \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user