PDA

View Full Version : Do you think AVISynth can handle this...


nanogate
2nd November 2003, 01:19
Just a test::)
Say we made 3 separate scripts from the same source.
Every Script has other settings.
[e.g.]:
-
1.
#name:avs1
AVISource("D:\test.avi)
Converttoyuy2()
Spatialsoften(3,4,4)
PointResize(320,240)
Converttoyv12()

2.
#name:avs2
AVISource("D:\test.avi")
Converttoyuy2()
Temporalsoften(7,8,8,Scenechange=9,Mode=2)
BicubicResize(320,240)
Converttoyv12()

3.
#name:avs3
AVISource("D:\test.avi")
greyscale()
LanczosResizeResize(320,240)
Converttoyv12()
-
Now we make a new script and try to put them together:
-
#
Vid1=Import("avs1.avs")
Vid22=Import("avs2.avs")
Vid333=Import("avs3.avs")
VerticalStack(Vid1,Vid22,Vid333)
LanczosResize(640,480)
ChangeFPS(23.976)
#
-
I havent tried it yet, but I think it doesn't work.

Phanton_13
2nd November 2003, 03:33
the script don't work, but i Donīt now de reason. they have problem to import the oder scripts.

this other work:

----------------------------------------------------------------------

Vid1= AVISource("test.avi").Converttoyuy2().Temporalsoften(7,8,8,Scenechange=9,Mode=2).BicubicResize(320,240).
Converttoyv12()

Vid2= AVISource("test.avi").greyscale().LanczosResize(320,240).Converttoyv12()

Vid3= AVISource("test.avi").Converttoyuy2().Spatialsoften(3,4,4).PointResize(320,240).converttoyv12()

##VerticalStack(Vid1,Vid2,Vid3) Sorry but this instruction dont exist in my avishynt
## te lower line is for test
Vid1+Vid2+Vid3

LanczosResize(640,480)
ChangeFPS(23.976)

----------------------------------------------------------------------

stickboy
2nd November 2003, 07:48
Originally posted by nanogate
Vid1=Import("avs1.avs")
Vid22=Import("avs2.avs")
Vid333=Import("avs3.avs")This is not how Import is supposed to be used.

Import behaves as if you copied-and-pasted one script into the other.

What you want is:Vid1=AVISource("avs1.avs")
Vid22=AVISource("avs2.avs")
Vid333=AVISource("avs3.avs")See also:
Question: AVISynth Bug when "chaining" AVS-files ? (http://forum.doom9.org/showthread.php?s=&threadid=60680)
[BUG] import twice in script! (http://forum.doom9.org/showthread.php?s=&threadid=58795)