How to Install FFmpeg for Audacity: Step-by-Step
In this article
To install FFmpeg for Audacity, download the official FFmpeg library from the Audacity website, extract it, and point Audacity to the extracted folder. This gives Audacity the ability to import and export formats it otherwise cannot handle, such as M4A, AC3, AMR, and WMA. You need Audacity already installed and a working internet connection to download the library.
What You'll Need
- A computer with Audacity installed (Windows, macOS, or Linux).
- An internet connection to download the FFmpeg library.
- Administrator rights on Windows if you plan to install to a system folder (optional; you can use a user folder instead).
- About 50 MB of free disk space for the library files.
Step-by-Step
- Open Audacity and check if FFmpeg is already available. Go to Edit > Preferences (Windows/Linux) or Audacity > Preferences (macOS), then select Libraries in the left panel. Look for “FFmpeg Library” in the list. If it shows a version and a path, you already have it and can skip the rest. If it says “Not found” or shows a button to locate it, continue.
- Download the FFmpeg library from the official Audacity site. Open your browser and go to the Audacity website (audacityteam.org). Navigate to the download page and look for the “FFmpeg library” or “Plug-ins and Libraries” section. Choose the installer that matches your operating system: Windows (32-bit or 64-bit), macOS, or Linux. Do not download FFmpeg from random third-party sites; use only the link provided by Audacity to avoid incompatible builds.
- Run the installer (Windows) or extract the archive (macOS/Linux). On Windows, double-click the downloaded .exe file and follow the prompts. The installer will place the FFmpeg files in a folder and may offer to copy them into Audacity’s Plug-ins folder automatically. On macOS, open the downloaded .dmg or .zip and drag the FFmpeg folder to a location you can easily find, such as your Applications folder or home folder. On Linux, extract the archive to a directory like
/usr/local/libor your home folder. - Point Audacity to the FFmpeg files. Return to Audacity and open Edit > Preferences (or Audacity > Preferences on macOS), then Libraries. Click the Locate button next to “FFmpeg Library”. A file dialog opens. Navigate to the folder where you installed or extracted FFmpeg. On Windows, the installer usually creates a folder like
C:\Program Files\FFmpeg for AudacityorC:\Users\[YourName]\AppData\Roaming\audacity\Plug-Ins. On macOS, select the folder containing thelibavformatandlibavcodecfiles (often inside the extractedffmpegfolder). On Linux, point to the directory where you extracted the libraries (e.g.,/usr/local/lib). Select the folder and click OK or Open. - Verify the installation. After selecting the folder, Audacity should detect the library and display a version number (e.g., “FFmpeg 4.x” or similar) in the Libraries panel. Click OK to close Preferences. To test, try importing a file in a format that requires FFmpeg, such as an M4A or AC3 file. If the file imports without error, the installation was successful. You can also check the File > Export menu to see if formats like M4A (AAC) are now available.
- Restart Audacity if prompted. Some versions of Audacity require a restart for the library to load fully. Close Audacity completely and reopen it, then repeat the check in Preferences to confirm the library is still detected.
Common Mistakes
- Downloading FFmpeg from an unofficial source. Audacity requires a specific build of FFmpeg that matches its architecture (32-bit vs. 64-bit). Using a generic FFmpeg build from another site often results in “Library not found” or crashes. Always use the link on the Audacity website.
- Pointing to the wrong folder. When Audacity asks you to locate the library, you must select the folder that directly contains the FFmpeg shared libraries (e.g.,
avformat-58.dllon Windows orlibavformat.dylibon macOS). Selecting a parent folder or the folder containing the installer will not work. - Installing a 32-bit library on a 64-bit Audacity (or vice versa). The bitness must match. If you are unsure, check your Audacity version: in Audacity, go to Help > About Audacity (Windows/Linux) or Audacity > About Audacity (macOS). The about window shows whether it is 32-bit or 64-bit. Download the corresponding FFmpeg package.
- Forgetting to restart Audacity. After locating the library, some changes only take effect after a restart. If the library is not detected immediately, close and reopen Audacity.
- Using an outdated Audacity version. Older versions of Audacity may not support newer FFmpeg builds. If you have an old Audacity, consider updating to the latest version from the official site before installing FFmpeg.
Tips
- Keep the FFmpeg folder in a permanent location. If you move or delete it later, Audacity will lose access and you will need to locate it again.
- On Windows, the installer may offer to copy the files into Audacity’s Plug-ins folder automatically. Accepting this saves you the manual locate step.
- If you use a portable version of Audacity, place the FFmpeg folder inside the portable app’s directory and point Audacity to it there.
- Write down the folder path where you installed FFmpeg. You may need it if you reinstall Audacity or set up a new computer.
- FFmpeg is only needed for extra formats. Audacity can still edit WAV, AIFF, FLAC, and Ogg without it. Install FFmpeg only if you need to work with M4A, AC3, AMR, WMA, or similar formats.
Troubleshooting
If Audacity does not detect FFmpeg after you locate the folder, check the following:
- Verify the folder contents. Open the folder you selected. You should see files with names like
avcodec-58.dll,avformat-58.dll,avutil-56.dll(Windows) orlibavcodec.dylib,libavformat.dylib(macOS). If you only see an installer or a readme, you selected the wrong folder. - Check bitness. As mentioned in Common Mistakes, ensure the FFmpeg build matches your Audacity build (32-bit vs. 64-bit).
- Run Audacity as administrator (Windows). Sometimes permission issues prevent Audacity from reading the library folder. Right-click the Audacity shortcut and choose “Run as administrator”, then try locating the library again.
- Reinstall the FFmpeg library. If the files are corrupted or incomplete, download the package again and reinstall or re-extract.
- Check for conflicting plugins. Rarely, other plugins can interfere. Try temporarily disabling other plugins in the Preferences > Libraries panel and see if FFmpeg is detected.
- Consult Audacity’s help. The Audacity manual and forum have specific guides for each operating system. Search for “FFmpeg installation” on the official Audacity support pages.
If none of these work, uninstall Audacity completely (back up your projects first), reinstall the latest version from the official site, and then repeat the FFmpeg installation steps. This clears any corrupted settings.
Frequently Asked Questions
Do I need FFmpeg to use Audacity?
No. Audacity works without FFmpeg for common formats like WAV, AIFF, FLAC, and Ogg. FFmpeg is only required for importing or exporting additional formats such as M4A, AC3, AMR, and WMA.
Where can I download FFmpeg for Audacity?
Download it only from the official Audacity website (audacityteam.org). Look for the “FFmpeg library” link on the download page. Avoid third-party sites, as they may provide incompatible builds.
Why does Audacity say “FFmpeg library not found” after I installed it?
This usually means Audacity is pointing to the wrong folder or the bitness (32-bit vs. 64-bit) does not match. Double-check the folder contents and your Audacity version, then use the Locate button to select the correct folder.
Can I use a different version of FFmpeg with Audacity?
Audacity requires a specific build of FFmpeg that is compatible with its internal API. Using a generic FFmpeg build from another source may not work. Always use the version provided by the Audacity team.
Does installing FFmpeg affect Audacity’s performance?
No. FFmpeg is only loaded when you use a format that requires it. It does not slow down normal editing or recording.
How do I uninstall FFmpeg from Audacity?
You can simply delete the FFmpeg folder you installed, or use the uninstaller if you ran an installer. Then in Audacity’s Preferences > Libraries, click “Clear” next to the FFmpeg entry to remove the path. Audacity will revert to its built-in formats.