View Full Version : Mux aac stream (adts) into AAC wrapper?
PixelH8
3rd January 2013, 15:33
So I extracted the aac stream out of a video but it's hard for many programs to see the proper audio length of raw adts, so I need a way to put it back into an AAC wrapper. MKA, MP4, M4A are all very easy but I see nothing for AAC aside from re-encoding it?
This seems like something extremely simple but I can't figure it out.
filler56789
4th January 2013, 15:39
It seems you are misunderstanding something. The file extension .AAC normally (and already) means AAC with ADTS headers. "Pure" or "raw" AAC is normally useless, and we'd like to know what software you used for getting them in the first place. :)
PixelH8
5th January 2013, 03:49
Doh! I figured it out. It was mostly a "problem" with foobar2000 not being able to seek through raw aac without a container (something about sample-exact processing). I just used mkvextract to mux out the aac track of a youtube video, but I couldn't get foobar2000 to recognize the duration and seeking is disabled. Turns out aac doesn't support seeking and programs that can seek through aac are apparently not using "sample-exact" methods. Bummer.
tebasuna51
5th January 2013, 09:36
Like filler56789 say you "raw" aac is useless.
The files extracted by mkvextract aren't "raw" because have ADTS headers.
The problem about recognize the duration is common to all audio with Variable BitRate (VBR) out of a container or without a global header, like some .mp3 or .dtshd also, because to know the exact duration must be read before the whole stream.
The problem about exact seeking of VBR audio is common to all audio out of a container, only a container like .mka or .m4a provide the indexes to locate a exact sample.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.