Skip to content

Commit

Permalink
Update ffmpeg_path.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberofficial committed Jul 20, 2024
1 parent f323fb6 commit bdda498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffmpeg_path.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Echo. Setting yt-dlp path to %YTDLP_PATH%
:: Check for aria2c and download if not exists
if not exist "aria2c.exe" (
Echo. aria2c.exe not found, downloading...
bitsadmin /transfer aria2cDownload /download /priority high https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0-win-64bit-build1.zip %cd%\aria2.zip
powershell -Command "Invoke-WebRequest -Uri 'https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0-win-64bit-build1.zip' -OutFile 'aria2.zip'"
powershell -Command "Expand-Archive -Path 'aria2.zip' -DestinationPath '.'"
del /Q "aria2.zip"
move /Y "aria2-1.36.0-win-64bit-build1\aria2c.exe" "%cd%\aria2c.exe"
Expand Down Expand Up @@ -45,7 +45,7 @@ if "%FFMPEG_FOUND%" == "0" (
:: Extract ffmpeg.7z to ffmpeg\bin folder (using 7zr.exe)
if not exist "7zr.exe" (
Echo. 7zr.exe not found, downloading...
bitsadmin /transfer 7zrDownload /download /priority high https://www.7-zip.org/a/7zr.exe %cd%\7zr.exe
powershell -Command "Invoke-WebRequest -Uri 'https://www.7-zip.org/a/7zr.exe' -OutFile '7zr.exe'"
)
7zr.exe x "ffmpeg.7z" -o"%FFMPEG_ROOT_PATH%\"

Expand Down

0 comments on commit bdda498

Please sign in to comment.