feat: FFmpeg-Download von gyan.dev auf Gitea umgezogen (schneller)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Administrator 2026-04-17 12:56:37 +02:00
parent 9339bda3e2
commit 86eb0648c9

View File

@ -133,9 +133,9 @@ Write-Host "[2/$totalSteps] FFmpeg..." -ForegroundColor Yellow
if (Test-Path "C:\ffmpeg\bin\ffmpeg.exe") {
Write-Host " Bereits installiert - ueberspringe." -ForegroundColor Gray
} else {
$ffmpegUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"
$ffmpegZip = "$tempDir\ffmpeg.zip"
if (Download-File -Url $ffmpegUrl -Output $ffmpegZip) {
$ffmpegAsset = Get-Gitea-Latest-Asset -Repo "ffmpeg" -Filter "*.zip"
if ($ffmpegAsset -and (Download-File -Url $ffmpegAsset.browser_download_url -Output $ffmpegZip)) {
Write-Host " Entpacke FFmpeg nach C:\ffmpeg..." -ForegroundColor Gray
if (Test-Path "C:\ffmpeg") { Remove-Item -Path "C:\ffmpeg" -Recurse -Force }
Expand-Archive -Path $ffmpegZip -DestinationPath $tempDir -Force