visual-studio-codedllffmpeg

VScode ffmpeg.dll missing


When I tried to open VScode, I got an error popup saying "The code execution cannot proceed because ffmpeg.dll was not found. Reinstalling the program may fix this problem". Reinstalling VScode solved the issue, but I'm wondering what caused it in the first place, as apparently it's a video/audio file .dll, and I don't know what VScode has to do with it.

The error


Solution

  • IIRC, ffmpeg.dll is included as a part of electron.js which is what VScode is built on. Apparently, getUserMedia API of Chromium (which drives the frontend of electron) performs poorly, and they used ffmpeg as an alternative.

    This was what I remembered from the time I was working on electron a few years back, but I found this bit on their website. Recent electron versions use Swift for getUserMedia API, so maybe ffmpeg.dll is no longer used and your issue may be related in some sort of version compatibility? (just speculating)