Help - Search - Members - Calendar
Full Version: convert MP4 packed AAC to ADTS?
Hydrogenaudio Forums > Lossy Audio Compression > AAC > AAC - General
aNTropocentrio
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
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.
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
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
That's easy
CODE
ffmpeg -i xxx.mp4 -acodec copy xxx.aac
Dracaena
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 smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.