4
4
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
5
5
6
6
PROGNAME=$( basename " $0 " )
7
- FFMPEG_VERSION=5.1
8
- SCRIPT_VERSION=1.43
7
+ FFMPEG_VERSION=6.0
8
+ SCRIPT_VERSION=1.44
9
9
CWD=$( pwd)
10
10
PACKAGES=" $CWD /packages"
11
11
WORKSPACE=" $CWD /workspace"
@@ -387,8 +387,8 @@ if build "libtool" "2.4.7"; then
387
387
fi
388
388
389
389
if $NONFREE_AND_GPL ; then
390
- if build " openssl" " 1.1.1s " ; then
391
- download " https://www.openssl.org/source/openssl-1.1.1s .tar.gz"
390
+ if build " openssl" " 1.1.1t " ; then
391
+ download " https://www.openssl.org/source/openssl-1.1.1t .tar.gz"
392
392
if $MACOS_M1 ; then
393
393
sed -n ' s/\(##### GNU Hurd\)/"darwin64-arm64-cc" => { \n inherit_from => [ "darwin-common", asm("aarch64_asm") ],\n CFLAGS => add("-Wall"),\n cflags => add("-arch arm64 "),\n lib_cppflags => add("-DL_ENDIAN"),\n bn_ops => "SIXTY_FOUR_BIT_LONG", \n perlasm_scheme => "macosx", \n}, \n\1/g' Configurations/10-main.conf
394
394
execute ./Configure --prefix=" ${WORKSPACE} " no-shared no-asm darwin64-arm64-cc
@@ -397,7 +397,7 @@ if $NONFREE_AND_GPL; then
397
397
fi
398
398
execute make -j $MJOBS
399
399
execute make install_sw
400
- build_done " openssl" " 1.1.1s "
400
+ build_done " openssl" " 1.1.1t "
401
401
fi
402
402
CONFIGURE_OPTIONS+=(" --enable-openssl" )
403
403
else
@@ -418,12 +418,12 @@ else
418
418
fi
419
419
420
420
if [[ ! $ARCH == ' arm64' ]]; then
421
- if build " gnutls" " 3.7.8 " ; then
422
- download " https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.8 .tar.xz"
421
+ if build " gnutls" " 3.7.9 " ; then
422
+ download " https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.9 .tar.xz"
423
423
execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static --disable-doc --disable-tools --disable-cxx --disable-tests --disable-gtk-doc-html --disable-libdane --disable-nls --enable-local-libopts --disable-guile --with-included-libtasn1 --with-included-unistring --without-p11-kit CPPFLAGS=" ${CFLAGS} " LDFLAGS=" ${LDFLAGS} "
424
424
execute make -j $MJOBS
425
425
execute make install
426
- build_done " gnutls" " 3.7.8 "
426
+ build_done " gnutls" " 3.7.9 "
427
427
fi
428
428
# CONFIGURE_OPTIONS+=("--enable-gmp" "--enable-gnutls")
429
429
fi
@@ -454,8 +454,8 @@ if command_exists "python3"; then
454
454
done
455
455
fi
456
456
if command_exists " meson" ; then
457
- if build " dav1d" " 1.0 .0" ; then
458
- download " https://code.videolan.org/videolan/dav1d/-/archive/1.0.0/dav1d-1.0 .0.tar.gz"
457
+ if build " dav1d" " 1.1 .0" ; then
458
+ download " https://code.videolan.org/videolan/dav1d/-/archive/1.0.0/dav1d-1.1 .0.tar.gz"
459
459
make_dir build
460
460
461
461
CFLAGSBACKUP=$CFLAGS
@@ -471,7 +471,7 @@ if command_exists "python3"; then
471
471
export CFLAGS=$CFLAGSBACKUP
472
472
fi
473
473
474
- build_done " dav1d" " 1.0 .0"
474
+ build_done " dav1d" " 1.1 .0"
475
475
fi
476
476
CONFIGURE_OPTIONS+=(" --enable-libdav1d" )
477
477
fi
@@ -493,11 +493,11 @@ if ! $MACOS_M1; then
493
493
fi
494
494
495
495
if command_exists " cargo" ; then
496
- if build " rav1e" " 0.6.2 " ; then
496
+ if build " rav1e" " 0.6.3 " ; then
497
497
execute cargo install --version " 0.9.14+cargo-0.66" cargo-c
498
- download " https://github.com/xiph/rav1e/archive/refs/tags/v0.6.2 .tar.gz"
498
+ download " https://github.com/xiph/rav1e/archive/refs/tags/v0.6.3 .tar.gz"
499
499
execute cargo cinstall --prefix=" ${WORKSPACE} " --library-type=staticlib --crt-static --release
500
- build_done " rav1e" " 0.6.2 "
500
+ build_done " rav1e" " 0.6.3 "
501
501
fi
502
502
CONFIGURE_OPTIONS+=(" --enable-librav1e" )
503
503
fi
567
567
CONFIGURE_OPTIONS+=(" --enable-libx265" )
568
568
fi
569
569
570
- if build " libvpx" " 1.12 .0" ; then
571
- download " https://github.com/webmproject/libvpx/archive/refs/tags/v1.12 .0.tar.gz" " libvpx-1.12 .0.tar.gz"
570
+ if build " libvpx" " 1.13 .0" ; then
571
+ download " https://github.com/webmproject/libvpx/archive/refs/tags/v1.13 .0.tar.gz" " libvpx-1.13 .0.tar.gz"
572
572
573
573
if [[ " $OSTYPE " == " darwin" * ]]; then
574
574
echo " Applying Darwin patch"
@@ -580,7 +580,7 @@ if build "libvpx" "1.12.0"; then
580
580
execute make -j $MJOBS
581
581
execute make install
582
582
583
- build_done " libvpx" " 1.12 .0"
583
+ build_done " libvpx" " 1.13 .0"
584
584
fi
585
585
CONFIGURE_OPTIONS+=(" --enable-libvpx" )
586
586
837
837
# # other library
838
838
# #
839
839
840
- if build " libsdl" " 2.26.1 " ; then
841
- download " https://www.libsdl.org/release/SDL2-2.26.1 .tar.gz"
840
+ if build " libsdl" " 2.26.3 " ; then
841
+ download " https://www.libsdl.org/release/SDL2-2.26.3 .tar.gz"
842
842
execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
843
843
execute make -j $MJOBS
844
844
execute make install
845
845
846
- build_done " libsdl" " 2.26.1 "
846
+ build_done " libsdl" " 2.26.3 "
847
847
fi
848
848
849
849
if $NONFREE_AND_GPL ; then
870
870
871
871
if [[ " $OSTYPE " == " linux-gnu" ]]; then
872
872
if command_exists " nvcc" ; then
873
- if build " nv-codec" " 11.1.5.0 " ; then
874
- download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.0 /nv-codec-headers-11.1.5.0 .tar.gz"
873
+ if build " nv-codec" " 11.1.5.2 " ; then
874
+ download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.2 /nv-codec-headers-11.1.5.2 .tar.gz"
875
875
execute make PREFIX=" ${WORKSPACE} "
876
- execute make install PREFIX=" ${WORKSPACE} "
877
- build_done " nv-codec" " 11.1.5.0 "
876
+ execute make PREFIX=" ${WORKSPACE} /usr " install
877
+ build_done " nv-codec" " 11.1.5.2 "
878
878
fi
879
879
CFLAGS+=" -I/usr/local/cuda/include"
880
880
LDFLAGS+=" -L/usr/local/cuda/lib64"
@@ -899,12 +899,12 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
899
899
fi
900
900
fi
901
901
902
- if build " amf" " 1.4.28 " ; then
903
- download ' https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.28 .tar.gz' ' AMF-1.4.28 .tar.gz' ' AMF-1.4.28 '
902
+ if build " amf" " 1.4.29 " ; then
903
+ download ' https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.29 .tar.gz' ' AMF-1.4.29 .tar.gz' ' AMF-1.4.29 '
904
904
execute rm -rf " ${WORKSPACE} /include/AMF"
905
905
execute mkdir -p " ${WORKSPACE} /include/AMF"
906
- execute cp -r " ${PACKAGES} " /AMF-1.4.28 /AMF-1.4.28 /amf/public/include/* " ${WORKSPACE} /include/AMF/"
907
- build_done " amf" " 1.4.28 "
906
+ execute cp -r " ${PACKAGES} " /AMF-1.4.29 /AMF-1.4.29 /amf/public/include/* " ${WORKSPACE} /include/AMF/"
907
+ build_done " amf" " 1.4.29 "
908
908
fi
909
909
CONFIGURE_OPTIONS+=(" --enable-amf" )
910
910
fi
@@ -929,6 +929,7 @@ download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/$FFMPEG_VE
929
929
--enable-static \
930
930
--enable-small \
931
931
--enable-version3 \
932
+ --disable-ffnvcodec \
932
933
--extra-cflags=" ${CFLAGS} " \
933
934
--extra-ldexeflags=" ${LDEXEFLAGS} " \
934
935
--extra-ldflags=" ${LDFLAGS} " \
0 commit comments