Help - Search - Members - Calendar
Full Version: Project announcement : New AAC DirectShow filter
Hydrogenaudio Forums > Hydrogenaudio Forum > Validated News
Pages: 1, 2
ChristianHJW
I have the pleasure to announce that a new opensource project was started on corecodec.org today, aiming to offer a free alternative to existing AAC DirectShow decoder filters for educational purposes.

The bigger part of the code was taken from a similar project on http://borgtech.org/aacdec , which by itself is based on the FAAD2 decoder from the FAAC project ( http://sf.net/projects/faac ). All sourcecode is released under the GPL license, just like the original projects.

The developers are aiming to add 5.1 multichannel playback now soon, being the first decoder filter with this capability. As an educational project the project admins have to remind everybody that distribution of compiled binaries of the decoder filter may violate the licensing shedule of the AAC ™ license holders, depending on the country you are living in, and should not be undertaken by any means. The developers of this project can not be held responsible for such license violations by other people. They strongly advise everybody to compile the decoder filter only for its original intention, that is for educational purposes.

Christian HJ Wiesner
Germany, 20th May 2003

Original message :
https://corecodec.org/forum/forum.php?forum_id=63
rjamorim
QUOTE(ChristianHJW @ May 21 2003 - 08:19 AM)
They strongly advise everybody to compile the decoder filter only for its original intention, that is for educational purposes.

Sure, sure...

Where do I get sources? ph34r.gif
ilikedirtthe2nd
QUOTE(rjamorim @ May 21 2003 - 11:35 AM)
Sure, sure...

laugh.gif smile.gif
ChristianHJW
https://corecodec.org/scm/?group_id=31

Its 20.23 h GMT-1 now .. wait 2 more hours and the sources you will download will be cleaned up and the filter you can compile then will play 5.1 AAC fine, even with the 3ivX parser from MP4 files .....and of course also from matroska files wink.gif .....
ChristianHJW
Ok, CVS was updated by Toff, its safe to compile now smile.gif

And here an ( unofficial wink.gif ) link to the latest matroska DShow parser filter for AAC 5.1 playback from matroska files, using CoreAAC filter :

http://matroska.sourceforge.net/downloads/..._20030521-2.rar

To mux AAC 5.1 into matroska use Mosu's win32 binaries of mkvmerger :

http://www.bunkus.org/videotools/mkvtoolni...-20030519-1.zip

Typical Command line will be like :

x:\mkvmerge\mkvmerge.exe -o y:\movies\movie.mkv -A y:\movies\movie.avi y:\soundtracks\movie.aac
BetaBoy
ok... Toff, DeXT have tested it and can OFFICIALLY say DS + AAC + 5.1 is really sweet!!! Well as sweet as DS can get anyway wink.gif Enjoy the source code everyone!
Airborne2001
I have downloaded the sources but couldn't compile them.
I have noticed there is actually the decoder missing.
All the sources contain is an empty filter that
was obviously written by someone else. His name is even written in
each file in the header comment. mad.gif I wonder what opensource
project is going to be the next CoreXXX thing.
I hope I would not need to download CoreLinux. blink.gif

And forcing AAC to Matroska wacko.gif ?? I have never heard
of it so far. I like my OGGs.

it is shame what you are doing. mad.gif
ChristianHJW
QUOTE(Airborne2001 @ May 22 2003 - 09:45 AM)
it is shame what you are doing. mad.gif

You need a Doctor ?? blink.gif ....

EDIT : I should have checked your number of posts before ...... just the usual trolling shit it seems, what else should we have expected, zealots are zealots. Its nice that you love your Oggs, do me a favour and go on using them, ok ?
Airborne2001
well. as for the decoder it's quite useless, but thanks for the borgtech link. They seem to be at much higher level of software development than you are.
You know what ? I found the original filter source there.

http://www.borgtech.org/downloads/AAC_Dec.zip

if the CoreAAC is not the **exactly** same thing I'm Santa Claus.

QUOTE
Its nice that you love your Oggs, do me a favour and go on using them, ok ?
You can be sure I will.

QUOTE
You need a Doctor ??
Perhaps I do. But if you think that stealing other people's code and publishing it as your own is ok then you need a doctor too.

QUOTE
your number of posts
99% of your posts are matroska spams.
robUx4
QUOTE(Airborne2001 @ May 22 2003 - 10:45 AM)
I have downloaded the sources but couldn't compile them.
I have noticed there is actually the decoder missing.
All the sources contain is an empty filter that
was obviously written by someone else. His name is even written in
each file in the header comment. mad.gif I wonder what opensource
project is going to be the next CoreXXX thing.
I hope I would not need to download CoreLinux.  blink.gif

And forcing AAC to Matroska wacko.gif ?? I have never heard
of it so far. I like my OGGs.

it is shame what you are doing. mad.gif

I like your (advanced) sense of humour ! huh.gif
robUx4
QUOTE(Airborne2001 @ May 22 2003 - 07:46 PM)
QUOTE
You need a Doctor ??
Perhaps I do. But if you think that stealing other people's code and publishing it as your own is ok then you need a doctor too.

Just ask the FAAD2 author what he thinks about this filter ! Don't judge things on facts you don't have a clue.
alexnoe
>> I like my OGGs.

There are even people out there who like their AOpen CD burner, so one single person liking something does not really matter.

>> His name is even written in each file in the header comment.

[ ] You know what Open-Source or GPL is
ChristianHJW
QUOTE(alexnoe @ May 22 2003 - 07:19 PM)
[  ]  You know what Open-Source or GPL is

No, he doesnt. He obvious doesnt have the faintest clue whats going on at all. He is just a stupid little troll and should be ingored by now. Dont feed the trolls !!

Sidenote : The latest CoreAAC sourcecode, thats is including the original borgtch sources and our mods to it to make it 5.1 capable and compatible to MP4 ( via 3ivX splitter/parser filter ) and matroska have been sent to menno, and he said he will upload them to FAAD2 CVS as a new element. We will send him the latest CoreAAC sources from time to time, so FAAC will always be on an almost up-to-date level, and have a 5.1 capable DShow filter source now coming with it smile.gif !
Toff
QUOTE
I have downloaded the sources but couldn't compile them.
I have noticed there is actually the decoder missing.

Yes the AAC decoder is not in this CVS repository because there is no need to duplicate the FAAC CVS.
(at least this post was usefull, now you should know how to compile it)

QUOTE
All the sources contain is an empty filter that
was obviously written by someone else. His name is even written in
each file in the header comment.

Well if this a empty filter then it's kinda magic wink.gif
Of couse the name of the author is in the header comment we don't want to claim code which is not our.

QUOTE
And forcing AAC to Matroska ?? I have never heard of it so far

Never talk about something you don't know.

QUOTE
You know what ? I found the original filter source there.
http://www.borgtech.org/downloads/AAC_Dec.zip

Oh, it would probably have been easier if you had read the first post smile.gif

QUOTE
if the CoreAAC is not the **exactly** same thing I'm Santa Claus.

No it's not the same. The original filter is dedicated to the mpx container.
It doesn't support the same AAC format and doesn't support multichannel.

Well, have a nice day smile.gif
BetaBoy
So I guess it's "Ho, Ho, Ho" for you! Please troll somewhere else and stop wasting our time in replying to your ignorance.
Bonzi
QUOTE
Yes the AAC decoder is not in this CVS repository because there is no need to duplicate the FAAC CVS.
(at least this post was usefull, now you should know how to compile it)


Just to be complete, you will also need the directshow sdk which you can find at M$ site and maybe sp5 for VC++.

QUOTE
matroska have been sent to menno, and he said he will upload them to FAAD2 CVS as a new element.


He has already uploaded only 3hrs ago, sweet, downloading right now. smile.gif
BetaBoy
.... and because of MFA's concern at Doom9... we are adding 'Country Limitations' to our side of the GPL'd CoreAAC code. Though some argue it is not needed. Better to be safe, then sorry.
john33
You can d/l from here:http://homepage.ntlworld.com/jfe1205/COREaacDS.zip

It's untested by me, so if there are any problems, shout! wink.gif There are a couple of batch files included to register and unregister.
ChristianHJW
john33,

would you allow us to post your dl link on the CoreAAC homepage ? The Corecodec server is in the US, in the middle of Dolby labs land, and we are simply afraid to distribute binaries ( just remember Dolby phoning rjamorim to put down some of his links sad.gif ).

If you would allow that we could maybe circumvent the problems we have to face on Doom9 now http://forum.doom9.org/showthread.php?s=&t...&threadid=53863 .......
john33
QUOTE(ChristianHJW @ May 23 2003 - 07:57 PM)
john33,

would you allow us to post your dl link on the CoreAAC homepage ? The Corecodec server is in the US, in the middle of Dolby labs land, and we are simply afraid to distribute binaries ( just remember Dolby phoning rjamorim to put down some of his links sad.gif ).

If you would allow that we could maybe circumvent the problems we have to face on Doom9 now http://forum.doom9.org/showthread.php?s=&t...&threadid=53863 .......

You can post a link, by all means. However, please don't advertise it too strongly or I guess the Dolby detectives will be on my trail!! wink.gif Ultimately, Roberto's server is probably the best place for it, but you can use my link 'pro tem'.
dillee1
2ch aac works nice :-) thx for the filter :-)
let me try wil 5.1 ch later :-)
ChristianHJW
Dillee, you were using the 3ivX MP4 splitter for AAC in MP4, or were playing AAC from matroska ? Or is there any AAC splitter filter i dont know yet ?
dillee1
@chris
Just tested 5.1ch aac in mp4(via 3ivx splitter) works fine as well.
first time ever got a 6ch mp4 decode properly hahahaha....... good job guys biggrin.gif

Just a minor glitch: seeking in mp4 seems to cause A/V went out of sync....
3ivx audio decoder doesnt seems to introduce the problem.
ChristianHJW
QUOTE(dillee1 @ May 25 2003 - 10:23 AM)
Just a minor glitch: seeking in mp4 seems to cause A/V went out of sync....
3ivx audio decoder doesnt seems to introduce the problem.

Hmm .. should be a problem with the 3ivX parser then, as sync is not a matter of the decoder filter. And when playing 5.1 AAC from matroska seeking works fine, so i assume its the 3ivX parser that cant cope with the 5.1 AAC stream in MP4 yet for seeking ....
Loke
What's the reason for yet an other container format? Isn't ogm good enough?

Is it possible to convert from one container format to an other?

Will quality on playback be the same as for windows mediaplayer? I mean, for mp3 the best decoder is from fraunhofer. Does this matroska player use this decoder, f.example?
rjamorim
QUOTE(ChristianHJW @ May 23 2003 - 04:57 PM)
would you allow us to post your dl link on the CoreAAC homepage ? The Corecodec server is in the US, in the middle of Dolby labs land, and we are simply afraid to distribute binaries ( just remember Dolby phoning rjamorim to put down some of his links sad.gif ).

Liking to binaries, and even linking to sites distributing binaries is illegal.

I read the legal notification letter once at mp3.com. It's now gone, but it's basicly a version of the one I got concerning links instead of hosted binaries.

Good luck.

Regards;

Roberto.
ChristianHJW
While i understand the background of your question, its a bit OT to ask about matroska here in this thread. Use the search function of the board for #matroska' and a lot of your questions would have been answered.

QUOTE
What's the reason for yet an other container format? Isn't ogm good enough?


OGM is based on the Ogg container from Xiph. Ogg was made with streaming content in mind, all the audio or video data are put into 'pages' in the Ogg, and there are no clear rules how this has to be done, the decision where to start/end a new page is done when a certain page size is achieved. This makes it very hard to cut/edit an Ogg file, something that is not very common to do with audio files, but daily standard for video files.

Also, OGM is not the 'official' Xiph way of storing video in Ogg, it was basically done by one man on his own, and he didnt make his sourcecode public. So there is a certain risk that OGM may not be supported in future apps.

Also, we are a bit tired to have to defend ourselves for having made matroska. Xiph people dont have monopoly for the creation of opensource audio and video standards i would have thought.

QUOTE
Is it possible to convert from one container format to an other?


Sure. Both current matroska creation tools, VirtualdubMod and mkvmerger allow you to open an OGM and to transmux it lossless into a MKV file. VirtualdubMod will soon alow the opposite also, but right now we suffer from a memory leak, so you need a lot of RAM to transmux a MKV movie into OGM again wink.gif ...

QUOTE
Will quality on playback be the same as for windows mediaplayer? I mean, for mp3 the best decoder is from fraunhofer. Does this matroska player use this decoder, f.example?


Again, matroska is not a player, but a general use audio/video/subtitles container format including all the necessary software tools to create and play the files. Its coming with a DirectShow parser, so mkv files can be played on every DirectShow based player ( Windows Mediaplayer, TCMP, Zoomplayer, BSPlayer, etc. ). And yes, if you decide to mux an AAC or MP3 audio file into a matroska container file, the quality on playback will be exactly the same.
dillee1
Another funny glitch....
The player crash if the audio track is hinted. wink.gif
ChristianHJW
QUOTE(rjamorim @ May 25 2003 - 11:02 PM)
Liking to binaries, and even linking to sites distributing binaries is illegal.
I read the legal notification letter once at mp3.com. It's now gone, but it's basicly a version of the one I got concerning links instead of hosted binaries.
Good luck. Regards; Roberto.

Roberto,

could you resolve your problems with them somehow ? How are licensing situation in Brasil for AAC ?

Thanks for telling us

Christian
rjamorim
QUOTE(ChristianHJW @ May 26 2003 - 07:28 AM)
could you resolve your problems with them somehow ?

Well, from what I understood after talking to some guys that supposedly know about licensing and patents and etc., they told me that the safest way is linking to a site without clearly doing it for the AAC binaries. Say, you link to RareWares just saying that "there are some nice DShow filters there", then if the bastard south american that runs that site throws in an AAC plugin, it's not your problem - you were just linking for some other tool that is also being hosted there and is perfectly legal.

QUOTE
How are licensing situation in Brasil for AAC ?


Brazil doesn't recognize foreign algorithm patents. For that same reason, GIF abusage is completely legal here.

Regards;

Roberto.
m0rbidini
rjamorim: I may be wrong and I don't a link to show you now, but I thought there was new legislation (since 1997 or 1998, not sure) in Brazil recognizing foreign intelectual property/patents (including software and algorithms). I think it was due to pressure on Brazil by several internacional commerce agreements. I also don't know if this law, if it really exists, was already enacted.

cya
rjamorim
Hrm... if at least brazilian legislation wasn't so damn hard to interpret and research. >_<

I'll try looking around. If you find something, please tell me.
ssjkakaroto
rjamorim what if you host the files on some country that doesnt have any problem with the aac patent? would they still have some argument against you?
rjamorim
QUOTE(ssjkakaroto @ May 26 2003 - 02:37 PM)
rjamorim what if you host the files on some country that doesnt have any problem with the aac patent? would they still have some argument against you?

Man, that involves so much legalese, that happens to change from country to country...

Sorry, but I really have no idea. All I know is some info I got some years ago from a patent/IP/copyright lawyer (he was graduating on these subjects) that told me Brazil was free from algorithm patents. We were discussing GIF and LZW patents back then.

But he graduated and moved to other town, and I lost all contact.
rjamorim
Wow! This DShow filter totally ROCKS used with 3ivX's MP4 splitter and ffdshow!

No more Envivio for me. biggrin.gif
rjamorim
Just one request (there's no way CoreCodec will send me the confirmation e-mail, so I can't login there and therefore I can't post there. dry.gif )

Some sort of "stream info" tab in the filter properties window would be great. Something like OdioDekoda, with information on bitrate, sampling rate, amount of channels, AAC profile...

Thank-you for the great plugin, whoever developed it. smile.gif

Regards;

Roberto.
Toff
Nice to see some people like it biggrin.gif

I've added a new tab with information about the stream.
Change are in the CVS, enjoy.

Regards
Toff
bond
sorry for the maybe dump question but after installing 3ivx how can i tell the 3ivx splitter to use coreaac and not the 3ivx aac decoder?
Toff
The CoreAAC decoder use a higher priority by default, so it should insert itself automatically.
It works great here with 3ivx D4 4.0.4

Regards,
Toff
bond
doesnt work on my system :'(

1) i install 3ivx 404
2) i register coreaac.ax
3a) if i open a .mp4 containing xvid and mpeg-4 aac (nero or quicktime6.1) in bsplayer -> 3ivx aac decoder
3b) if i open an audio only .mp4 in bsplayer -> unknown file format, if i open it in wmp9 -> 3ivx aac decoder

EDIT: i use WinME
rjamorim
You should go to the 3ivX filter settings (the path varies from player to player) and check "Allow Unsupported Decoders"

If you want to be sure, go to the folder you installed 3ivX in, open the command prompt there and run
regsvr32 /u 3ivxDSAudioDecoder.ax

If you plan to use ffdshow as MPEG4 visual decoder, you can also do
regsvr32 /u 3ivxDSDecoder.ax

These commands will remove the filters from the directshow filter lookup table.
bond
QUOTE
If you want to be sure, go to the folder you installed 3ivX in, open the command prompt there and run
regsvr32 /u 3ivxDSAudioDecoder.ax
If you plan to use ffdshow as MPEG4 visual decoder, you can also do
regsvr32 /u 3ivxDSDecoder.ax

These commands will remove the filters from the directshow filter lookup table.

i tried both, if i unreg 3ivx audio decoder no audio will be played, if i unreg the video decoder (having ffdshow installed) the file cant be played back ["unknown file format" in bsplayer - "class not registered" ("Klasse nicht registriert" in german) in wmp9]

QUOTE
You should go to the 3ivX filter settings (the path varies from player to player) and check "Allow Unsupported Decoders"

yup i already did that
EDIT: it seems that this setting isnt saved, because if i open the .mp4 again, "allow unsupp. decoders" is unchecked again...
rjamorim
QUOTE(bond @ May 30 2003 - 12:55 PM)
EDIT: it seems that this setting isnt saved, because if i open the .mp4 again, "allow unsupp. decoders" is unchecked again...

Then, your 3ivX installation is probably bork. It works perfectly here.
Toff
Could you check if CoreAAC appear in graphedit (available on www.doom9.org download page) ?

Graph->Insert Filters...

Expand the "DirectShow Filters" node and you should see "CoreAAC Audio Decoder" in the list.
If you expand the "CoreAAC Audio Decoder" node you will get the full path of the filter, check if it's correct, you could also try to insert the filter in the graph.
bond
@toff
coreaac appears in graphedit, path is correct, but if it try to replace the 3ivx audio decoder with coreaac i can connect between splitter and coreaac but if i want to connect between coreaac and default directsound device i get the following error message: "these filters cannot agree on a connection. verify type compatibility of input pin and output pin" return code:0x80040217"

EDIT: if i just try to connect 3ivx audio decoder with the default direct. device (no connection between splitter and audio decoder) i get the same error message

coreaac and 3ivx audio both have "xform in" and "xform out"

(btw. the "allow unsup. decoders" checking works, was my fault unsure.gif )
Tripwire
Is CoreAAC supposed to be such a PITA to compile?
ak
QUOTE(bond @ May 30 2003 - 07:34 PM)
if it try to replace the 3ivx audio decoder with coreaac i can connect between splitter and coreaac but if i want to connect between coreaac and default directsound device i get the following error message

Try 'render pin' (rightclick on coreaac output pin) it should insert right ds device automatically.
BTW what dx version do you have? It might be a good idea to update it, in case you haven't already.
rjamorim
QUOTE(Tripwire @ May 30 2003 - 03:10 PM)
Is CoreAAC supposed to be such a PITA to compile?

The biggest PITA is downloading Microsoft's $@#%! DX SDK. A 90Mb download so that you can get 1Mb worth of header files.
Tripwire
Yeah exactly that, including the inability to compile libfaad too.
rjamorim
You must get libfaad from FAAD2's CVS.

Check www.audiocoding.com
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-2008 Invision Power Services, Inc.