|
|
| mrbillishere |
| Posted: Aug 27 2008, 05:15 AM |
 |
|
Newbie

Group: Members
Posts: 1
Member No.: 24125
Joined: 27-August 08

|
On the surface, the AC3 input plug-in appears to be working... but the resultant remuxed AVI contains no data in the audio stream.
I can't tell if this is an issue with VirtualDub or the input filter, but I'm hoping someone with a lot more experience can look @ this for me.
What I'm trying to do atm is a simple test. I have 350 frames worth of uncompressed video stream, and the corresponding AC3 audio stream saved in two separate files.
What I want to do is open the video stream in v-dub (no problem) and then remux the AC3 stream in, leaving the video untouched (just for this test).
To do this I concluded that the AC3 input plugin was the solution. Unfortunately, it all appears to work in the GUI, but the resulting file contains headers for an audio stream, but no data in the stream. See a pic here: Gspot-pic.jpg
FWIW, I put the input filter plug-in into its proper directory (plugins32) and I can tell Virtual Dub is using it because it adds *.ac3 to the file selection mask list, and I can also get an error out of the plug-in (more on that later).
I tried switching to Full Processing Audio mode and ran another test dumping the decoded output as PCM audio (and of course the file should have gotten a lot bigger) but the file size only grew by 66KB.
I also went as far as installing the AC-3 ACM codec (which looks sweet) to try a cheap 1:1 recompress @ the same bit rate, etc., but that file operation failed with the message, 'Error initializing the audio stream compression: <snip>' which I can't blame it for throwing, given I suspect there was no input to be compressed.
I'm a long-time user of VirtualDub but I switched over to VirtualDubMod a few years ago because of its ability to process video streams I pass in from AVISynth while remuxing a raw AC3 stream into the final product. I decided to come back to VirtualDub because sometimes the stream parser in VirtualDubMod would mess up the input file's length (duration) causing a dub to go wildly out of sync. On those occasions, I simply downmixed the audio and recompressed to MP3 and lived with it. However tonight I just hated to do that to the source I'm working on so I thought there ought to be a better way.
Thus my forays into the AC3 input filter and VirtualDub 1.8.5.
BTW, I also ran across an AC3 stream from another source I was working on tonight for which the AC-3 input filter choked on and returned an error stating, 'Invalid AC-3 stream'. Don't know why, because the AC-3 ACM codec seems to play it back fine in VirtualDub and I didn't have any problems working with it previously in VirtualDubMod or playing it back via DirectShow.
Please let me know if I'm totally barking mad for trying to work with the input filter this way. And any advice you might have for troubleshooting?
Thanks!
This post has been edited by mrbillishere on Aug 28 2008, 02:34 PM |
 |
| NeXT |
| Posted: Aug 31 2008, 07:46 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 41
Member No.: 24145
Joined: 31-August 08

|
Hi all!
I ran into a problem of 'Invalid AC-3 stream' too. Tried VDub 1.8.5, 1.8.1 and the latest test release of 1.8.6 -- no difference.
No problems with playing it or using it in VirtualDubMod.
fccHandler, please, have a look at this sample: http://nwfiles.gorodok.net/VTS_01_1%20T80%...DELAY%200ms.ac3
Got this ac3 (and other ac3 files I spotted this problem with) by demuxing audio stream with DGIndex 1.5.2. |
 |
| fccHandler |
| Posted: Sep 5 2008, 01:32 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
The "Invalid AC-3 stream" error should be fixed now. The plugin was incorrectly rejecting streams which didn't have a "bsid" field equal to 8. After reviewing the spec, I see that any value less than or equal to 8 is acceptable.
In other words, oops. 
http://fcchandler.home.comcast.net/~fcchan...ler/Plugins/AC3
-------------------- May the FOURCC be with you... |
 |
| sonical |
| Posted: Sep 27 2008, 10:57 PM |
 |
|

Advanced Member
  
Group: Members
Posts: 143
Member No.: 23118
Joined: 23-February 08

|
Thanks for the fix! I was actually about to post a bug report on similar issue, too. Yet I was quite busy during these few weeks so I had collected many bugs in list and will now post them under the respective topics.
Anyways the original problem report was going to look like this:
~~~~~~~~~~~~~~~~~~~~~~~~ Problem with last VOB in "City of angels" PAL DVD bonus materials side. "Error: The audio stream has a custom format that cannot be supported."
Stream info from mplayer classic:
Input format: AC3 - 48000 User format: PCM24 2/0 (stereo) 0 Output format: PCM24 2/0 (stereo) 48000
Filters info (in order of processing):
Decoder: Stream format: AC3 Dolby Surround 48000Hz Bitstream type: byte stream Frame size: 768 Samples: 1536 Bitrate: 192kbps SPDIF stream type: 0x1 Frame interval: 768 Actual bitrate: 192kbps AC3 speakers: Dolby Surround sample rate: 48000Hz bitrate: 192kbps stream: 8 bit frame size: 768 bytes nsamples: 1536 bsid: 8 clev: 0.0dB (1.0000) slev: 0.0dB (1.0000) dialnorm: -27dB bandwidth: 14kHz/20kHz ~~~~~~~~~~~~~~~~~~~~~~~~
So I will try the AC3 input filter v.1.2 out with the VOB file in question within a couple of days. Hope it works 
If not, I will try to post an extracted wav (with ac3 stream inside) somewhere, so fccHandler could take a look at it.
No idea about what "custom" there might be - just a usual dvd that plays everywhere. |
 |
| Placio74 |
| Posted: Sep 28 2008, 01:59 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
| QUOTE | | ...I will try to post an extracted wav (with ac3 stream inside) somewhere... |
If... then better just export to Raw audio.
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |