nathanbabcock / ffmpeg-sidecar

Wrap a standalone FFmpeg binary in an intuitive Iterator interface. 🏍
MIT License
248 stars 18 forks source link

Failed to download ffmpeg #52

Open bliongosari1 opened 1 week ago

bliongosari1 commented 1 week ago

Any ideas how to deal with this? Happening on some windows computer

Seem to fail here

Screenshot 2024-10-18 at 3 53 03 PM

windows 10.0.19045 also one with 10.0.22631 happening for one of my users even after multiple retries

nathanbabcock commented 1 week ago

Hi @bliongosari1, first off could you try updating your dependency version to ffmpeg-sidecar = "1.2.0"?

In a recent PR we changed the download functionality from curl to reqwest, since not all computers may have curl installed natively. This might fix your problem right away — but if not, it should also provide more detailed error logs about which part of the process failed (HTTP status code, problem while unzipping archive, etc.)

bliongosari1 commented 1 week ago

FYI @nathanbabcock I tried with my Windows VM and it gave this error with the reqwest

Failed to read response bytes

nathanbabcock commented 1 week ago

Huh, that's weird. I tried it just now on Windows 11 and it worked for me.

I assume that if you manually click the link to the Windows release in your browser, it will download the zip just fine, right?

https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip