Importing d2v to Virtualdubmod...

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Paranoir
Joined: Mon Sep 03, 2007 8:15 am
Location: My world.
Org Profile

Importing d2v to Virtualdubmod...

Post by Paranoir » Wed Sep 05, 2007 3:26 pm

Hello...
I'm doing my dvd-rip, following this guide, step by step...
I've gotten to the step where my script has to look like this:
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
MPEG2Source("H:\DVD rip\Akira.d2v")
But avisynth gives me an unrecognised exception!
Avisynth open failure:
Evaluate: Unrecognised exception!
(H:\DVD rip\Akira--mpeg2dec.avs, line 3)
I wonder what I could be doing wrong... Everything seems right..
Help? :uhoh:

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Wed Sep 05, 2007 9:10 pm

1) Kill the LoadPlugin lines. AVISynth 2.5 auto-loads any plugins in its Plugins directory, and it looks like that's where yours are (as they should be).

2) Spaces in directory names sometimes cause problems; see if it works if you rename the directory the D2V file is in.

3) What program did you use to make the D2V file?
If you used <b>DVD2AVI</b>, then you should be using <b>MPEG2Dec3DG.dll</b> as your MPEG-2 decoder (available <a href="http://www.aquilinestudios.org/scripts/">here</a>).
If you used <b>DGIndex</b>, then you should be using whatever version of <b>DGDecode.dll</b> came with it as your MPEG-2 decoder.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Wed Sep 05, 2007 10:38 pm

Scintilla wrote:2) Spaces in directory names sometimes cause problems; see if it works if you rename the directory the D2V file is in.
Or if the script and d2v file are in the same directory, eschew the path altogether. I can't say I've ever experienced a situation where spaces in absolute paths messed things up, but the only times I've had problems with relative paths is when something else was off, like the filename itself being wrong or forgetting to close in the filename with " marks, which would cause problems regardless of using absolute or relative paths.

User avatar
Paranoir
Joined: Mon Sep 03, 2007 8:15 am
Location: My world.
Org Profile

Post by Paranoir » Thu Sep 06, 2007 11:20 am

Scintilla wrote:1) Kill the LoadPlugin lines. AVISynth 2.5 auto-loads any plugins in its Plugins directory, and it looks like that's where yours are (as they should be).

2) Spaces in directory names sometimes cause problems; see if it works if you rename the directory the D2V file is in.

3) What program did you use to make the D2V file?
If you used <b>DVD2AVI</b>, then you should be using <b>MPEG2Dec3DG.dll</b> as your MPEG-2 decoder (available <a href="http://www.aquilinestudios.org/scripts/">here</a>).
If you used <b>DGIndex</b>, then you should be using whatever version of <b>DGDecode.dll</b> came with it as your MPEG-2 decoder.
I did all 3, but still I get the same "unrecognised exception"..
I used DVD2AVI, but I had MPEG2Dec3.dll - I downloaded and copied the MPEG2Dec3DG.dll to my plugins directory too, but still the same..

User avatar
Paranoir
Joined: Mon Sep 03, 2007 8:15 am
Location: My world.
Org Profile

Post by Paranoir » Thu Sep 06, 2007 11:25 am

Actually (very sorry for double-posting), I don't know if it matters but when I tried to load plugins manually and load the DG one, the error was:
Avisynth open failure:
MPEG2Source : unable to load file "H:\DVDrip\Akira.d2v"
((H:\DVDrip\Akira--default.avs, line 3)

User avatar
Paranoir
Joined: Mon Sep 03, 2007 8:15 am
Location: My world.
Org Profile

Post by Paranoir » Thu Sep 06, 2007 11:46 am

Uh-oh... Triple post... There should be an edit button :uhoh:
Anyway, I had to post - the problem is solved!
I opened the VOB files with Directshowsource and it seems ready to filter and export..
Thank you for your help!

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Thu Sep 06, 2007 5:07 pm

- Did you try deleting MPEG2Dec3.dll and any instances of DGDecode.dll, leaving only MPEG2Dec3DG.dll in your plugins directory?
- Did you try re-making the D2V files with DVD2AVI? (I believe 1.76 is preferred to 1.77 for this purpose)


(Yes, I know you said you solved the problem, but one really shouldn't settle for using DirectShowSource if there's any way to get MPEG2Source to work.)
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Locked

Return to “AviSynth Help”