Log in

View Full Version : DirectShowSource Opening Multiple .vob failure on second call


Fallen
17th August 2008, 15:03
The following generates a "The filter graph wont talk to me" etc on the second DD call

tried flipping the statements --no dice -- error always pops on second line

commented line 2 everything happy
commented line 1 and changeg the return to clip0 everything happy

code clipped from AVS

clip102=DirectShowSource("D:\Nims_Island\VIDEO_TS\VTS_01_1.VOB",seek=true)
clip0=DirectShowSource("D:\BORDERTOWN\VIDEO_TS\VTS_01_2.VOB",seek=true)
return clip102.KillAudio

Any Ideas --Anyone

Sagekilla
17th August 2008, 15:22
Why are you using DirectShowSource to open a VOB? Generate a d2v project file in DGIndex and open using MPEG2Source(). I doubt you'll have any issues with that, and you won't have to worry about audio either.

Fallen
17th August 2008, 15:49
I'm very new with this package


I'm generating a script from inside a program (Titlewriter) to auto create motion menus/thumbnails from portions of vobs,avis,etc
Is DgIndex Support included (Vob to d2v) from within Avisynth (Plugin?)
I'm hesitant to slow the process down any more since there could be up to 99 vobs open at a time and each individual clip opens correctly
Audio isn't an issue -- I'm letting the user choose from anything

Comatose
17th August 2008, 16:01
Yeah, you use the DLL that comes with DGIndex as a plugin for Avisynth. (MPEG2Source)
I think you'll run out of memory with 99 VOBs open at a time, so you might want to limit yourself to a (significantly) lower number ;-;

Fallen
17th August 2008, 16:36
Had A feeling that (99) would be an issue -- just realized I probably would never have more then 6 clips open at a time -so it isn't/may not be a problem.

I hate though to have to force the user to download another package (DGIndex) to resolve the DirectShow issue -- Oh well nothing is ever easy.

Fallen
17th August 2008, 17:02
Well - I tried it. -- DGIndex and MPeg2source
Almost tripled the menu generation time though per page. (It takes a considerable amount of time to generate the d2v for gig sized vobs)

I don't think its an option.

I believe its either fix the directshowsource problem or lose the avisynth entirely

(since it works fine on single clips) Its stumping me what the problem could be for multiple calls

IanB
18th August 2008, 04:18
Try another Mpeg2 Direct Show codec, looks like the one you are using only supports a single instance of itself. Also could be the splitter instead.

Use Graphedit to render 2 Vob's at once and see what is choking.

:Edit: Also might be the audio path try adding Audio=False to your DSS calls.

Fallen
19th August 2008, 11:40
Yes Graphedit did the trick -- For My machine configuration/video card
But I realize it won't work over the TW's user base.
So back to d2v
Been reverse engineering that process -- the biggest time consuming step is creating the wav (which I don't need)
So I'm trying to make the file (d2v) from within TW
(I have an internal array containing the navpack lba's already)
Got most of it figured out until the entries after each navpack LBA
Each entry seems to be either 0,1,2,3 -- but what those refer to is stumping me.
Bet its simple and I'm blind (or braindead)