Update build.sh

switched to nvenc sdk 9.1 and old libmfx
This commit is contained in:
Daniel Stankewitz 2020-08-25 22:24:26 +02:00 committed by GitHub
parent 9d3a2c4e68
commit cf6f6f6642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ function build {
function build_nvenc { function build_nvenc {
git clone git://github.com/FFmpeg/nv-codec-headers.git $SRC/ffnvcodec git clone git://github.com/FFmpeg/nv-codec-headers.git $SRC/ffnvcodec
git checkout sdk/9.1
cd $SRC/ffnvcodec cd $SRC/ffnvcodec
make PREFIX=$BUILD install make PREFIX=$BUILD install
add_comp nvenc add_comp nvenc
@ -39,7 +40,7 @@ function build_amf {
function build_mfx { function build_mfx {
git clone https://github.com/lu-zero/mfx_dispatch.git $SRC/libmfx git clone https://github.com/lu-zero/mfx_dispatch.git $SRC/libmfx
cd $SRC/libmfx cd $SRC/libmfx
# git checkout c200d833e25a91e3e49d69890dac1ffa3486cbe9 git checkout c200d833e25a91e3e49d69890dac1ffa3486cbe9
if [[ ! -f "configure" ]]; then if [[ ! -f "configure" ]]; then
autoreconf -fiv || exit 1 autoreconf -fiv || exit 1
fi fi