aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-07-22 17:13:06 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-07-25 23:49:20 +0200
commit5e664ce6b7e8ffce5c8009db5e7486bdcc8e639b (patch)
treec8e6fdffe3a254258edbfd2c04fc55fa3387f19e
parente82dce467cee890c2453b88f98a9c0a39b101651 (diff)
downloadbuildroot-5e664ce6b7e8ffce5c8009db5e7486bdcc8e639b.tar.gz
buildroot-5e664ce6b7e8ffce5c8009db5e7486bdcc8e639b.tar.bz2
package/ffmpeg: disable build of nvidia hardware acceleration support
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@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (cherry picked from commit 3b6fa452f6ee20f54e47fdc3106620ff258f13b7) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/ffmpeg/ffmpeg.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 86bf5458c2..726110a09a 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -42,6 +42,9 @@ FFMPEG_CONF_OPTS = \
--disable-mipsdspr2 \
--disable-msa \
--enable-hwaccels \
+ --disable-cuda \
+ --disable-cuvid \
+ --disable-nvenc \
--disable-avisynth \
--disable-frei0r \
--disable-libopencore-amrnb \