View Full Version : what am i doing wrong?
Evil Andy
5th January 2003, 15:34
I've been using avisynth for a while now and recently decided to give 2.5 a whirl as I'm using a Pentium 2-400 and any speed increase is welcome so I downloaded avisynth.dll and put it in windows/system and downloaded mpeg2dec3.dll and put it in my Gordian Knot folder. I used DVD Decrypter and DVD2AVI to grab the vobs and make a d2v project file (without doing any resizing in DVD2AVI). Here's my avs
LoadPlugin("C:\ANDY\GORDIA~2\mpeg2dec3.dll")
# SOURCE
mpeg2source("C:\andy\dvd ripping\test\series 1 - episode 2 - the new girl.d2v")
# CROPPING
crop(4,4,710,568)
# RESIZING
BicubicResize(512,288,0,0.5)
Only problem is that VirtualDubMod throws a wobbler when I try to load it up, complaining about my resize command. If I comment it out VDMod complains about the source width not being divisible by 4 no matter what parameters I put in crop. What am I doing wrong? I've never had problems with older versions of avisynth and mpeg2dec.
sh0dan
5th January 2003, 16:53
Fix the crop-thingie by using
crop(4,4,708,568)
Or try this simpler resize (even though I can't see why your current should give problems). What exactly is it saying?
BicubicResize(512,288)
Troubleshooting scripts (http://www.avisynth.org/index.php?page=Troubleshooting)
Evil Andy
5th January 2003, 19:17
Still a no go, VDubMod comes back with
Avisynth open failure:
Unrecognised exception!
(C:\andy\dvd ripping\test\series 1 - episode 2 - the new girl.avs, line 10)
which is where the resize is supposed to take place. As I said if I comment out the resize it complains that the width should be divisible by 4 no matter what parameters I put into crop eg. crop(4,4,708,568).
Seeing as I haven't heard anyone else with a similar problem I believe that I must have got something wrong somewhere. I've the latest avisynth 2.5 alpha, the latest mpeg2dec3.dll and the latest virtualdub. Am I correct that this is all I need?
Evil Andy
5th January 2003, 20:39
Hmmmm... interesting. Just fed VDMod the following avs
LoadPlugin("C:\ANDY\GORDIA~2\mpeg2dec3.dll")
# SOURCE
mpeg2source("C:\andy\dvd ripping\test\series 1 - episode 2 - the new girl.d2v")
to see what would happen. VDMod seems to load it up happily enough but when you press any of the play input/output or any of the forward/backward buttons it prints "Avisynth read error: Avisynth: illegal instruction at 0x01e822a4" to the bottom status bar.
An attempt to check File Information shows it is recognised as a YV12 source with correct frame rate etc. and Divx 5.0.2 pro is the decompressor. At the same time VDMod keels over with a runtime error.
Evil Andy
10th January 2003, 17:13
Finally did what I should have done to begin with, namely properly testing if the problem was Avisynth or something else. A quick 5 minutes and it looks more to be a problem with MPEG2Dec3.
I recently tried this out on a separate machine and got exactly the same errors. Am I installing MPEG2Dec3 incorrectly? All I'm doing is unzipping the 3 files, dll def and html, to my Gordian Knot folder am I supposed to do something else too?
scmccarthy
10th January 2003, 17:25
Which version of Windows do you use, 98?
Stephen
Evil Andy
10th January 2003, 22:57
Yep, it's 98. Is this the bit where you tell me it doesn't work under 98?
scmccarthy
11th January 2003, 05:29
Is this the bit where you tell me it doesn't work under 98? Oh, no. I just wanted to make sure windows/system is the right folder to put avisynth.dll in. Not very helpfull, huh? I think I read somewhere that you can rename VirtualDubMod to VirtualDub so it works with Gordian Knot.
Stephen
Evil Andy
11th January 2003, 18:58
Already renamed VDM to VD and pointed Gordian not to the alternative MPEG2dec3.dll
Evil Andy
30th January 2003, 10:38
I don't know what changes were made to the beta release but everything's working peachy now :)
Thanks to all the Avisynth developers for making my encoding life 20% faster.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.