BtbN / FFmpeg-Builds

MIT License
6.97k stars 956 forks source link

Windows 7 "The application was unable to start correctly (0xc0000005)" for any builds after 20240531 #386

Open zakimuslih08 opened 1 week ago

zakimuslih08 commented 1 week ago

Any builds after 20240531 resulting 0xc0000005 error on Windows 7 although the README says "Windows builds are targetting Windows 7 and newer" OS: Windows 7 Ultimate SP1 with available all updates installed

BtbN commented 1 week ago

Windows7 is entirely untested. It's just what mingw is configured for. If ffmpeg or some other dependency dropped support for it, no effort will be made to support it again.

The only thing that comes to mind is that Windows 7 does not ship with the ucrt, which these builds use. You have to manually download and install it from Microsoft.

Awire9966 commented 2 days ago

I will tell you what likely happened. The underlying system apis have vastly changed between 7 and 10. What i think likely happened was api calls in the ffmpeg codebase have changed to account for this, and thus, are now no longer supporting Windows 7. What i can recommend is to find a version of ffmpeg released pre Win 7 EOL and try building it. If you can do this with this script, i have no idea. What should be noted is that in some releases there could be CVEs resolved in more recent releases, like the webp exploit. If you go down this route, only process files you 100% trust. If this is your home computer, i would HIGHLY recommend switching to windows 11. Have rufus disable the requirements and use windows 11. Windows 7 could have unknown security issues that could pop up in the future.