I’m getting this error when trying to export an mp3 file to AAC format.
Can’t open audio codec “aac” (0x11a)
The Codec reported an invalid parameter (EINVAL)
I guess that that error is coming from FFMPEG, since I also get this from Audacity
{
"timestamp": 1643913267,
"event_id": "04d603b9b78e31449d28ec0d085f8cbe",
"platform": "native",
"release": "audacity@3.1.2",
"contexts": {
"os": {
"type": "os",
"name": "Windows",
"version": "10.0.19044"
}
},
"exception": {
"values": [
{
"type": "Warning",
"value": "Unable to export.\nError FFmpeg:1008",
"mechanism": {
"type": "runtime_error",
"handled": false
}
}
]
}
}
And this is from the Diagnostic log
13:47:38: Error: File 'D:\Iens Files\Iens Music\Ringtones\IPhone\I Feel Lucky.m4a' couldn't be removed (error 32: The process cannot access the file because it is being used by another process.)
13:48:39: Error: Failed to load shared library 'avformat-58.dll' (error 126: The specified module could not be found.)
13:48:39: Error: Failed to load avformat-58.dll (error 5: Access is denied.)
13:48:39: Error: Failed to load shared library 'avformat-57.dll' (error 126: The specified module could not be found.)
13:48:39: Error: Failed to load avformat-57.dll (error 5: Access is denied.)
13:48:39: Error: Couldn't find symbol 'avio_context_free' in a dynamic library (error 127: The specified procedure could not be found.)
13:48:39: Error: Couldn't find symbol 'av_packet_alloc' in a dynamic library (error 127: The specified procedure could not be found.)
13:48:39: Error: Couldn't find symbol 'av_packet_free' in a dynamic library (error 127: The specified procedure could not be found.)
13:48:39: Error: Couldn't find symbol 'avcodec_free_context' in a dynamic library (error 127: The specified procedure could not be found.)
13:48:51: [aac @ 000001BC6B649CE0] Too many bits per frame requested
I’ve tried on 2 computers (both Win10 64bit) with Audacity 3.1.3, and on one of them with 3.1.2 as well. I’ve tried with a few mp3 files, and also a wav file.
Conversion to an AC3 file works.
Anyone have any ideas what I might be doing wrong?