From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 22 Jul 2017 21:39:18 +0200 Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: disable build of nvidia hardware acceleration support In-Reply-To: <20170722151306.22870-1-bernd.kuhls@t-online.de> References: <20170722151306.22870-1-bernd.kuhls@t-online.de> Message-ID: <20170722213918.30c3f282@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Sat, 22 Jul 2017 17:13:06 +0200, Bernd Kuhls wrote: > 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 > --- > package/ffmpeg/ffmpeg.mk | 3 +++ > 1 file changed, 3 insertions(+) Applied to master, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com