View Full Version : what's wrong with the script
Yama4050242
5th February 2006, 05:24
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.DLL")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb.DLL")
video=MPEG2Source("E:\DVD2\22\22.d2v")
video=FieldDeinterlace(video)
return video
error message:
Evaluate:Unrecognized exception!
line 4
Guest
5th February 2006, 16:34
You've got your filters in the plugin directory, which autoloads them, AND you are manually loading them. Try deleting the LoadPlugin lines from the script.
mg262
5th February 2006, 16:50
sany,
I would recommend reading the rules very quickly ;).
neuron2,
Q. Why does it cause a problem if a filter is loaded more than once? As far as I can see, the second load would just override all the function names... Or is there a problem with loading 2 DLLs with the same name?
Guest
5th February 2006, 17:27
Q. Why does it cause a problem if a filter is loaded more than once? As far as I can see, the second load would just override all the function names... Or is there a problem with loading 2 DLLs with the same name? I don't know if it causes a problem, but it's the only strangeness I see with his script. Let's see what happens when he fixes that.
Guest
5th February 2006, 17:31
video1 = AVISource("c:\fansub\[l33t-raws]Shakugan_no_Shana_01_(640x360_WMV9 [...] Please read and follow forum rules, specifically, rule 6: do not discuss downloaded content. Thank you.
It's also impolite to hijack other people's threads. Make your own in the future.
sany
6th February 2006, 01:04
It's also impolite to hijack other people's threads. Make your own in the future.
Lol I just thought I wouldn't spam the forum by opening a new thread when there's already one for the theme I'm interested in(sorry fi I did something improper). Sorry about not reading the rules I fixed the stuff.
:stupid:
My problem is that the second overlay function uses the variables of the first one. So the outcome is not that I receive two different overlay images, but the first one twice.
Yama4050242
6th February 2006, 01:26
You've got your filters in the plugin directory, which autoloads them, AND you are manually loading them. Try deleting the LoadPlugin lines from the script.
delete the first 2 line cause another error
MPEG2Source: coundn't open file
line 1
mg262
6th February 2006, 04:26
"E:\DVD2\22\22.d2v" -- would you explain exactly how you created this file?
Yama4050242
6th February 2006, 06:32
i created this file using dgindex 1.4.5, and the DGDecode.DLL match with dgindex
Guest
6th February 2006, 07:12
MPEG2Source: coundn't open file Check that the path and filename for the D2V file are correct.
Yama4050242
6th February 2006, 14:18
the path and filename are all right,
if i comment line four out
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.DLL")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb.DLL")
video=MPEG2Source("E:\DVD2\22\22.d2v")
#video=FieldDeinterlace(video)
return video
then i can play the .avs using mpc.
Yama4050242
6th February 2006, 14:31
and more strange, the below script can be played
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.DLL")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb.DLL")
video=MPEG2Source("E:\DVD2\22\22.d2v")
audio=WAVSource("E:\DVD2\22\22 T01 2_0ch 256Kbps 48KHz.wav")
video=FieldDeinterlace(video)
AudioDub(video, audio)
Yama4050242
6th February 2006, 14:53
i think i found the trick
there must be a line between
video=MPEG2Source("E:\DVD2\22\22.d2v")
and
video=FieldDeinterlace(video)
otherwise it returns an error
the below script also work
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.DLL")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Decomb.DLL")
video=MPEG2Source("E:\DVD2\22\22.d2v")
video=tweak(video)
video=FieldDeinterlace(video)
return video
Yama4050242
6th March 2006, 05:09
the problem is the new mpc player, i return to the older version 6.4.8.4, the problem disappear
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.