Hi!
I'm working on integrating uaac.h as an AAC decoder for miniaudio, but I'm having issues getting uaac to decode my AAC files in the first place. I'm using ffmpeg and libfdk_aac (Fraunhofer FDK AAC) to encode my files. I've tested with your aplay+ program and am getting the same issue.
I have two files in the following test:
output.m4a was encoded with the default ffmpeg/libfdk_aac settings
output-moov.m4a was encoded the same way, but I passed the -movflags +faststart options so that the moov atom would be at the start of the file (since uaac wasn't able to find it)
$ ./aplay+ files/
/home/grish/scratch/aplay-/files/output.m4a
[moov] is not found!
[trak] is not found!
[mdia] is not found!
[hdlr] is not found!
type:4d344120/736f756e 0 fffffff8
Error: cannot read AAC data
/home/grish/scratch/aplay-/files/output-moov.m4a
[mdat] is not found!
Error: cannot read AAC data
I've been playing around with the uaac_extract_aac function, but am not well-versed in decoding audio files. Curious if you have any ideas here, or at least a sense of how much work it would be to get this working. I have a rather large audio library that's encoded in the same way, so I'm hoping to get this working without modifying the audio files.
Hi!
I'm working on integrating
uaac.has an AAC decoder forminiaudio, but I'm having issues gettinguaacto decode my AAC files in the first place. I'm using ffmpeg andlibfdk_aac(Fraunhofer FDK AAC) to encode my files. I've tested with youraplay+program and am getting the same issue.I have two files in the following test:
output.m4awas encoded with the defaultffmpeg/libfdk_aacsettingsoutput-moov.m4awas encoded the same way, but I passed the-movflags +faststartoptions so that themoovatom would be at the start of the file (sinceuaacwasn't able to find it)I've been playing around with the
uaac_extract_aacfunction, but am not well-versed in decoding audio files. Curious if you have any ideas here, or at least a sense of how much work it would be to get this working. I have a rather large audio library that's encoded in the same way, so I'm hoping to get this working without modifying the audio files.