Everyday tasks
Installing FFmpeg
FFmpeg lets you import and export additional audio file formats in Audacity.
FFmpeg lets you import and export additional audio file formats in Audacity, such as M4A (AAC), WMA, AC3 and AMR, and import the audio track from most video files (MP4, MOV, MKV and others).
Due to patent restrictions, FFmpeg cannot be distributed with Audacity itself, so you install it separately. You don’t need FFmpeg for WAV, AIFF, FLAC, MP3, Ogg Vorbis or Opus. Those formats work out of the box.
If you’d rather watch than read, this walkthrough covers Windows, macOS and Linux:

Which FFmpeg version works with my Audacity?
Audacity loads FFmpeg’s avformat library, and each Audacity release supports a fixed set of avformat versions. If your FFmpeg is newer than your Audacity, Audacity won’t detect it. Update Audacity, or install an older FFmpeg.
| Audacity version | Supported avformat versions | Matching FFmpeg releases |
|---|---|---|
| before 3.1 | 55 | 2.2 – 2.4 |
| 3.1 | 55, 57, 58 | 2.2 – 2.4, 3.x – 4.x |
| 3.2 | 55, 57 – 59 | 2.2 – 2.4, 3.x – 5.x |
| 3.3 – 3.5 | 55, 57 – 60 | 2.2 – 2.4, 3.x – 6.x |
| 3.6 – 3.7.5 | 55, 57 – 61 | 2.2 – 2.4, 3.x – 7.x |
| 3.7.6 – 3.7.8 | 55, 57 – 62 | 2.2 – 2.4, 3.x – 8.x |
| 3.7.9, 4.0 and later | 55, 57 – 63 | 2.2 – 2.4, 3.x – 9.x |
Whichever source you install from:
- Use a shared build of FFmpeg, one that includes
.dll,.dylibor.solibrary files. Static builds contain only theffmpegprogram and won’t work with Audacity. The same applies if you compile FFmpeg yourself: build it as shared, from a release your Audacity supports. - Install the whole FFmpeg package, not only the avformat file. Audacity also needs the matching avcodec and avutil libraries next to it.
- Use a numbered release. Development (“master” or “git”) builds of FFmpeg aren’t supported.
- FFmpeg must match the architecture of Audacity: x64 (Intel or AMD) Audacity needs x64 FFmpeg, and ARM64 Audacity needs ARM64 FFmpeg.
Installing FFmpeg
Recommended installer
- Download the FFmpeg installer from lame.buanzo.org/ffmpeg.php. It’s a community-maintained installer built for Audacity. For most computers the 64-bit (x64) version is correct.
- Run the installer. You can ignore the “unknown publisher” warning.
- Read and accept the license.
- Select the location to install FFmpeg. By default FFmpeg will be installed into
C:\Program Files\FFmpeg for Audacity. - Finish the installation.
- Restart Audacity.
Audacity should now automatically detect FFmpeg and allow you to use it. To check, open Preferences → General and look at the FFmpeg library entry: it should show a version number.
Installing using WinGet
FFmpeg for Audacity is also available on WinGet:
winget install --id=Buanzo.FFmpegforAudacity -eWindows on ARM
The recommended installer is x64 only. If you use the x64 build of Audacity on an ARM device, the x64 installer works. If you use a native ARM64 build of Audacity, download an ARM64 shared build from github.com/tordona/ffmpeg-win-arm64 and follow the manual installation steps below.
Other FFmpeg builds
If you prefer a manual installation of FFmpeg you can download a shared release build (not a static or master build) that matches your Audacity version, see the table above:
- github.com/BtbN/FFmpeg-Builds/releases: pick a file named like
ffmpeg-n8.1-latest-win64-gpl-shared-8.1.zip. - gyan.dev/ffmpeg/builds/#release-builds: pick a
full_build-sharedrelease. - Or compile it from source, as described in the FFmpeg compilation guide.
Unzip the archive, then follow the manual installation steps below. The library files are in the bin folder.
Manual installation
If you have installed FFmpeg from a different source, or installed it in a different location, you’ll need to tell Audacity where to find it:
- Go to Preferences → General → FFmpeg library.
- Click Locate existing installation.
- If a success message appears, Audacity has already identified FFmpeg. You can click No as Audacity already knows where to find it. If that message doesn’t appear, continue with the next steps.
- In the dialog window, click Browse… and select the
avformat-XX.dllfile (for exampleavformat-61.dll) in the folder where you installed or unzipped FFmpeg. In downloaded ZIP builds, it’s in thebinfolder. - Once you’ve found it, click Open, then OK, then OK again to close the preferences.
Recommended installer
This is a universal binary installer: it works on both Apple silicon and Intel Macs, and requires macOS 12 (Monterey) or newer.
- Download FFmpeg for macOS from lame.buanzo.org/ffmpeg.php.
- When the download is finished, open the
.pkg. You’ll be guided through the installation. - Click through the steps in the installer.
- On some Macs the process may look as though it has stalled on “Validating packages” — just be patient and wait for it to complete.
- Restart Audacity if it was running. Audacity should detect FFmpeg automatically.
If you have problems with Audacity detecting FFmpeg, follow the manual installation steps below.
Older macOS (Big Sur or earlier)
For macOS 10.11 (El Capitan) to 11 (Big Sur), use the legacy installer. This only applies to Audacity 3.x and earlier, because Audacity 4 requires macOS 13 (Ventura) or newer.
- Download ffmpeg_64bit_osx.pkg from lame.buanzo.org.
- Open the
.pkgand follow the installer steps. - Restart Audacity. It should detect FFmpeg automatically.
This installer is Intel only, so you need the x86_64 (Intel) Audacity download.
Homebrew
One way to install an FFmpeg version that matches your system architecture is using Homebrew. You can install it through Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Once you have Homebrew, install FFmpeg with:
brew install ffmpegRestart Audacity. It looks for FFmpeg in the default Homebrew locations (/opt/homebrew/lib on Apple silicon, /usr/local/lib on Intel), so it should be detected automatically. If not, follow the manual installation steps below.
Compiling other versions
You can download or compile FFmpeg yourself, as described in the FFmpeg macOS compilation guide. Build it as a shared library (with .dylibs), as only those can be used by Audacity.
Manual installation
If you have installed FFmpeg from a different source, or installed it in a different location, you’ll need to tell Audacity where to find it:
- Go to Preferences → General → FFmpeg library.
- Click Locate existing installation.
- If a Success message appears, Audacity has successfully found FFmpeg. You can click No as Audacity already knows where to find it. If that message doesn’t appear, continue with the next steps.
- In the Locate FFmpeg dialog, click Browse… and select the
libavformat.XX.dylibfile (for examplelibavformat.61.dylib). Files from the recommended installer are namedffmpeg.XX.64bit.dyliband are in/Library/Application Support/audacity/libs. In the file dialog, press Cmd+Shift+G to type a folder path directly. - Once you’ve found it, click Open, then OK, then OK again to close the preferences.
Troubleshooting
- Architecture mismatch, most common on Apple silicon. Make sure that your FFmpeg and Audacity architectures match: arm64 (Apple silicon) Audacity needs arm64 FFmpeg, and x86_64 (Intel, also known as x64 and amd64) Audacity needs x86_64 FFmpeg. To check a library, run
file /path/to/libavformat.XX.dylibin Terminal. - FFmpeg version too new. Compare your FFmpeg version with the table at the top of this page, then update Audacity or install an older FFmpeg.
On most distributions you can install FFmpeg through the package manager. Use the relevant command in your Terminal:
Debian, Ubuntu, Pop!_OS, Mint
sudo apt install ffmpegFedora, Red Hat, CentOS Stream
First enable the RPM Fusion repository, then replace Fedora’s reduced-codec build with the full one:
sudo dnf swap ffmpeg-free ffmpeg --allowerasingArch, Manjaro
sudo pacman -Syu ffmpegOnce you’ve installed FFmpeg, restart Audacity. It will automatically try to detect it.
Manual installation
If your FFmpeg installation didn’t get detected, you’ll need to tell Audacity where to find it:
- Go to Preferences → General → FFmpeg library.
- Click Locate existing installation.
- If a Success message appears, Audacity has successfully found the library. You can click No as Audacity already knows where to find it. If that message doesn’t appear, continue with the next steps.
- In the Locate FFmpeg dialog, click Browse… and select the
libavformat.so.XXfile (for examplelibavformat.so.61). On most distributions it’s in/usr/lib,/usr/lib64or/usr/lib/x86_64-linux-gnu. - Once you’ve found it, click Open, then OK, then OK again to close the preferences.
Last updated