Update build.sh
This commit is contained in:
parent
a6e427fb6c
commit
75530fcd49
4
build.sh
4
build.sh
@ -25,7 +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.0
|
# git checkout sdk/9.0
|
||||||
cd $SRC/ffnvcodec
|
cd $SRC/ffnvcodec
|
||||||
make PREFIX=$BUILD install
|
make PREFIX=$BUILD install
|
||||||
add_comp nvenc
|
add_comp nvenc
|
||||||
@ -241,7 +241,7 @@ BUILD=`realpath build`
|
|||||||
SRC=`realpath src`
|
SRC=`realpath src`
|
||||||
|
|
||||||
git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
|
git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg
|
||||||
git checkout n4.3.1
|
git checkout n4.2.4
|
||||||
|
|
||||||
build_nvenc
|
build_nvenc
|
||||||
build_amf
|
build_amf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user