2020-10-29 18:19:22 +01:00
|
|
|
cd ..
|
2020-09-18 16:34:14 +02:00
|
|
|
|
2020-10-08 16:13:15 +02:00
|
|
|
rem Download 7-zip
|
|
|
|
curl.exe -L https://www.7-zip.org/a/7z1900.msi --ssl-no-revoke --output 7z.msi
|
|
|
|
rem Extract 7z
|
|
|
|
msiexec /a 7z.msi /qb TARGETDIR="%cd%\7z"
|
2020-09-18 12:22:42 +02:00
|
|
|
|
2020-10-08 16:13:15 +02:00
|
|
|
rem Donwload ffmpeg
|
|
|
|
curl.exe -L https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z --ssl-no-revoke --output ffmpeg.7z
|
|
|
|
rem Extract ffmpeg
|
|
|
|
"%cd%\7z\Files\7-Zip\7z.exe" e -y ffmpeg.7z -o"%cd%\Common\ffmpeg" *.exe *.dll -r
|
2020-09-18 12:22:42 +02:00
|
|
|
|
2020-10-04 06:26:25 +02:00
|
|
|
rem Remove not used ffplay
|
|
|
|
DEL Common\ffmpeg\ffplay.exe
|
2020-09-18 16:34:14 +02:00
|
|
|
|
2020-10-04 06:26:25 +02:00
|
|
|
rem Deleting FFmpeg temp
|
2020-10-08 16:13:15 +02:00
|
|
|
DEL ffmpeg.7z
|
|
|
|
DEL 7z.msi
|
|
|
|
rmdir 7z /s /q
|
2020-10-08 16:49:41 +02:00
|
|
|
timeout 5 > NUL
|