Fix Audacity FFmpeg Library Not Found Error

The "FFmpeg library not found" warning appears in Audacity when you attempt to import unsupported proprietary audio or video formats, such as M4A, AAC, WMA, or MP4 audio tracks. While Audacity natively handles uncompressed formats like WAV and AIFF alongside standard MP3s, it relies on the third-party FFmpeg library to decode most modern compressed containers. Resolving this issue requires downloading the compatible FFmpeg package for your operating system and linking it within Audacity's preferences.

Why Audacity Requires FFmpeg

Due to software patent and licensing restrictions, Audacity cannot bundle the FFmpeg library directly with its core installer. When you import an audio file encoded in an advanced format, Audacity searches for local FFmpeg shared libraries. If the library is missing, improperly located, or incompatible with your Audacity version, the software blocks the import and displays the warning.

Step 1: Download the Compatible FFmpeg Library

  1. Open Audacity.
  2. Open the preferences menu:
    • Windows: Go to Edit > Preferences.
    • macOS: Go to Audacity > Preferences.
  3. Select Libraries from the left-hand navigation pane.
  4. Locate the FFmpeg Library Version section and click the Download button.
  5. Audacity will open your web browser to the official Audacity manual page. Follow the provided links to the external download page suited for your operating system (Windows, macOS, or Linux) and system architecture (64-bit or 32-bit).
  6. Download the standard installer package (.exe for Windows, .pkg or .dmg for macOS).

Step 2: Install the FFmpeg Package

  1. Close Audacity completely to prevent file conflicts.
  2. Run the downloaded installer file.
  3. Follow the setup wizard and accept the default installation paths. On Windows, this typically installs to C:\Program Files\FFmpeg for Audacity. On macOS, it installs to /Library/Application Support/audacity/libs.
  4. Once the installation completes, relaunch Audacity. In most cases, Audacity will automatically detect the new library upon startup.

Step 3: Manually Locate the Library (If Not Detected)

If Audacity still fails to recognize FFmpeg after restarting:

  1. Return to Edit > Preferences > Libraries (or Audacity > Preferences > Libraries on macOS).
  2. Look at the FFmpeg Library Version field. If it says "FFmpeg library not found," click the Locate... button.
  3. A file browser window will appear asking for the location of the library file:
    • Windows: Navigate to C:\Program Files\FFmpeg for Audacity and select avformat-*.dll.
    • macOS: Navigate to /Library/Application Support/audacity/libs and select libavformat*.dylib.
  4. Click Open, then click OK to save your preferences.

The "FFmpeg Library Version" section should now display the active version number. You can immediately import your M4A, AAC, or video-based audio files without encountering the warning.