r/ffmpeg • • 12d ago

Windows 11 Pro suddenly blocks FFmpeg through Smart App Control. Any fix that keeps it enabled?

I’m working on a local Python app for video transcription and screenshots. I’m using it myself right now, but I might release or sell it eventually, so I’d like a solution that wouldn’t require other users to disable security features either.

FFmpeg was working on November 21. Now Windows blocks ffmpeg.exe before it can process anything.

One detail that probably matters: the current FFmpeg executable is a custom minimal build compiled locally from upstream source. It isn’t digitally signed.

Here’s what’s been checked:

- Windows 11 Pro 26H2, build 26300.9974.

- Smart App Control is on.

- The error is WinError 4551: “An Application Control policy has blocked this file.”

- Event Viewer shows Code Integrity event 3077, policy “VerifiedAndReputableDesktop,” and status 0xc0e90002.

- The executable’s SHA-256 hash matches the one that worked before.

- An ESET scan reported no detections.

- ffprobe still works, but ffmpeg won’t start.

Windows updated to 26H2 between the last successful run and the failed one. I don’t know whether that caused the change.

I’d like to keep SAC enabled and find a free solution for the current setup before paying for code signing. I’m open to replacing the FFmpeg build after reviewing it, while keeping the Python app unchanged.

The signed FFmpeg files bundled with the official Shutter Encoder 20.5 package are currently being reviewed. They passed an offline Windows signature check, but haven’t been run or adopted yet.

Has anyone solved this while keeping SAC on? Are there maintained, free FFmpeg builds that work reliably with it, or a supported Windows fix worth checking?

3 Upvotes

10 comments sorted by

3

u/_Gyan 12d ago

Try my builds.

The signed FFmpeg files bundled with the official Shutter Encoder 20.5 package are currently being reviewed

Shutter Encoder says their binaries aren't signed:

Operating systems use code signing to verify that the application is not malicious. To obtain this signature, a considerable annual fee would have to be paid for each system. Being free software, this is impossible for me.

1

u/Kaze_00 12d ago

Thanks for the suggestion! I was referring specifically to the ffmpeg.exe and ffprobe.exe bundled with the Windows 20.5 portable package. Both passed an offline Windows signature check here. Not sure whether that FAQ also covers those files.

My original build is working again after a reboot, with SAC still on and the file unchanged, though I still don’t know what caused the block.

Are your current Windows builds code signed? It would be good to have an alternative if this happens again.

4

u/pigers1986 12d ago

"I want eat a cookie and have cookie"

either get signed ffmpeg build that meets your needs , did you try https://www.gyan.dev/ffmpeg/builds/ or https://github.com/FFmpeg-Builds/FFmpeg-Builds/releases ?

or disable SAC
or your ffmpeg build gets popular so it will get okay signature in Microsoft's cloud reputation service

1

u/Kaze_00 12d ago edited 12d ago

Do you know of a specific Windows build where ffmpeg.exe itself is Authenticode signed?

Small update: after rebooting, my original build now runs again with SAC still enabled and the file hash unchanged. I haven’t established why, so I’m not treating a reboot as a reliable fix. I’d still like to identify a suitable signed build in case it happens again.

2

u/pigers1986 12d ago

no - this paid option ..
better to have more people use it, so it will be autoflagged as good app

PS: why are you using SAC ? For me SAC facks up compilation for GO binaries on my dev VM.

1

u/Kaze_00 11d ago

I’d rather keep the extra protection if I can. If I release the app later, I also don’t want users to have to disable SAC just to run it.

I meant a free download of a build that’s already signed. The developer paying for signing doesn’t necessarily mean the download has to cost money.

It’s working again for now, so I’m mainly looking for a backup option in case it happens again.

2

u/zalnaRs 11d ago

Then you have to sign it, there is no other way

1

u/Unfair-Cow1517 10d ago

You can know disabled SAC, and you can activate it later; it's a new update that allows it!
I finished disabling it, it was causing too many lock ...

0

u/Blackstar1886 12d ago

I had to disable SAC to keep it from borking my Python scripts. It's crazy that it's impossible to reenable, you just have to reinstall.

2

u/Kaze_00 12d ago

Just a heads up. Microsoft’s current FAQ says recent Windows updates allow SAC to be re enabled without a clean install, where it’s available on the device.

I haven’t tested switching it off and back on myself, so I can’t confirm it on my setup or every Windows build. Microsoft’s current FAQ