Log in

View Full Version : AviSynth Bugs?


Kamui-Dash
15th March 2003, 07:17
I have an interresting bug that ive discovered. So I wanted to share this to all of u folks :D

AVISYNTH 207
AVS(29fps) #1: op.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\Decomblegacy.dll")
AVISource("opening.avi")
Decimate(5)

AVS(24fps) #2: ep.avs
AVISource("ep11.avi")

AVS(24fps) #3: go.avs
AviSource("op.avs","ep.avs")

AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
Decimate(avi1,5)
avi2=AVISource("ep11.avi")
avi1++avi2

Loading AVS #3 in nandub usually I get a error msgs which says "Cant decompress frame 0" so when i load #1 and #2 first then load the #3 it'll work and the encode turns out fine. This is with avisynth 207, but when I use avisynth 250 with decomb.dll, what I get is a greenscreen.

Another thing is with XVID koepi build "XviD-17022003-1.exe" and it wont work at all. So when i look at the file information it says "DECOMPRESSOR XVID". I dont know why XVID decompressor is handling AVS YUV alltho but this can only be answered in the XVID thread. Since earlier koepi builds didnt have this feature.

Anyway to the #4 AVS which works both on AVS 207 and 250, but the only problem is when the nandub encode is finnished. The file becomes 29fps and the op plays really fast till the EP frames shows up. This desyncs with the audio so its unuseable :(

Can sum1 tell me why this is happening :D thx in advance

sh0dan
15th March 2003, 11:58
Have you tried v 2.08 or 2.51?

Kamui-Dash
15th March 2003, 19:14
Nope, not yet I just got it yesterday so ill try it realquick when I got sum spare time to set this up again :D Sumtime during nextweek I hope. Thx for reminding me alltho.

Belgabor
15th March 2003, 21:55
You have several errors in your scripts.


AVS(24fps) #3: go.avs
AviSource("op.avs","ep.avs")


Use 'Import' for scripts, not AVISource.


AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
Decimate(avi1,5)
avi2=AVISource("ep11.avi")
avi1++avi2


Basic error. the variable avi1 is not overwritten by the decimate command, so it doest work on the output.

Use either

AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
avi1=Decimate(avi1,5)
avi2=AVISource("ep11.avi")
avi1++avi2

or

AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
Decimate(avi1,5)++AVISource("ep11.avi")


Cheers
Belgabor

Kamui-Dash
15th March 2003, 23:29
Originally posted by Belgabor
You have several errors in your scripts.



Use 'Import' for scripts, not AVISource.



Basic error. the variable avi1 is not overwritten by the decimate command, so it doest work on the output.

Use either

AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
avi1=Decimate(avi1,5)
avi2=AVISource("ep11.avi")
avi1++avi2

or

AVS(24fps) #4: go2.avs
LoadPlugin("F:\Program Files\AviSynth2\plugins\DecombLegacy.dll")
avi1=AVISource("op.avi")
Decimate(avi1,5)++AVISource("ep11.avi")


Cheers
Belgabor

Ive just ran a test with the 2 above scripts of urs and they worked, thanks for the help :)