-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.0.1 fails to run on Win7 #136
Comments
I no longer have a Win7 system to check with, however, on Win10, the functions in the missing DLL are supplied by kernalbase.dll. The DLL isn't linked in the essentials build nor in the previous git full build. So some external dependency exclusive to the full build has started to call functions from the missing DLL. There are dozens of ext deps. so this could be hard to pinpoint. Stick with 7.0.0 if you need a full build. Win7 was EOLed over a year ago. so it doesn't look worth it to identify the responsible dep. |
Maybe installing MS updates will solve this issue on Windows 7? See Update for Universal C Runtime in Windows - Microsoft Support. I didn't try it, though. |
I found these. They're all different. |
Directory of c:\CMD & tiny apps\MeGUI\tools\redist\2017_x86 Directory of c:\Program Files (x86)\Foxit Software\Foxit Reader Directory of c:\Program Files\Java\jre1.8.0_162\bin Directory of c:\Program Files\Pale Moon Where is ffmpeg looking? I'll copy the latest one to that place. |
Try placing each of these DLLs one at a time in %WINDIR%\System32 and see if it works. |
I got the same result from all 4 versions of api-ms-win-core-synch-l1-2-0.dll |
|
Ok, so the blame appears to fall on SDL. It is set to dynamically load this DLL to access two functions only available on Windows 8 or later. It is supposed to fall back on kernel objects if not found. Not sure what changed recently as the log doesn't show any recent changes. Likely something upstream. |
"SDL"? Software Developers' Library? This is a disaster. I can't update FFmpeg. I've been working for 2 months to document fixes to concatenating segments in which open GOPs have become closed GOPs. The fixes involve either setting 'closed_gop' to '1' for the GOPs that go from open to closed, or, preferably, fixes to '-ss' and '-to'. As things stand, even if the fixes are implemented, I won't be able to use them because I can't update FFmpeg. |
Thanks. That's a good idea. That update has version I tried to install it anyway and got an error. I'll do some rebooting and tinkering to see if the situation improves. I'll turn on Windows Services that are currently disabled one at time and test. Stay tuned... |
Bad news. I installed Windows6.1-KB2999226-x64.msu. Then I updated FFmpeg to ffmpeg-2024-05-29-git-fa3b153cb1-full_build.7z. Then I rebooted. When I launch FFmpeg, I get the same Application Error I showed here 6 postings ago. PS: I had to temporarily turn on the pest: Windows Update service, in order to install Windows6.1-KB2999226-x64.msu. |
Simple DirectMedia Layer. |
Ok, the actual culprit is libjxl. They started using C++ standard lib for memory management recently. However, the .pc file wasn't changed to statically link the standard lib as noted here. I've tested it here with that change and I no longer see api-ms-win-core-synch-l1-2-0.dll as a dep. I'll incorporate this in the build system on the weekend so check next Monday. |
You can do that, Gyan? Oh, you're a champ. I sure hope it works. |
yes, I confirm it does not start on win7x64 |
@mark, the fix for Win7 is not up yet. If you look at the most recent builds, https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-github,
Not necessarily, so long as you know what it is you're looking for, so long as you pull down the correct version for your needs. |
Hmmm... So it does. However, I went here: |
After I accounted for libjxl, turns out there's another lib rav1e that also started linking to host libs. I'll have to do a comprehensive linker trace to see what all is linking to shared objects. |
Thank you, Gyan. So, it's Microsoft that's causing the problems, right? |
With only a quick look... Looks to be working with, https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-github (ffmpeg git 2024-06-13 builds, at present). (Quick*. Thank you :-). |
@therube, Thank you. I'm in the middle of a 55 hour transcode of a 5 hour video. I'll test 2024-06-13 sometime tomorrow. |
@therube Essentials always worked with Windows 7. It is full and full shared that fail. |
Heh, oops, you're right. |
Can someone test the ffmpeg-master-latest-win64-gpl build from BtbN on Win 7? |
@GyanD BtbN ffmpeg-master-latest-win64-gpl build fails with the same error message. "This application was unable to start correctly (0xc0000005)." But if you compile the latest or 7.0.1 stable with rdp's helper script, it works with Windows 7. https://github.com/rdp/ffmpeg-windows-build-helpers |
@Mr-Jake rdp does not seem to include rav1e which is the culprit here. It looks like the issue with rav1e arises due to changes in the rust toolchain. I'll downgrade rust and check. |
So, rust, the compiler for rav1e, no longer supports Windows 7. Which means the full build can't work on Windows 7 (without dropping rav1e). I'm afraid that's the end of the road. The essentials build will continue to work on Win 7 as long as viable. Release 7.0 and git 2024-05-23-git-ece95dc3dc are the last full builds to support Windows 7. |
I'm not going to be shipping Windows DLLs in my builds! If you have successfully tested the operation of current full builds on Windows 7 after making available some DLLs, you can list them here along with legal download sources, and I can leave a note on the website. |
I guess @markfilipak-windows would be interested to try out. |
@markfilipak-windows Mirror: |
Does applying: Namely, just "api-ms-win-core-synch-l1-2-0.dll". I believe the VK thing should also have the various bundled. |
@MasterInQuestion |
Essentially the same. And for alike missing DLL, place directly into "C:\Windows\System32" (or anywhere on PATH) preferable. ---- @GyanD |
7.0.1 fails to run on Windows 7 (Win7) x64.
ffmpeg-7.0.1-full_build.7z
ffmpeg-7.0.1-full_build-shared.7z
The 7.0.0 builds were fine.
https://i.postimg.cc/nLC4CDm5/ffmpeg701-fails-to-run-on-Win7-ffmpeg700-was-fine.png
Perhaps:
Import Table:
api-ms-win-core-synch-l1-2-0.dll
The text was updated successfully, but these errors were encountered: