I use VLC as my default audio and video player on my Windows PC.
For some time now, I've noticed that the time from double-clicking a media file to launching and playing takes up to an incredible 15 seconds, even when using PCI-e SSDs exclusively.
I wanted to get to the bottom of the cause. I initially discovered that this delay only occurs the first time after a full Windows restart. Even if VLC isn't active and has already been launched once before, it still plays immediately.
The suspicion, that VLC has to spend a lot of time initializing codecs, plugins, etc. the first time it's launched in a Windows session, turned out not to be the cause.
I was once again able to identify the virus protection (Windows Defender) as the culprit, which scans VLC thoroughly the first time after a Windows-restart. I've already identified the Defender as the culprit in the past for the massive delays when loading files in Mp3tag.
An exception in Defender for the vlc.exe process immediately eliminated the startup delay. Of course, it's questionable whether you should do this, because it would leave a malware-vlc.exe undetected.
If it bothers you that VLC takes 15 seconds for the first playback, you could instead put a batch file that starts and immediately shuts down VLC in automatic-windows-startup, if you don't want VLC running permanently.
Has anyone had similar experiences with other players and other antivirus software?
