Blog · 04/10/2021
WhatsApp system error: ffmpeg.dll
On Windows 10 and Windows 11, the WhatsApp desktop app may display this error on launch:
WhatsApp.exe - System Error
Original Spanish message: “La ejecución del código no puede continuar porque no se encontró ffmpeg.dll.”
English: “The program can’t continue because ffmpeg.dll was not found.” Reinstalling the app may fix the problem.

Uninstalling and reinstalling the app may fix the problem temporarily.
However, for many users, the error returns after the next Windows restart.
The error is caused by a missing ffmpeg.dll file required by WhatsApp Desktop.
How to fix the WhatsApp Desktop error
To add the missing file (without the need to reinstall), you can do the following steps:
Show hidden folders in File Explorer.

Open C:\Users\USER_NUMBER\AppData\Local\WhatsApp. You should find two version folders (app-2.2134.10 and app-2.2138.13), each containing WhatsApp.exe.
You can paste this path into File Explorer to open the folder without entering your Windows username:
%localappdata%\WhatsApp

In this example, the newest folder, app-2.2138.13, is missing ffmpeg.dll.
To restore the missing file, copy ffmpeg.dll from the previous version folder (app-2.2134.10) to the newest folder (app-2.2138.13).

After copying ffmpeg.dll into the folder for the new WhatsApp version (app-2.2138.13), the app should work again.
For more information, see this post, which explains the solution in detail: https://www.reddit.com/r/Windows11/comments/pzo7dl/whatsapp_system_error/