Arduino IDE fmpeg.dll error

Good days, Whenever I try to open Arduino IDE it says me that''The code execution cannot proceed because fmpeg.dll was not found. Reinstalling the program may fix this problem.''
I searched up and saw comments like that '' try download fmpeg.dll then put it in the arduino IDE files.'' I did but nothing changes. Is there any solutions? (If my english is bad then I'm sorry abt that.)

Welcome to the forum

Please confirm exactly which version of the IDE that you are using

Have you tried reinstalling the program, as suggested ?

Yes, I tried it many times. I'm using 2.3.4 vers currently.

I am glad that I asked, because you posted in the IDE 1.x category of the forum but you are using IDE2.x

Your topic has been moved to the IDE 2.x category of the forum where it belongs

Ah, I didn't notice. Sorry about that mistake, i'll take care next time. I just looked peoples forms that has similar problems with me, thats why i opened it at IDE 1.x as you can understand i'm new at these forum things. But i'll take care next time, thanks for helping.

Hi @theshii. I'm going to ask you to provide some additional information that might help us to identify the problem. From the mention of a DLL in the error message, I'm assuming you are using Windows so I'll provide the instructions for doing that on Windows.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
    A context menu will open.
  5. Select "Open PowerShell window here" from the menu.
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE"
    
  7. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  8. Wait for Arduino IDE to finish starting.
  9. Switch back to the PowerShell window.
  10. Press the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  11. Press the Ctrl+C keyboard shortcut.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the "Reply" button.
  13. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  14. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

`PS C:\Users\Egehan Bilgin\Desktop\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Egehan Bilgin\Desktop\Arduino IDE>`

It just says me when i text the code. I've waiting for mins but nothing else. I'm using win 10.

This happens when Arduino IDE is already running. If you already have Arduino IDE windows open, please close all of them and then try running it from PowerShell again.

If you don't have any Arduino IDE windows open, there might be a hidden zombie process running due to the error. Restart your computer to kill off the process and then try running it from PowerShell again.

I've restarted my computer. I can't even open arduino IDE so i don't think it'd be running. I restarted my computer and just opened browser and PowerShell, then i texted the code but still it says the same thing. I forgot to tell but i've downloaded Arduino IDE as a zip. Then i put all of the things in a file to open PowerShell.

PS C:\Users\Egehan Bilgin\Desktop\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Egehan Bilgin\Desktop\Arduino IDE>

That's what it says still.

Do you see a file named ffmpeg.dll in the Arduino IDE installation folder? The installation includes this file.

Did you replace the existing ffmpeg.dll file when you did that?

I'm not sure I understood correctly what you mean by this. Please provide a more detailed description of what you mean by this in a reply on this forum thread to help us to understand it.

It didn't say me something like ''theres already an existing ffmpeg.dll.'' I just put it there and nothing has changed. Also theresn't any ffmpeg.dll in the files.

I mean, i downloaded it as a zip file. Then i converted zip to folder.

I already have a downloaded ffmpeg.dll, when i see that theresn't in the file i put it in and i restarted my pc but it's still same.

This is very strange. Did you download Arduino IDE from the link on the "Software" page?:

I'm sorry for replying late it was very late in my country. Yes, I downloaded IDE from there as a zip file. It's still same.

It's been 2 days and i still cant open IDE. Luckily i don't have much time left so it doesn't bother me. At the weekend or tomorrow i'll try some more ways to solve, if i succes then i'll text here.

It is possible that the security software/antivirus on your computer is quarantining the ffmpeg.dll file.

As an experiment, you can try :warning: TEMPORARILY :warning: disabling the security software/antivirus on your computer for a single IDE startup attempt to see if the problem goes away:

  1. Disable the security software/antivirus software.
  2. Start Arduino IDE, just as you did before when you encountered that ''The code execution cannot proceed because fmpeg.dll was not found." error.
  3. Wait for Arduino IDE to either start up successfully or fail to start.
  4. Immediately enable the security software/antivirus software again.

If the problem doesn't occur when you tried starting Arduino IDE while the security software was disabled, you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allowlist" so it doesn't interfere with compilation.


:warning: Please be cautious about working with the security software disabled. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the security software so that it does not interfere with the Arduino software.


Thanks so much. It worked, I finally can enter IDE.

You are welcome. I'm glad it is working now.

Regards, Per

terribly sorry, but I seem to have run into the same problem, and turning off my antivirus seemed to have been ineffective.