Log in

View Full Version : 1 script, diff filters for each of 3 sources. cant get it working


tomos
27th February 2006, 00:41
i have 3 clips i want to process as one. have always done this in the past just by adding another source

problem now is, the first 2 are film and from checking the frames, need telecide with order=0. the 3rd tho (being film) needs order=1. (info from dgindex and testing tff v bff)

i asked someone i know for some info, and he suggested identifying each source. have tried this, but it just doesnt work. (clip below)

vdub says "the scripts return value was not a video clip" :confused:


Loadplugin("DGDecode.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\UnDot.dll")

ep1 = mpeg2source("ep1.d2v")
ep2 = mpeg2source("ep2.d2v")
ep3 = mpeg2source("ep3.d2v")

Telecide(ep1,ep2,order=0,guide=1)
Telecide(ep3,order=1,guide=1)
Decimate()
cropbottom( 8)
Deblock()
UnDot()



i've left all the filters etc out and ended after ep3 = etc, but still the same. i've searched on other people using the ep1 =, or clip1 = , etc and its worked for others.

have i just missed something blatently obvious?

Zarxrax
27th February 2006, 00:44
Do it like this:


ep1 = mpeg2source("ep1.d2v").Telecide(order=0,guide=1).Decimate()
ep2 = mpeg2source("ep2.d2v").Telecide(order=0,guide=1).Decimate()
ep3 = mpeg2source("ep3.d2v").Telecide(order=1,guide=1).Decimate()

ep1+ep2+ep3
cropbottom( 8)
Deblock()
UnDot()

Guest
27th February 2006, 00:47
Try this:

Loadplugin("DGDecode.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\Decomb521.dll")
Loadplugin("C:\Program Files\AviSynth 2.5\plugins\UnDot.dll")

ep1 = mpeg2source("ep1.d2v")
ep2 = mpeg2source("ep2.d2v")
ep3 = mpeg2source("ep3.d2v")

ep1 = Telecide(ep1,order=0,guide=1)
ep2 = Telecide(ep2,order=0,guide=1)
ep3 = Telecide(ep3,order=1,guide=1)
Decimate(ep1+ep2+ep3)
cropbottom( 8)
Deblock()
UnDot()

But realize that you are making a clip with a field order transition. That could be very bad unless the material is 100% progressive. It's safer to correct the field order of ep3.

tomos
27th February 2006, 00:58
sweet! :D

both worked great. checked each clip in vdub and went through some fast motion scenes to check. all 3 look as if they were done as 1 script per clip.

will save this, just in case i need it again.

thanks again you 2 :)