|
|
| levicki |
| Posted: Aug 11 2005, 12:06 AM |
 |
|
Unregistered

|
I have a question about VirtualDub-MPEG2 and AC-3. You say on your page:
If you need AC-3 support, try my AC-3 ACM Decompressor.
That is nice if I want to recompress AC-3 to say mp3, but what to do if I just want to compress MPEG2 to DivX and interleave AC-3 into the resulting AVI file without recompressing sound? Can I do that with AC-3 ACM or I have to reach for my trusty VirtualDub 1.3c? If not possible at the moment with VirtualDub-MPEG2 and AC-3 ACM is there any chance to implement at least direct stream copy for AC-3 files?
Thank you again for doing great job with VirtualDub-MPEG2, bump to 1.6.x has brought some terrific speed improvement especially in parsing MPEG2 files. |
 |
| Lazarus |
| Posted: Aug 11 2005, 12:49 AM |
 |
|
Unregistered

|
If you would only have tried it, you would have known the answer.
Yes, VirtualDub-MPEG2 + AC3ACM can direct steam copy AC3 into AVI. |
 |
| fccHandler |
| Posted: Aug 11 2005, 01:06 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (levicki @ Aug 10 2005, 08:06 PM) | | Can I do that with AC-3 ACM or I have to reach for my trusty VirtualDub 1.3c? | What does VirtualDub 1.3c have to do with AC-3?
-------------------- May the FOURCC be with you... |
 |
| levicki |
| Posted: Aug 21 2005, 02:31 PM |
 |
|
Unregistered

|
Err, now I am confused... I have just opened a .VOB with VirtualDub 1.6.9 MPEG2 and it asked me to pick audio track -- 0x80 or 0x81 being English AC-3 5.1 and French AC-3 2.0 respectively?!? Now for the confusing part... I don't have AC-3 ACM installed? WTF?!?
Never mind, it worked and I was able to interleave 5.1 AC-3 stream into AVI at the same time while compressing video to DivX. No more extra steps needed, GR8!
@fccHandler: VirtualDub 1.3c was the last official version which supported AC-3 audio files via WAV Audio option in Audio menu. |
 |
| fccHandler |
| Posted: Aug 21 2005, 03:06 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (levicki @ Aug 21 2005, 10:31 AM) | | I have just opened a .VOB with VirtualDub 1.6.9 MPEG2 and it asked me to pick audio track -- 0x80 or 0x81 being English AC-3 5.1 and French AC-3 2.0 respectively?!? |
The program doesn't know what languages are embedded, because that information isn't in the .VOB file. It only sees that there are two soundtracks. You have to listen to them to discover the languages, but for that you need AC3ACM.
| QUOTE | | Now for the confusing part... I don't have AC-3 ACM installed? WTF?!? |
You only need AC3ACM to decompress the compressed AC-3 audio. If you're just copying the stream directly, AC3ACM isn't needed.
| QUOTE | | VirtualDub 1.3c was the last official version which supported AC-3 audio files via WAV Audio option in Audio menu. |
You must be thinking of ASF. As far as I know, the official VirtualDub never had native support for raw AC-3, but you can load an AC-3 soundtrack via the WAV Audio option if it was previously saved from VirtualDub. That's still true in 1.6.10.
-------------------- May the FOURCC be with you... |
 |
| levicki |
| Posted: Aug 21 2005, 09:57 PM |
 |
|
Unregistered

|
Sorry for being so confusing. English is not my primary language.
| QUOTE | | The program doesn't know what languages are embedded, because that information isn't in the .VOB file. It only sees that there are two soundtracks. You have to listen to them to discover the languages, but for that you need AC3ACM. |
I know that. That information is not too important for me anyway because I can check it myself.
| QUOTE | | You only need AC3ACM to decompress the compressed AC-3 audio. If you're just copying the stream directly, AC3ACM isn't needed. |
True... but only if I perform a direct stream copy of a stream which is contained in a VOB file. Doesn't work for demuxed AC-3 streams.
| QUOTE | | You must be thinking of ASF. As far as I know, the official VirtualDub never had native support for raw AC-3 |
No I am not thinking ASF -- I am talking about VirtualDub 1.3c build 0/debug.
Let me try to explain by using pictures. When you open Audio|WAV Audio... and select AC-3 file in 1.6.10 you get this:

And in 1.3c build 0/debug you get this:

Now don't get me wrong, it is not such a big deal if 1.6.10 can't open AC-3 files when it can deal with AC-3 stream stored in VOB (and I didn't even know it can!), just it would be nice if external AC-3 could be used too meaning that you can take any AVI and interleave AC-3 soundtrack into it like you can do with 1.3c.
| QUOTE | | but you can load an AC-3 soundtrack via the WAV Audio option if it was previously saved from VirtualDub. That's still true in 1.6.10. |
Err, how? Because as you can see I can't do that. My AC-3 files are produced with DVDDecrypter and 1.3c works fine with them. |
 |
| fccHandler |
| Posted: Aug 22 2005, 04:37 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
If that's true it's surprising. I seem to remember Avery saying he knew nothing about AC-3. I'll have to go back and look at the source code of 1.3c... If it can load AC-3 directly, that would be very useful code to add to VirtualDub-MPEG2.
| QUOTE (levicki @ Aug 21 2005, 05:57 PM) | | QUOTE | | but you can load an AC-3 soundtrack via the WAV Audio option if it was previously saved from VirtualDub. That's still true in 1.6.10. |
Err, how? Because as you can see I can't do that. My AC-3 files are produced with DVDDecrypter and 1.3c works fine with them. |
Sorry if I confused you here. The key words (in my quote) were "if it was previously saved from VirtualDub." It won't load raw AC-3 streams created elsewhere.
-------------------- May the FOURCC be with you... |
 |
| fccHandler |
| Posted: Aug 22 2005, 05:55 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (levicki @ Aug 21 2005, 05:57 PM) | | And in 1.3c build 0/debug you get this: |
Ah, I just noticed this "build 0/debug." It looks like what you have is a hacked version of the real 1.3c, because:
- The real VirtualDub 1.3c was certainly not build 0, - Avery Lee doesn't release debug builds, - I double checked the source code of 1.3c (and built it) and it definitely won't load raw .ac3 files.
-------------------- May the FOURCC be with you... |
 |
| levicki |
Posted: Aug 22 2005, 05:47 PM |
 |
|
Unregistered

|
| QUOTE (fccHandler @ Aug 22 2005, 05:55 AM) | | QUOTE (levicki @ Aug 21 2005, 05:57 PM) | | And in 1.3c build 0/debug you get this: |
Ah, I just noticed this "build 0/debug." It looks like what you have is a hacked version of the real 1.3c, because:
- The real VirtualDub 1.3c was certainly not build 0, - Avery Lee doesn't release debug builds, - I double checked the source code of 1.3c (and built it) and it definitely won't load raw .ac3 files. |
In Change Log it says this:
Build 10740 (Version 1.3c): [bug fixes] * WAV replacement audio works again. * Frameserver code now supports frame size changes properly. * Fixed frameserver client proxy mode under Win95/98. * No longer crashes if you load a config file without a video file loaded. * Moved tab stop over on audio compression dialog, so that audio codecs with really long format names will fit.
In Version Information tab it shows:
Comments = "Anime songs for this build:
"7 o'clock news" from Kodomo no Omocha
Opening theme for Natsuki Crisis
"Watasi ni Happy Birthday" from Cat Girl Nuku Nuku"
File Version = "1.3b" Special Build Description = "Debug build (i.e. big, fat, and slow)"
Hopefully this could help you trace it back to the right source code or at least ask Avery about it (although I too believe that it is a hacked version because I have seen that there are some other versions with AC-3 support too -- hint: google).
Let me know if you want me to send you the executable that I have.
EDIT: I just tried to open ASF with it and guess what -- that works too! It is the same version as 1.3c 10740 release, only release version doesn't show that dialog above but it accepts the AC-3 file silently.
EDIT2: I just found VirtualDub-MPEG2 AC3 1.5.4 build 16386/release by Avery Lee, fccHandler?!?!?
@fccHandler: Could you explain how could there be a release of VirtualDub-MPEG2 with RAW AC3 support supposedly signed off by you and you not being aware of it not to mention not keeping that gem in your source code?  |
 |
| fccHandler |
| Posted: Aug 23 2005, 08:42 PM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (levicki @ Aug 22 2005, 01:47 PM) | Could you explain how could there be a release of VirtualDub-MPEG2 with RAW AC3 support supposedly signed off by you and you not being aware of it not to mention not keeping that gem in your source code? |
Why do you think I'm not aware of it? I made that a long time ago. I removed the embedded AC-3 decoder later, and it became the AC3ACM decompressor.
That version won't load raw AC-3 audio by itself, nor will it allow Direct Stream Copy of AC-3 from VOB to AVI.
-------------------- May the FOURCC be with you... |
 |
| levicki |
| Posted: Aug 23 2005, 11:24 PM |
 |
|
Unregistered

|
| QUOTE (fccHandler @ Aug 23 2005, 08:42 PM) | | QUOTE (levicki @ Aug 22 2005, 01:47 PM) | Could you explain how could there be a release of VirtualDub-MPEG2 with RAW AC3 support supposedly signed off by you and you not being aware of it not to mention not keeping that gem in your source code? |
Why do you think I'm not aware of it? I made that a long time ago. I removed the embedded AC-3 decoder later, and it became the AC3ACM decompressor.
That version won't load raw AC-3 audio by itself, nor will it allow Direct Stream Copy of AC-3 from VOB to AVI. | Damn, you are right. It can't load raw AC-3. My mistake. And what about 1.3c 10740/release? Do you have a source code for that one? Or it is indeed some hacked build? |
 |
| fccHandler |
| Posted: Aug 24 2005, 02:15 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (levicki @ Aug 23 2005, 07:24 PM) | | And what about 1.3c 10740/release? Do you have a source code for that one? |
I do have that source code, but it's not the same as the "build 0/debug" version you have. Yours is certainly a hack since it loads raw AC-3.
A long time ago I remember seeing mention of a program called "VirtualDubAc3" on the net, and I always wondered what it was. Maybe that's what you have.
-------------------- May the FOURCC be with you... |
 |
| levicki |
| Posted: Sep 9 2005, 09:16 PM |
 |
|
Unregistered

|
Does anyone know is there any particular reason why mono MPEG layer I audio cannot be direct stream copied to uncompressed AVI -- the audio gets decompressed too? |
 |
| stephanV |
| Posted: Sep 9 2005, 09:18 PM |
 |
|
Spam killer ;)
  
Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04

|
Have you tried opening with extended options in VirtualDub-MPEG2 and check the appropriate check box?
-------------------- useful links: VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ |
 |
| levicki |
| Posted: Sep 10 2005, 02:08 PM |
 |
|
Unregistered

|
| QUOTE (stephanV @ Sep 9 2005, 10:18 PM) | | Have you tried opening with extended options in VirtualDub-MPEG2 and check the appropriate check box? | What would that check box be? Seriously, if I check direct stream copy in audio menu I expect direct stream copy and not decompressed audio. |
 |