PDA

View Full Version : AAC audio in AVI file. I found the directshow filter.


jdle
11th June 2002, 12:32
I found this directshow AAC filter in the DVD2AVI pgae
http://arbor.ee.ntu.edu.tw/~jackei/projectbsd/

The program adds a wave header to a *.AAC file.
I multiplex the waved AAc file with a divx video using Virtual dub 1.4.10 . It plays fine.
How come no one is encoding their DVD-rips with AAC audio?

tiki4
11th June 2002, 13:13
this seems to be again Nic's DirectShow filter. I don't know exactly all the details but this thing has some problems according to the author ('crappy beta 2'). Search the forums.

tiki4

Nic
11th June 2002, 13:58
Yup, it werent called "crappy beta" for nothing (infact it was good for just playing aac audio, but inside video it went all screwy)

As ive said, as soon as MCF is ready or OGM becomes opensource ill re-write it. :) (AAC cant work in AVI)

Cheers,
-Nic

Gabriel_Bouvigne
13th June 2002, 10:53
Why aac couldn't work with avi? It should work as well (or as bad) as mp3.

tiki4
13th June 2002, 11:01
That's the reason! It works as bad as VBR MP3 with the AVI format. The AVI container was never made up for containing variable bitrate audio and so variable bitrate AAC has the same problems. Nando used some really dirty tricks to get VBR MP3 working in AVI. Check the News section of www.virtualdub.org (http://www.virtualdub.org). Avery Lee gave some good explanations there some time ago.

tiki4

Gabriel_Bouvigne
13th June 2002, 11:34
Ok. I was thinking that perhaps there were some additional problems.

So it will work correctly only with cbr aac, in the same manner it works correctly only with cbr mp3.

Nic
13th June 2002, 12:41
Hi Gabriel,

The problem with AAC, is cbr mode (well Psytel CBR mode I know at least). Is not CBR, you can "pad" the frames...but by then, your defeating the object of using AAC.

The VBR MP3 issue was solved because a VBR frame will never reach over a fixed size (is it 1152? my memory's going ;) )...I think AAC is far more vbr & the frame size varies alot more than MP3. I did try modifying nandub to allow for AAC, but only with limited success. i.e. you get the same problem as you get with Ogg in an AVI, no seeking etc.

Anyway thats the rough reason for it....

Cheers,
-Nic

ps
I learnt alot from Shine :)

Gabriel_Bouvigne
13th June 2002, 12:51
Once again someone who learnt from shine?
That's incredible! This thing is the crappiest encoder in the world!

I think I really should do some internal lame documentation. This way people would be able to learn from lame (which really shines) instead of learning from shine (which is really lame)

Nic
13th June 2002, 14:11
LoL....

Don't knock shine :) , if you want to know the basics of MP3 encoding, its the best place to go ;)

(But yes, lots of documentation for Lame would be great :) :) )

Cheers,
-Nic