File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -371,20 +371,20 @@ CFLAGS="-I$WORKSPACE/include"
371371LDFLAGS=" -L$WORKSPACE /lib"
372372if command -v nvcc > /dev/null ; then
373373 if build " nv-codec" ; then
374- download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n9.1.23 .0/nv-codec-headers-9.1.23 .0.tar.gz" " nv-codec-headers-9.1.23 .0.tar.gz"
375- cd " $PACKAGES " /nv-codec-headers-n9.1.23 .0 || exit
376- sed -i " s#PREFIX = /usr/local#PREFIX = ${WORKSPACE} #g" " $PACKAGES " /nv-codec-headers-n9.1.23 .0/Makefile
374+ download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n10.0.26 .0/nv-codec-headers-10.0.26 .0.tar.gz" " nv-codec-headers-10.0.26 .0.tar.gz"
375+ cd " $PACKAGES " /nv-codec-headers-10.0.26 .0 || exit
376+ sed -i " s#PREFIX = /usr/local#PREFIX = ${WORKSPACE} #g" " $PACKAGES " /nv-codec-headers-10.0.26 .0/Makefile
377377 execute make install
378378 build_done " nv-codec"
379379 fi
380380 CFLAGS=" $CFLAGS -I/usr/local/cuda/include"
381381 LDFLAGS=" $LDFLAGS -L/usr/local/cuda/lib64"
382- ADDITIONAL_CONFIGURE_OPTIONS=" $ADDITIONAL_CONFIGURE_OPTIONS --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-libnpp"
382+ ADDITIONAL_CONFIGURE_OPTIONS=" $ADDITIONAL_CONFIGURE_OPTIONS --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-libnpp --enable-cuda-llvm "
383383fi
384384
385385build " ffmpeg"
386- download " https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/192d1d34eb3668fa27f433e96036340e1e5077a0. tar.gz" " ffmpeg-snapshot .tar.bz2"
387- cd " $PACKAGES " /ffmpeg-192d1d3 / || exit
386+ download " https://github.com/FFmpeg/FFmpeg/archive/n4.3. tar.gz" " ffmpeg-4.3 .tar.bz2"
387+ cd " $PACKAGES " /FFmpeg-n4.3 / || exit
388388# shellcheck disable=SC2086
389389./configure $ADDITIONAL_CONFIGURE_OPTIONS \
390390 --pkgconfigdir=" $WORKSPACE /lib/pkgconfig" \
You can’t perform that action at this time.
0 commit comments