PDA

View Full Version : Why the *.d2v from DGIndex file can't successful load with Avisynth?


cpthk
16th March 2005, 04:58
Why the *.d2v from DGIndex file can't successful load with Avisynth?
DVD2AVI works fine...
But DGIndex can't?

Here is part words of d2v file from DGIndex

DGIndexProjectFile08
5
88 C:\VTS_01_1.VOB
88 C:\VTS_01_2.VOB
88 C:\VTS_01_3.VOB
88 C:\VTS_01_4.VOB
88 C:\VTS_01_5.VOB

Stream_Type=1
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Clipping=0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Aspect_Ratio=16:9
Picture_Size=720x576
Field_Operation=0 (0:None 1:ForcedFILM 2:RawFrames)
Frame_Rate=25000
Location=0,0,4,2D25F

c00 1 0 2048 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 206848 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 460800 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 700416 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 940032 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 1177600 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 1419264 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2
c00 1 0 1654784 1 1 92 b2 a2 b2 b2 a2 b2 b2 a2 b2 b2 a2


Here is part words of d2v file from DVD2AVI

DVD2AVIProjectFile
5
88 C:\VTS_01_1.VOB
88 C:\VTS_01_2.VOB
88 C:\VTS_01_3.VOB
88 C:\VTS_01_4.VOB
88 C:\VTS_01_5.VOB

Stream_Type=1,0,0
iDCT_Algorithm=5 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Picture_Size=0,0,0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Field_Operation=0 (0:None 1:ForcedFILM 2:SwapOrder)
Frame_Rate=25000
Location=0,0,4,2D25F

7 0 0 2 2 2 2 2 2 2 2 2 2 2 2
7 0 64 2 2 2 2 2 2 2 2 2 2 2 2
7 0 E0 2 2 2 2 2 2 2 2 2 2 2 2
7 0 155 2 2 2 2 2 2 2 2 2 2 2 2
7 0 1CA 2 2 2 2 2 2 2 2 2 2 2 2
7 0 23E 2 2 2 2 2 2 2 2 2 2 2 2
7 0 2B4 2 2 2 2 2 2 2 2 2 2 2 2
7 0 327 2 2 2 2 2 2 2 2 2 2 2 2

And I see that some different between these two files.
What setting should I change to let the d2v file from DGIndex works?

Leak
16th March 2005, 08:13
Originally posted by cpthk
Why the *.d2v from DGIndex file can't successful load with Avisynth?
DVD2AVI works fine...
But DGIndex can't?

Here is part words of d2v file from DGIndex
DGIndexProjectFile08

Here is part words of d2v file from DVD2AVI
DVD2AVIProjectFile

You always need to use the decoding DLL that comes with the version of DVD2AVI/DGIndex you want to use; for DVD2AVI that would be MPEGDec3.dll and for DGIndex it would be the DGDecode.dll that comes with DGIndex...

cpthk
16th March 2005, 10:18
I copied the DGDecode.dll file from DGIndex(1.21) to Avisynth(2.5) plugin folder.
My avs file looks like this:
LoadPlugin("DGDecode.dll")
MPEG2Source("1.d2v")

But still can't play, Media Player Classic will auto close.
(DVD2AVI works fine with MPEGDec3.dll plugin, but I prefer to use DGIndex)
Any thing wrong?

midnightsun
16th March 2005, 11:23
after you copied dgdecode.dll to your avisynth folder did you ditch the .d2v you had created before or you still used that same .d2v? You need to create the project and decode the .d2v with a matching dgindex/dgdecode pair, otherwise it won't work.

cpthk
16th March 2005, 18:58
I didn't ditch the old one, I still use the one created by DGIndex before I copy the DGDecode.dll.

The DGDecode.dll which I copied is from DGIndex folder. Is that right? Or there should be a nother version of DGDecode.dll?

One thing I don't understand...
I think DGIndex can standalone. It can convert d2v file itself. Why I need to copy DGDecode.dll to Avisynth plugin folder before I convert the d2v file?

Cyberia
16th March 2005, 20:59
You need to copy the DGDecode dll before you try to view/decode the d2v file. That's all.

Steps
-----

1) Copy DGDecode (v1.2.1) to AviSynth plugin directory.
2) Make new d2v file with DGIndex (v1.2.1)
3) Create avs script
LoadPlugin("path\DGDecode.dll")
mpeg2source("path\d2vfile")


Try that.

cpthk
17th March 2005, 07:47
Thanks everyone.
I know where the problem is...

I should type
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
instead of
LoadPlugin("DGDecode.dll")

And if I copy the DGDecode.dll to Avisynth plugin folder after I convert the d2v file still can play normal.

Thanks.

Trahald
18th March 2005, 04:21
your supposed to be able to use
LoadPlugin("DGDecode.dll")
if the dgdecode.dll file is in your plugin directory. however supplying the full directory will always work (with the correct dgdecode.dll)

D3s7
18th March 2005, 07:43
There's a registry entry that specifies the plugin directory... sounds like that's off