|
|
| fccHandler |
| Posted: Feb 20 2011, 11:21 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I have released a new AAC codec which makes it possible to preview and decode AAC in VirtualDub. The framework and usage is similar to my AC-3 ACM codec, however there are two important things to note:
Encoding AAC is not possible yet! Only decoding works.
Currently only a 32-bit version is available. The 64-bit target fails to build due to lack of support in libfaad.
http://fcchandler.home.comcast.net/AACACM
I welcome all comments and bug reports. Enjoy. 
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Feb 20 2011, 11:47 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I've withdrawn the download temporarily due to a problem I've just identified with this codec. There is some kind of conflict with AC-3 ACM and I will need to resolve it. Stay tuned.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 20 2011, 11:53 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
If it is the codec that disappear from the list on Windows XP, it happen also with Vorbis and some others ACM codecs.
PS: A big thanks for this codec.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Feb 21 2011, 12:23 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Yeah, they keep disappearing in Control Panel, and I don't understand it. Anyway I panicked but things still seem to be working (sort of). I've put the download back up. There is also a new build of the Matroska plugin with code to wrap the AAC frames in ADTS headers.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 21 2011, 12:27 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Edit: Post removed
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| Jam One |
| Posted: Feb 21 2011, 06:50 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
| QUOTE (fccHandler @ Feb 21 2011, 04:23 AM) | | Yeah, they keep disappearing in Control Panel... |
There is some kind of limitation, as far as I understood this case -- for some formats only one codec may be present in the system. For AC-3 audio, for example. A while ago I mentioned a problem with an AC-3 decoder. Initially I thought the problem was related to fccHandler's AC-3.acm (due to behavior of the list of codecs in Control Panel). Later on it was concluded that the reason was the conflict, the fact of presence of the ffdshow registered to decode AC-3.
Many thanks for your outstanding work, fccHandler ! |
 |
| ale5000 |
| Posted: Feb 21 2011, 07:04 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
ffdshow has VFW codecs, not ACM, so it can't be.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Feb 21 2011, 07:30 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
It turns out that I only had to change one line in libfaad to get a successful x64 build. However I have no way to test it myself so I have no idea whether it will work:
http://fcchandler.home.comcast.net/AACACM
Regarding Control Panel, I am experiencing the same issue and it seems to be a very old bug in Windows XP. I haven't found any workaround for it. Searching the web brings up a lot of hits though...
XPsp2 - "Audio Codecs Properties" CP behaves erratically audio codecs control panel is screwey
Sound familiar? That second link even mentions AC3ACM.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Feb 21 2011, 07:40 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (Jam One @ Feb 21 2011, 02:50 PM) | for some formats only one codec may be present in the system.
|
I believe this is true as well.
I remember a long time ago I was getting reports that AC3ACM would tend to override the AC3Filter of valex in a DirectShow filter graph. Many versions later I stopped hearing about it, so maybe I did something that changed the behavior. (But if so I don't know what it was...)
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 21 2011, 08:47 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
There is an ACM Wrapper that expose ACM codecs to DirectShow (so there can be conflict in DirectShow) but not the opposite, so in place where it use ACM there shouldn't be any problem.
@fccHandler: Is it possible that there is a sort of unique ID/name/other thing in the ACM codec that when equal to another it cause that strange problem?
We should think why the problem doesn't happen with windows default ACM codecs.
Edit: When there are the Fraunhofer MP3 ACM codec (the one that come with Windows) and the Lame codec, that handle the same format, then the problem doesn't happen.
It is just an idea but could it be that it happen with ACM codecs that support "Extensible wave format"?
Edit2:
Fraunhofer MP3 e Lame: OK Fraunhofer MP3 e Lame e AC-3: OK Fraunhofer MP3 e Lame e AAC: OK
Lame e AC-3: OK Lame e AAC: OK
Aud-X e AC-3: OK Aud-X e AAC: OK
Aud-X e Lame: Bug AC-3 e AAC: Bug
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Feb 26 2011, 02:01 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Feb 21 2011, 04:47 PM) | | Is it possible that there is a sort of unique ID/name/other thing in the ACM codec that when equal to another it cause that strange problem? |
I had thought of that too, but I've been over every part of the AAC code (and .inf) and there are no identifiers in common with AC3ACM.
| QUOTE | | We should think why the problem doesn't happen with windows default ACM codecs. |
As I recall, if you rearrange the priorities you will have weird behavior with them too. See: HKCU\Software\Microsoft\Multimedia\Audio Compression Manager\Priority v4.00
| QUOTE | | It is just an idea but could it be that it happen with ACM codecs that support "Extensible wave format"? |
This sounded plausible to me when you first said it, but I just looked at the source code and my last version of AC3ACM (1.5) doesn't support WAVE_FORMAT_EXTENSIBLE. Neither does the AAC codec.
Your test results are definitely interesting. I plan to do some tests of my own this weekend.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Feb 26 2011, 04:22 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
A confession... Sometimes I am guilty of saying that I've tested my stuff on Windows 98SE when really I haven't. But I just now tested AAC ACM and it works. Furthermore the Windows 98 control panel does not exhibit any of the problems we have discussed here! It works just fine. I think our good friends at Microsoft broke it. 
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 26 2011, 10:17 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
Edit: Post removed.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| ale5000 |
| Posted: Feb 26 2011, 10:26 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07

|
| QUOTE (fccHandler @ Feb 26 2011, 03:01 AM) | As I recall, if you rearrange the priorities you will have weird behavior with them too. See: HKCU\Software\Microsoft\Multimedia\Audio Compression Manager\Priority v4.00 |
The problem is that by default (with an empty HKCU\Software\Microsoft\Multimedia\Audio Compression Manager\Priority v4.00) it have an unspecified order (if someone find how to detect this please tell me) and if you change only one priority it will write the priority of all ACM codecs in HKCU\Software\Microsoft\Multimedia\Audio Compression Manager\Priority v4.00 but when you add an ACM codec it doesn't change the priority list (so some have it and some not) so the behaviour is also more unknown.
-------------------- New VirtualDub forum VirtualDub AIO (All-in-One installer for VirtualDub and plugins) Codec Toolbox RS (A tool to read/change merit of codecs and many other things) Input plugins for VirtualDub / ACM codecs / VFW codecs |
 |
| fccHandler |
| Posted: Feb 26 2011, 05:23 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Just give up on it, my friend. It's totally broken.
In other news I've added support for raw AAC streams. So far it seems to be working well, therefore I've decided to reverse the logic of the FLV and Matroska plugins so that raw AAC is the default (as it was before). I will upload new builds of those plugins soon.
http://fcchandler.home.comcast.net/AACACM
-------------------- May the FOURCC be with you... |
 |