PDA

View Full Version : Error with importing my .avs files


Hoc2ieman
12th February 2006, 17:02
I am kind of new on the avisynth, DGindex, virtualdubmod scene, and I am having trouble importing my .avs files into virtualdubmod. This is the script i write for my .avs file and everytime i try to import the avs file, it says that it cannot find the MPEG2 Source.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
MPEG2Source("F:\DGIndex Projects\evadisk6.d2v")
That is the script i am worling with. If anyone has any suggestions or anything i would appericate it. Thanks!!!

MaximRecoil
12th February 2006, 17:42
You need to make sure that the original MPEG2 or VOB files that you ran through DGIndex remain in the same location. If you got them from a DVD, is the DVD still in the drive when you try to load the AVS script? If you got them from your hard drive, are they still in the same folder as they were when you ran them through DGIndex? Hopefully you didn't delete them to save space, or thinking you no longer needed them once you had the .d2v file.

If your source files are still in the same location and you are getting this error still, then I don't know what to tell you, other than to make sure that the path to evadisk6.d2v is really F:\DGIndex Projects\evadisk6.d2v

neuron2
12th February 2006, 18:07
You have to use the matching DGDecode.dll with DGIndex. You cannot use MPEG2Dec3.dll.

MaximRecoil
12th February 2006, 18:50
You have to use the matching DGDecode.dll with DGIndex. You cannot use MPEG2Dec3.dll.Yup, that's definitely true, not only do you have to use DGDecode.dll with DGIndex, but you have to the exact version that came with the DGMPGDec package; like neuron2 said, "matching". For example, DGDecode.dll v1.4.5 won't work with DGIndex v1.4.6.

@neuron2
Has that always been the case? I don't seem to remember needing a specific version of MPEG2Dec3.dll to work with DVD2AVI.

neuron2
12th February 2006, 19:37
Has that always been the case? I don't seem to remember needing a specific version of MPEG2Dec3.dll to work with DVD2AVI. The two components always had to agree about the format of the D2V file. That format changed rarely in the DVD2AVI days, but with DGMPGDec, it changes often, to allow for new features. Recognizing that, I implemented the version checking mechanism for DGMPGDec. In the past, if the two components were mismatched, you'd get a silent failure.