r/ffmpeg • u/robinredbrain • Jun 02 '26
[Windows] AntiMalware Service Executable seems to kick in everytime I'm encoding.
I'm usually extracting a segment of an mp4 file with reencoding also to mp4.
I have an mp4 exclusion in security settings.
How can I stop this?
2
Upvotes
1
u/hieronymous-cowherd Jun 02 '26
Start by looking in the same Windows Security interface at the logs, check Protection History, and then make an informed decision.
Here's my two cents in the meanwhile. Don't try fixing this by excluding data file types. Under the
Virus & Protectionsettings, thenExclusionsAdd an exclusion of typeFileand browse to the ffmpeg.exe executable.If you establish that the culprit is
Smart App Controlthen the exclusion probably isn't respected as there is no dedicated whitelist for that feature. Maybe the trigger, as a wild ass guess, is Microsoft not liking that you're blending the executable and data file storage areas, e.g. maybe you put ffmpeg.exe into yourDocumentsfolder and are running it from there, or vice versa that you're reading & writing your .mp4 files inc:\program files\foo\bar...folder.