[Buildroot] [PATCH 1/1] package/tvheadend: select libvpx/x264 for transcoding support

Bernd Kuhls bernd.kuhls at t-online.de
Tue May 17 17:24:22 UTC 2016


ffmpeg needs libvpx and x264 to support transcoding.

Fixes this error message from tvheadend log:
2016-05-14 22:52:21.962 [  ERROR]:transcode: 0006: Unable to find libx264 encoder
2016-05-14 22:52:21.962 [   INFO]:transcode: 0006: 1:H264 ==> Passthrough
2016-05-14 22:52:21.963 [   INFO]:transcode: 0006: 2:MPEG2AUDIO ==> AAC (aac)

or

2016-05-14 22:58:01.529 [  ERROR]:transcode: 0009: Unable to find libvpx encoder
2016-05-14 22:58:01.529 [   INFO]:transcode: 0009: 1:H264 ==> Passthrough
2016-05-14 22:58:01.529 [   INFO]:transcode: 0009: 2:MPEG2AUDIO ==> VORBIS (libvorbis)

With this patch transcoding is logged like this:

2016-05-16 20:14:56.515 [   INFO]:transcode: 0004: 1:TELETEXT ==> Filtered
2016-05-16 20:14:56.516 [   INFO]:transcode: 0004: 2:MPEG2VIDEO 720x576 ==> H264 640x512 (libx264)
2016-05-16 20:14:56.516 [   INFO]:transcode: 0004: 3:MPEG2AUDIO ==> AAC (aac)

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/tvheadend/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
index 67a4b14..b274a13 100644
--- a/package/tvheadend/Config.in
+++ b/package/tvheadend/Config.in
@@ -12,6 +12,8 @@ config BR2_PACKAGE_TVHEADEND
 	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
+	select BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_OPENSSL
 	help
-- 
2.8.1



More information about the buildroot mailing list