I'm converting some audio files using foobar2000/neroAAC. Output files are in MP4 format, but my phone supports only .aac files. Is there a way to convert MP4 AAC files to ADTS? Or, even better, to convert directly to .aac files with foobar?
Dracaena
Mar 20 2009, 09:53
You can use mp4box to extract raw aac to a file from an mp4, but the tag information will not carry over. AFAIK aac was never meant to be used without a container, but some people (eg. the manufacturer of your phone) decided to do it anyway. What tagging scheme the phone uses for raw .aac files is anyone's guess, although using the software supplied with the phone should work in most cases.
.alexander.
Apr 15 2009, 16:29
Do you think there is another tool for conversion to ADTS? I just found that "FAAD -A" produces bad headers (ADTS_BUFFER_FULLNESS is 0x7CF but not 0x7FF).
benski
Apr 15 2009, 16:47
QUOTE (Dracaena @ Mar 20 2009, 04:53)
AFAIK aac was never meant to be used without a container, but some people (eg. the manufacturer of your phone) decided to do it anyway.
ADTS is part of the AAC standard, actually. In fact, it predates the MP4 container by quite a bit, with ADTS being defined in MPEG-2 and MP4 being defined in MPEG-4.
roozhou
Apr 15 2009, 18:03
That's easy
CODE
ffmpeg -i xxx.mp4 -acodec copy xxx.aac
Dracaena
Apr 19 2009, 01:18
QUOTE (benski @ Apr 16 2009, 01:47)
ADTS is part of the AAC standard, actually. In fact, it predates the MP4 container by quite a bit, with ADTS being defined in MPEG-2 and MP4 being defined in MPEG-4.
Ah I was mistaken, I thought mp4box output raw aac, whereas it actually comes out in ADTS. I would consider ADTS a container. Always happy to be corrected
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.