From 4f57b3e92122c463644f396d002e182884bb5219 Mon Sep 17 00:00:00 2001 From: Daniel Bermond Date: Wed, 13 Sep 2017 16:57:34 -0300 Subject: [PATCH] Added Intel Media SDK plugins path for hw-accelerated QSV encoders This seems to not work currently with the Intel binary version of Media SDK. But the correct is to provide this path for ffmpeg to try the hardware accelerated encoders before falling back to software mode. Only software mode seems to be working currently, and then intel-media-sdk optdepend will still remain marked as experimental. --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index aeeef39..52876d9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Aug 25 23:57:18 UTC 2017 +# Wed Sep 13 19:57:14 UTC 2017 pkgbase = ffmpeg-full pkgdesc = Record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac) pkgver = 3.3.3 - pkgrel = 3 + pkgrel = 4 url = http://www.ffmpeg.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 0fbe5ec..899f4f7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=ffmpeg-full _srcname=ffmpeg pkgver=3.3.3 -pkgrel=3 +pkgrel=4 pkgdesc='Record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac)' arch=('i686' 'x86_64') url='http://www.ffmpeg.org/' @@ -68,7 +68,7 @@ build() { _cuvid='--enable-cuvid' _libnpp='--enable-libnpp' _cflags='--extra-cflags=-I/opt/cuda/include' - _ldflags='--extra-ldflags=-L/opt/cuda/lib64 -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64' + _ldflags='--extra-ldflags=-L/opt/cuda/lib64 -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64:/opt/intel/mediasdk/plugins' fi msg2 'Running ffmpeg configure script. Please wait...'