Skip to content

Commit aa04b06

Browse files
Updating build script
1 parent 04159e7 commit aa04b06

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

build/index.sh

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ download () {
3030
##Special case download from archive.org for one-time download
3131
echo 'windows x64'
3232
echo ' downloading from gyan.dev'
33-
download 'https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-10-23-13-03/ffmpeg-n6.1.2-9-g4571c80b40-win64-gpl-6.1.zip' win32-x64.zip
33+
download 'https://descript-public.s3.amazonaws.com/descript-builds/ffmpeg-static/ffmpeg-n7.1-151-g5b2ee11a60-win64-nonfree-7.1.zip' win32-x64.zip
3434
echo ' extracting'
3535
tmpdir=$(mktemp -d)
3636
unzip -o -d $tmpdir -j win32-x64.zip '*/bin/ffmpeg.exe' '*/bin/ffprobe.exe'
@@ -40,16 +40,8 @@ mv "$tmpdir/ffprobe.exe" ../bin/ffprobe-win32-x64
4040
curl -fsSL 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/LICENSE.md' -o ../bin/win32-x64.LICENSE
4141
curl -fsSL 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/README.md' -o ../bin/win32-x64.README
4242

43-
echo 'windows ia32'
44-
echo ' downloading from github.com'
45-
download 'https://github.com/sudo-nautilus/FFmpeg-Builds-Win32/releases/download/latest/ffmpeg-n6.0-latest-win32-gpl-6.0.zip' win32-ia32.zip
46-
echo ' extracting'
47-
unzip -o -d ../bin -j win32-ia32.zip '*/bin/ffmpeg.exe' '*/bin/ffprobe.exe'
48-
mv ../bin/ffmpeg.exe ../bin/ffmpeg-win32-ia32
49-
mv ../bin/ffprobe.exe ../bin/ffprobe-win32-ia32
50-
5143
echo 'linux x64'
52-
download 'https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-10-23-13-03/ffmpeg-n6.1.2-9-g4571c80b40-linux64-gpl-6.1.tar.xz' linux-x64.tar.xz
44+
download 'https://descript-public.s3.amazonaws.com/descript-builds/ffmpeg-static/ffmpeg-n7.1-151-g5b2ee11a60-linux64-nonfree-7.1.tar.xz' linux-x64.tar.xz
5345
echo ' extracting'
5446
xzcat linux-x64.tar.xz | $tar_exec -x -C ../bin --strip-components 2 --wildcards '*/ffmpeg' '*/ffprobe'
5547
mv ../bin/ffmpeg ../bin/ffmpeg-linux-x64
@@ -58,7 +50,7 @@ xzcat linux-x64.tar.xz | $tar_exec -x --ignore-case --wildcards -O '**/LICENSE.t
5850
curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md' -o ../bin/linux-x64.README
5951

6052
echo 'linux arm64'
61-
download 'https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2024-10-23-13-03/ffmpeg-n6.1.2-9-g4571c80b40-linuxarm64-gpl-6.1.tar.xz' linux-arm64.tar.xz
53+
download 'https://descript-public.s3.amazonaws.com/descript-builds/ffmpeg-static/ffmpeg-n7.1-152-gd72536008a-linuxarm64-nonfree-7.1.tar.xz' linux-arm64.tar.xz
6254
echo ' extracting'
6355
xzcat linux-arm64.tar.xz | $tar_exec -x -C ../bin --strip-components 2 --wildcards '*/ffmpeg' '*/ffprobe'
6456
mv ../bin/ffmpeg ../bin/ffmpeg-linux-arm64
@@ -68,32 +60,22 @@ curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md'
6860

6961
echo 'darwin x64'
7062
download 'https://www.osxexperts.net/ffmpeg71intel.zip' ffmpeg-darwin-x64.zip
71-
echo ' extracting'
72-
unzip -o -d ../bin -j ffmpeg-darwin-x64.zip ffmpeg
73-
mv ../bin/ffmpeg ../bin/ffmpeg-darwin-x64
74-
7563
download 'https://www.osxexperts.net/ffprobe71intel.zip' ffprobe-darwin-x64.zip
7664
echo ' extracting'
65+
unzip -o -d ../bin -j ffmpeg-darwin-x64.zip ffmpeg
7766
unzip -o -d ../bin -j ffprobe-darwin-x64.zip ffprobe
67+
mv ../bin/ffmpeg ../bin/ffmpeg-darwin-x64
7868
mv ../bin/ffprobe ../bin/ffprobe-darwin-x64
7969
curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md' -o ../bin/darwin-x64.README
8070
curl -s -L 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/LICENSE.md' -o ../bin/darwin-x64.LICENSE
8171

8272
echo 'darwin arm64'
8373
echo ' downloading from osxexperts.net'
84-
download 'https://www.osxexperts.net/ffmpeg611arm.zip' ffmpeg-darwin-arm64.zip
85-
download 'https://www.osxexperts.net/ffprobe611arm.zip' ffprobe-darwin-arm64.zip
74+
download 'https://descript-public.s3.amazonaws.com/descript-builds/ffmpeg-static/ffmpeg-7.1-darwin-arm64-nonfree.tar.xz' darwin-arm64.zip
8675
echo ' extracting'
87-
unzip -o -d ../bin -j ffmpeg-darwin-arm64.zip ffmpeg
88-
unzip -o -d ../bin -j ffprobe-darwin-arm64.zip ffprobe
76+
xzcat darwin-arm64.tar.xz | $tar_exec -x -C ../bin --strip-components 2 --wildcards '*/ffmpeg' '*/ffprobe'
8977
mv ../bin/ffmpeg ../bin/ffmpeg-darwin-arm64
9078
mv ../bin/ffprobe ../bin/ffprobe-darwin-arm64
9179
chmod +x ../bin/ffmpeg-darwin-arm64 ../bin/ffprobe-darwin-arm64
9280
curl -fsSL 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/LICENSE.md' -o ../bin/darwin-arm64.LICENSE
9381
curl -fsSL 'https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/README.md' -o ../bin/darwin-arm64.README
94-
95-
96-
echo 'freebsd x64'
97-
echo ' downloading from github.com/Thefrank/ffmpeg-static-freebsd'
98-
download 'https://github.com/Thefrank/ffmpeg-static-freebsd/releases/download/v6.1.0/ffmpeg' ../bin/freebsd-x64
99-
chmod +x ../bin/freebsd-x64

0 commit comments

Comments
 (0)