M4A (AAC) export fails with FFmpeg error 0x15002
Posted: Sun May 24, 2020 6:37 am
I'm on macOS Catalina 10.15.4, using Audacity 2.4.1.
I installed FFmpeg as per the instructions (64-bit using the pkg). I can export to AC3 and WMA. But when I try to export to M4A (AAC), it gives:
FFmpeg Error
Can't open audio codec "aac" (0x15002)
Experimental feature
I've tried with Project Rate of 44.1 kHz and 48 kHz, with a single mono track and a single stereo track, with different quality settings (though mostly with the default). I have tried uninstalling the app and deleting all settings/libraries - i.e.
* Deleted ~/Library/Application Support/audacity
* Deleted /Library/Application Support/audacity
I then reinstalled Audacity and FFmpeg, but with the same result.
Nothing gets registered in the log file.
The only possible reason I can think of is that I had previous installed audacity using Homebrew. I discovered that isn't possible any more, so uninstalled it (with brew uninstall). I also had ffmpeg 4.2.2 installed independently through Homebrew, and uninstalled that as well. Still no luck.
Incidentally, the log file gives the following for the FFmpeg library version numbers:
16:09:04: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
16:09:04: AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
16:09:04: AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)
I installed FFmpeg as per the instructions (64-bit using the pkg). I can export to AC3 and WMA. But when I try to export to M4A (AAC), it gives:
FFmpeg Error
Can't open audio codec "aac" (0x15002)
Experimental feature
I've tried with Project Rate of 44.1 kHz and 48 kHz, with a single mono track and a single stereo track, with different quality settings (though mostly with the default). I have tried uninstalling the app and deleting all settings/libraries - i.e.
* Deleted ~/Library/Application Support/audacity
* Deleted /Library/Application Support/audacity
I then reinstalled Audacity and FFmpeg, but with the same result.
Nothing gets registered in the log file.
The only possible reason I can think of is that I had previous installed audacity using Homebrew. I discovered that isn't possible any more, so uninstalled it (with brew uninstall). I also had ffmpeg 4.2.2 installed independently through Homebrew, and uninstalled that as well. Still no luck.
Incidentally, the log file gives the following for the FFmpeg library version numbers:
16:09:04: AVCodec version 0x373466 - 55.52.102 (built against 0x373466 - 55.52.102)
16:09:04: AVFormat version 0x372164 - 55.33.100 (built against 0x372164 - 55.33.100)
16:09:04: AVUtil version 0x344264 - 52.66.100 (built against 0x344264 - 52.66.100)