[Buildroot] [git commit branch/2017.02.x] package/ffmpeg: disable build of nvidia hardware acceleration support
Peter Korsgaard
peter at korsgaard.com
Tue Jul 25 22:09:17 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=e5570186a4c4a06757f95f125d28159ad557b5ed
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
ffmpeg always enables support for nvenc/cuda even if their support
libraries are not present:
External libraries providing hardware acceleration:
cuda cuvid nvenc
[...]
Enabled hwaccels:
h264_cuvid mjpeg_cuvid mpeg2_cuvid vc1_cuvid vp9_cuvid
hevc_cuvid mpeg1_cuvid mpeg4_cuvid vp8_cuvid
This leads to a crash in freeswitch git master when transcoding video
streams on a system without nvidia hardware:
2017-07-22 15:06:27.306760 [INFO] avcodec.c:1077 initializing encoder 352x288
2017-07-22 15:06:27.306760 [NOTICE] avcodec.c:828 NVENC HW CODEC ENABLED
This patch disables the support of nvidia hardware acceleration support
for now until the needed packages are added to buildroot. For details
about this please refer to https://developer.nvidia.com/ffmpeg
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 3b6fa452f6ee20f54e47fdc3106620ff258f13b7)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/ffmpeg/ffmpeg.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 4494612..9c30e8f 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -44,6 +44,9 @@ FFMPEG_CONF_OPTS = \
--disable-mipsdspr2 \
--disable-msa \
--enable-hwaccels \
+ --disable-cuda \
+ --disable-cuvid \
+ --disable-nvenc \
--disable-avisynth \
--disable-frei0r \
--disable-libopencore-amrnb \
More information about the buildroot
mailing list