File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,12 @@ echo ' downloading from gyan.dev'
33
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
34
34
echo ' extracting'
35
35
tmpdir=$( mktemp -d)
36
- 7zr e -y -bd -o" $tmpdir " win32-x64.7z > /dev/null
36
+ unzip -o -d $tmpdir -j win32-x64.zip ' */bin/ffmpeg.exe' ' */bin/ffprobe.exe'
37
+ ls -lr ../bin
37
38
mv " $tmpdir /ffmpeg.exe" ../bin/ffmpeg-win32-x64
38
39
mv " $tmpdir /ffprobe.exe" ../bin/ffprobe-win32-x64
39
- mv " $tmpdir / LICENSE" ../bin/win32-x64.LICENSE
40
- mv " $tmpdir / README.txt " ../bin/win32-x64.README
40
+ curl -fsSL ' https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/ LICENSE.md ' -o ../bin/win32-x64.LICENSE
41
+ curl -fsSL ' https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/n6.1:/ README.md ' -o ../bin/win32-x64.README
41
42
42
43
echo ' windows ia32'
43
44
echo ' downloading from github.com'
@@ -63,7 +64,7 @@ xzcat linux-arm64.tar.xz | $tar_exec -x -C ../bin --strip-components 2 --wildcar
63
64
mv ../bin/ffmpeg ../bin/ffmpeg-linux-arm64
64
65
mv ../bin/ffprobe ../bin/ffprobe-linux-arm64
65
66
xzcat linux-arm64.tar.xz | $tar_exec -x --ignore-case --wildcards -O ' **/LICENSE.txt' > ../bin/linux-arm64.LICENSE
66
- curl -s -L ' https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md' -o ../bin/linux-x64 .README
67
+ curl -s -L ' https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/README.md' -o ../bin/linux-arm64 .README
67
68
68
69
echo ' darwin x64'
69
70
download ' https://www.osxexperts.net/ffmpeg71intel.zip' ffmpeg-darwin-x64.zip
You can’t perform that action at this time.
0 commit comments