|
|
| fccHandler |
| Posted: Feb 20 2011, 06:38 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Thank you pureocean for posting those files. I will see what I can do to fix the problems.
In other news, I have a new AAC ACM decoder up and running in VirtualDub. I've incorporated support into the FLV plugin but I'm not sure yet if it will work with Matroska... Anyway I plan to upload a very experimental build this weekend. Stay tuned. 
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 20 2011, 06:44 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: Feb 20 2011, 07:39 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
Well, that's the thing. It won't work with raw AAC, at least not yet. The AAC frames must be wrapped with ADTS headers. I've rewritten the FLV plugin to wrap the frames so currently it will work with FLV. I haven't incorporated the ADTS wrapping code into the Matroska plugin yet. Working on it...
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Feb 20 2011, 08:37 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
The last two FLV files posted have incorrect TypeFlags in the FLV header. (Remuxing fixes that of course.) I've changed the FLV plugin to ignore the TypeFlags field from now on. The new version also wraps AAC frames with ADTS headers as we discussed: http://fcchandler.home.comcast.net/Plugins/FLV
[RANT]This kind of thing ticks me off though. What good are specifications if people don't follow them?! And of course your software which faithfully adheres to the specs gets the blame when it doesn't work. Aargh...[/RANT]
-------------------- May the FOURCC be with you... |
 |
| phaeron |
| Posted: Feb 20 2011, 09:18 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
| QUOTE | | [RANT]This kind of thing ticks me off though. What good are specifications if people don't follow them?! And of course your software which faithfully adheres to the specs gets the blame when it doesn't work. Aargh...[/RANT] |
Welcome to my world.... |
 |
| ale5000 |
| Posted: Feb 20 2011, 11:10 PM |
 |
|

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 |
 |
| fccHandler |
| Posted: Feb 20 2011, 11:30 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Feb 20 2011, 07:10 PM) | | What is the advantage of it? |
It is necessary for the AAC codec to work.
However there does seem to be a problem with the resulting AVI files after Direct Stream Copy. VirtualDub will play them but MPlayer won't. Bummer. I will have to investigate this to see if it is fixable.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 20 2011, 11:59 PM |
 |
|

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 |
 |
| fccHandler |
| Posted: Feb 21 2011, 12:33 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Feb 20 2011, 07:59 PM) | So it mean that it will work only for .flv files and for .avi files "direct stream copied" starting from your FLV plugin?
What about .avi files created from other applications? |
The codec will not work for .avi files with raw AAC audio, although I suppose you could remux them into .mkv and then convert them back to .avi with the new Matroska plugin (v2.2). That would build ADTS headers into it.
I don't know about .avi files with AAC created from other applications. It will depend on whether they keep the ADTS headers or not.
It may be possible in the future for the codec to support raw AAC directly but I'm not sure how yet.
| QUOTE (ale5000 @ Feb 20 2011, 07:59 PM) | Is it possible to have an option in extended option to revert to old method without ADTS headers?
|
Yes, and I agree it is a good suggestion.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 21 2011, 01:23 AM |
 |
|

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

|
| QUOTE (fccHandler @ Feb 21 2011, 12:33 AM) | | It may be possible in the future for the codec to support raw AAC directly but I'm not sure how yet. |
Great
-------------------- 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 21 2011, 02:08 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: Feb 21 2011, 04:29 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Feb 20 2011, 10:08 PM) | A very minor thing: In the extended options of your plugins if I click "Cancel" it still open the file. Is it supposed to be like this? | Yes. That button cancels any changes you made in the Extended Options dialog. It doesn't stop the Open operation. There is another Cancel button in the parsing dialog which will stop the Open operation (although it doesn't actually cancel it; some portion of the file is still loaded).
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Feb 21 2011, 05:22 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (ale5000 @ Feb 20 2011, 07:59 PM) | | Is it possible to have an option in extended option to revert to old method without ADTS headers? (In case you only need "Direct Stream Copy" and you want smaller files) |
I have added this option to Matroska: http://fcchandler.home.comcast.net/Plugins/Matroska
I will soon add it to FLV as well.
By the way, I do not like having to do this. But I am definitely getting the impression that AAC-in-AVI is required to be stored raw (or at least that most software expects this). I think it's quite possible that this was a decision made long ago by Alex Noé, and now we are stuck with it due to the popularity of his AVI-Mux GUI.
If so, the only good solution is to fix the AAC Codec so that it can deal with raw AAC. I suspect it's possible, but I know it will be hard to do.
-------------------- May the FOURCC be with you... |
 |
| ale5000 |
| Posted: Feb 21 2011, 05:37 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: Feb 21 2011, 06:31 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (fccHandler @ Feb 21 2011, 01:22 AM) | | I will soon add it to FLV as well. |
Done: http://fcchandler.home.comcast.net/Plugins/FLV
-------------------- May the FOURCC be with you... |
 |