|
|
| ale5000 |
| Posted: Mar 11 2011, 02:23 PM |
 |
|

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

|
Does the codec support the 0x706D=FAAD AAC tag in addition to 0x00FF=AAC?
-------------------- 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: Mar 11 2011, 03:18 PM |
 |
|

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: Mar 13 2011, 03:57 PM |
 |
|

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

|
Updated .inf and .bat files: http://forums.virtualdub.org/index.php?act...t=30#entry85120
-------------------- 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: Mar 13 2011, 04:03 PM |
 |
|

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 |
 |
| fccHandler |
| Posted: Mar 19 2011, 04:08 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (JaliM @ Mar 7 2011, 10:50 AM) | @fccHandler: I've been testing AAC ACM Codec 1.4 and Matroska plugin. and I've found some anomalities.... Firstly, 32 KHz, 44,1 KHz & 32 KHz MKV-LC-AAC files are supported in stereo mode only. If LC-AAC files are MONO then VirtualDub plays it at HALF-SPEED. If LC-AAC files are 5.1 then VirtualDub does not detect them (no audio info). Note that all tests have been achieved with Matroska files with one AVC videostream and LC-ACC content, without ADTS headers. Not tested with AVIs or FLVs or with ATDS AAC streams. | I am not able to reproduce. Can you provide me a link to some examples which exhibit these issues?
I don't necessarily need the whole file; a one megabyte chunk of the beginning of the file should be sufficient.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Mar 19 2011, 04:09 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Mar 11 2011, 10:23 AM) | | Does the codec support the 0x706D=FAAD AAC tag in addition to 0x00FF=AAC? |
No. It knows about it, but does not expose it to ACM. I have not yet found any examples using this tag.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Mar 19 2011, 04:53 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Version 1.5 of AACACM is available: http://fcchandler.home.comcast.net/AACACM
You'll notice I added the new .inf and .bat files from ale5000. Thank you very much for these!
The only other change is to ignore the id bit in ADTS headers. This will be essential when I next update the FLV and Matroska plugins, because they will present the bit reversed from what it was before (see this post).
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Mar 20 2011, 01:23 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I have added the new .inf and .bat files from ale5000 to the AC3ACM codec as well: http://fcchandler.home.comcast.net/AC3ACM
Note: There was a broken version 1.6 on the website for about 5 hours today (while I was still working on it). If you happened to download AC3ACM version 1.6 prior to this official announcement, please download it again.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Mar 20 2011, 02:49 AM |
 |
|

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

|
Edit: Problem fixed
-------------------- 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: Mar 20 2011, 03:21 AM |
 |
|

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

|
This file (207469.avi) is played at low speed in VirtualDub.
VLC and MediaInfo don't detect SBR in it. I had a discussion some time ago with the developer of MediaInfo and come to conclusion that probably libfaad2 detect SBR in all files with low sampling rate. Have you found any file with sampling rate of 22.05 KHz where libfaad doesn't detect the SBR?
Edit: If you play the file with libavcodec through ffdshow-tryout it is played as 22050 Hz withOUT SBR instead if you play the file with libfaad2 through ffdshow-tryout it is played as 44100 Hz with SBR. But the file is played fine in both cases.
-------------------- 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: Mar 20 2011, 04:17 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Sheesh, I can't believe I missed that in the .inf files. I do consider it urgent, but I refuse to bump the version number over this! So sue me. 
http://fcchandler.home.comcast.net/AC3ACM
Regarding 207469.avi, I have no control over the sample rate in an AVI file. If the AVI audio header declares that the sample rate is 22050 Hz (as this one does), then that is indeed what you will hear.
Interestingly, MPlayer gets stuck in an endless loop when playing this file.
To date I have never found any AAC audio which truly plays at 22050 Hz. I think if SBR is not stated explicitly, we must assume that anything <= 24000 Hz is meant to be played back at double rate. I see this logic also in the faad2 source code.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Mar 20 2011, 04:57 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 |
 |
| JaliM |
| Posted: Mar 20 2011, 07:52 AM |
 |
|
Member
 
Group: Members
Posts: 23
Member No.: 29948
Joined: 17-February 11

|
| QUOTE (fccHandler @ Mar 19 2011, 04:08 AM) | | QUOTE (JaliM @ Mar 7 2011, 10:50 AM) | @fccHandler: I've been testing AAC ACM Codec 1.4 and Matroska plugin. and I've found some anomalities.... Firstly, 32 KHz, 44,1 KHz & 32 KHz MKV-LC-AAC files are supported in stereo mode only. If LC-AAC files are MONO then VirtualDub plays it at HALF-SPEED. If LC-AAC files are 5.1 then VirtualDub does not detect them (no audio info). Note that all tests have been achieved with Matroska files with one AVC videostream and LC-ACC content, without ADTS headers. Not tested with AVIs or FLVs or with ATDS AAC streams. |
I am not able to reproduce. Can you provide me a link to some examples which exhibit these issues?
I don't necessarily need the whole file; a one megabyte chunk of the beginning of the file should be sufficient. |
Please, test this file. It's 44100 Hz mono and is played at half speed in VDub. VLC, Mplayer & MPHC play right.
http://www.mediafire.com/?ae105dbai0appb0 |
 |
| ale5000 |
| Posted: Mar 20 2011, 09:30 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 |
 |
| fccHandler |
| Posted: Mar 20 2011, 05:55 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
I don't think it is actually misdetecting it, rather libfaad2 seems to always return stereo data due to an assumption of implicit PS in the decoder. I have added some code to downsample this when the client indicates that the AAC is actually mono.
http://fcchandler.home.comcast.net/AACACM
-------------------- May the FOURCC be with you... |
 |