Has there been any progress on this?
I got this output from ffmpeg. I'm trying to manually mess with the header (these files have the header at the bottom for some reason). I can assemble the header to look good and Audacity says its an AAC file at that point and fails to load it (whereas it would load it without modification). I installed BASS_AAC and using both Bass_AAC and Bass_MP4 I get a FileForm error and a 0 value for my stream.
There's got to be way to do this if FFMPEG does it.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'badguy.m4a':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf60.20.100
Duration: 00:03:18.62, start: 0.000000, bitrate: 508 kb/s
Stream #0:0[0x1](und): Audio: opus (Opus / 0x7375704F), 48000 Hz, 5.1.4, fltp, 506 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id :
File 'badguy.opus' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Output #0, opus, to 'badguy.opus':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf60.20.100
Stream #0:0(und): Audio: opus (Opus / 0x7375704F), 48000 Hz, 5.1.4, fltp, 506 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id :
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf60.20.100
Press [q] to stop, [?] for help
[out#0/opus @ 000002ee19a5c100] video:0kB audio:12289kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.484216%
size= 12348kB time=00:03:18.62 bitrate= 509.3kbits/s speed=1.5e+03x