Skip to main content

Topic: AAC in AVI container (Read 50574 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Todesengel
  • [*]
AAC in AVI container
please tell me someone - how can I warp AAC files into AVI container? I can use MP4 but I want to try AVI. Maybe VirtualDubMod can do it? I know it can manage AC3, OGG and MP3.

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
AAC in AVI container
Reply #1
You need a working AAC ACM codec for that I think. I say working, cause there exists one, but it doesn't really work in it's current shape.

Menno

  • ChristianHJW
  • [*][*][*][*][*]
AAC in AVI container
Reply #2
AAC in AVI is possible in principal, but to be 100% AVI spec compliant it needed to be CBR ( Constant Bitrate ). Of course, maybe the same hack as with VBR MP3 in AVI would work, but then you cant use an ACM codec anymore but have to hardcode AAC support into the AVI writing app, like VirtualdubMod. Cyrius, the main dev of it, has no intention do so he once told me ....
Support matroska - the bestest vapourware project ! http://www.matroska.org

  • kl33per
  • [*][*][*][*][*]
AAC in AVI container
Reply #3
Quote
AAC in AVI is possible in principal, but to be 100% AVI spec compliant it needed to be CBR ( Constant Bitrate ). Of course, maybe the same hack as with VBR MP3 in AVI would work, but then you cant use an ACM codec anymore but have to hardcode AAC support into the AVI writing app, like VirtualdubMod. Cyrius, the main dev of it, has no intention do so he once told me ....

And now that we have the beautiful, wonderful, and extensible Matroska, we really don't have much need for it.
www.sessions.com.au - Sessions Entertainment

  • danchr
  • [*][*][*][*]
AAC in AVI container
Reply #4
Quote
And now that we have the beautiful, wonderful, and extensible Matroska, we really don't have much need for it.

Or the variation:

And now that we have the beautiful, wonderful, and extensible MP4, we really don't have much need for it.

You'll even be conforming to an ISO standard  If you don't want to use MPEG-4 or H.263 video, you can try the MOV file format.

  • wkwai
  • [*][*][*][*]
  • Developer
AAC in AVI container
Reply #5
Do you need to register with Microsoft if you are going to use AAC within the AVI container? Do you need some kind of Microsoft Development Tool Kits to develope an ACM codec?

  • NumLOCK
  • [*][*][*][*][*]
  • Developer
AAC in AVI container
Reply #6
Quote
Do you need to register with Microsoft if you are going to use AAC within the AVI container? Do you need some kind of Microsoft Development Tool Kits to develope an ACM codec?

I guess you'd need Visual C++, an open-source ACM audio codec (LAME's ?), some patience and lots of motivation.

About Microsoft: they consider AVI as an obsolete format, and they don't support or help independant developers (because they don't need nor like them). So don't expect much from them.

Good luck !
Try Leeloo Chat at http://leeloo.webhop.net

  • wkwai
  • [*][*][*][*]
  • Developer
AAC in AVI container
Reply #7
Ahhh... I remembered that in my former company.. we had to hire a Master Degree person just to crack the windows 95 AVI driver because there is No documentation by Microsoft.. Something like "Windows 95 Hacked"..

  • ChristianHJW
  • [*][*][*][*][*]
AAC in AVI container
Reply #8
Quote
About Microsoft: they consider AVI as an obsolete format, and they don't support or help independant developers (because they don't need nor like them). So don't expect much from them.

I just hope nody will really think about making an AAC ACM codec.

The Indians have/had a saying i was told :

'Once you recognize you are riding a dead horse, leave it behind and get a new one ...'

.....
Support matroska - the bestest vapourware project ! http://www.matroska.org

  • alexnoe
  • [*][*]
AAC in AVI container
Reply #9
If AAC has constant frame duration, then the MP3 hack would work, but according to the specs I have, AAC can have variable frame duration...

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
AAC in AVI container
Reply #10
Quote
If AAC has constant frame duration, then the MP3 hack would work, but according to the specs I have, AAC can have variable frame duration...

It has constant frame duration. The frame duration can only change from file to file, not in a file.

Menno

  • alexnoe
  • [*][*]
AAC in AVI container
Reply #11
Ah! So it is similar to DTS. I yet want to see a DTS file with variable frame duration

Then it is possible to hack it into AVI

  • ChristianHJW
  • [*][*][*][*][*]
AAC in AVI container
Reply #12
Quote
Then it is possible to hack it into AVI

    BEWARE !!!!!   

If that happens, i immediately quit my job on Vdub Support Forums, sorry Avery Lee  .....  we have enough people coming there asking why this and that doesnt work in Vdub, AAC audio in AVI would certainly be the final thing to make me leave there  !

Of course, before alexnoe will kick my ass now, this is not a limitation of AVI, but of the VfW/VCM API and Vdub  ....
Support matroska - the bestest vapourware project ! http://www.matroska.org

  • rjamorim
  • [*][*][*][*][*]
AAC in AVI container
Reply #13
Good lord... >_<
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • Linkin
  • [*][*][*][*]
AAC in AVI container
Reply #14
why not just use another container before hacking avi?

  • rjamorim
  • [*][*][*][*][*]
AAC in AVI container
Reply #15
Maybe because AVI is the most widely used and supported container... ?
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • alexnoe
  • [*][*]
AAC in AVI container
Reply #16
Hacking it is fun! That's all! Who would ever have though that you can not only put SSA into AVI, but that even splitting/joining files, even if the styles differ, would work out 

  • Bonzi
  • [*][*][*][*]
AAC in AVI container
Reply #17
Hehe, Nic once made a program which put aac into wav so you could mux it into avi, it used to be available on rarewares but I can't find it there anymore.  It was called Nic's crappy beta IIRC.  It didn't work all that well either.

  • rjamorim
  • [*][*][*][*][*]
AAC in AVI container
Reply #18
Quote
Hehe, Nic once made a program which put aac into wav so you could mux it into avi, it used to be available on rarewares but I can't find it there anymore.  It was called Nic's crappy beta IIRC.  It didn't work all that well either.

Well, Nic did that so that AAC could be played on DirectShow. That's the reason of the hackish WAV wrapping.

I deleted it because nowadays there are more elegant ways of loading AAC in dshow (wrapping in MP4 or using the AAC parser filter). Also, his directshow filter was based on FAAD1, which is slower and less featureful than faad2 (used in CoreAAC).

Regards;

Roberto.
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • razor1000
  • [*]
AAC in AVI container
Reply #19
In the other thread I started on this topic Latexxx notes that the AAC parser filter isn't working. Is he correct?

It seems like he might just be missing a filter.

  • DAvenger
  • [*][*][*][*]
AAC in AVI container
Reply #20
I wonder why Nic named it "crappy beta" 
Reklama na internete - http://www.consultone.sk

  • sergelac
  • [*][*][*]
AAC in AVI container
Reply #21
Quote
In the other thread I started on this topic Latexxx notes that the AAC parser filter isn't working. Is he correct?

It seems like he might just be missing a filter.

i have the same result than Latexxx
but the AAC parser filter is working for playback
Worms Armageddon Maps & Schemes : http://sergelac.cjb.cc/maps/maps.htm

  • Latexxx
  • [*][*][*][*][*]
AAC in AVI container
Reply #22
The muxing issue isn't aac source filter's fault it is the avi muxer's fault. There just isn't currently any way to mux aac to avi. Just like ChristianHJW earlier said:
Quote
AAC in AVI is possible in principal, but to be 100% AVI spec compliant it needed to be CBR ( Constant Bitrate ). Of course, maybe the same hack as with VBR MP3 in AVI would work, but then you cant use an ACM codec anymore but have to hardcode AAC support into the AVI writing app, like VirtualdubMod. Cyrius, the main dev of it, has no intention do so he once told me ....
  • Last Edit: 03 December, 2003, 03:03:43 PM by Latexxx

  • alexnoe
  • [*][*]
AAC in AVI container
Reply #23
There is. I did it a few minutes ago. I just need to try with multichannel AACs now, and have to find a way to read AAC from AVI back (which will be total crap, since it requires  to be read binary, like an MP3 stream, but lacks proper stream headers, once the ADTS headers are striped).

If I don't encounter problems, i'll soon release AVI-Mux GUI 1.15.4 with AAC support, for AVI and MKV output

Of course, I also need to check if the VBR hack works reliably...
  • Last Edit: 06 December, 2003, 02:14:58 PM by alexnoe

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
AAC in AVI container
Reply #24
Quote
There is. I did it a few minutes ago. I just need to try with multichannel AACs now, and have to find a way to read AAC from AVI back (which will be total crap, since it requires  to be read binary, like an MP3 stream, but lacks proper stream headers, once the ADTS headers are striped).

When I wrote my ACM AAC codec, I just left the ADTS headers. Solved a lot of problems 

Menno