IcedSoul
27th August 2013, 23:28
Hello,
i am trying to learn Avisynth at the moment, but have some difficulties to understand it.
First my sourcecode I am using:
video1=ChangeFPS(AviSource("D:\shipintro.avi", false),30).ConvertToYUY2
video2=ChangeFPS(AviSource("D:\bayarea.avi", false),30).ConvertToYUY2
video3=ChangeFPS(AviSource("D:\docking.avi", false),30).ConvertToYUY2
video=video1+video2+video3
clip = ChangeFPS(AviSource("D:\hail.avi",false),30).AddBorders(20,20,20,20,11110).BicubicResize(360,240).ConvertToYUY2
Overlay(video,clip,x=905,y=10,mode="blend", opacity=1.0)
So, I have some video snippets, and this small clip with a hail from the ship operator for docking to bay B-3-1.
It appears in the upper right corner and plays.
What I don't understand is:
1) why the place of the clip is staying black after playing the hail.avi?
I tried to nullify the clip with clip = BlankClip(length=200, pixel_type="yv12") at the end, but then, VirtualDub says the script returned no video... ?!?
2) why do any additions at the end of the script lead to ignoring the Overlay? I mean, Overlay() is before any other commands. if I add "video" at the end, Overlay() is ignored and no hail is played.
I fear that Avisynth is not really meant for video editing in this way, is it?
Or do I just understand Avisynth wrong?
I would really appreciate a small explanation.
i am trying to learn Avisynth at the moment, but have some difficulties to understand it.
First my sourcecode I am using:
video1=ChangeFPS(AviSource("D:\shipintro.avi", false),30).ConvertToYUY2
video2=ChangeFPS(AviSource("D:\bayarea.avi", false),30).ConvertToYUY2
video3=ChangeFPS(AviSource("D:\docking.avi", false),30).ConvertToYUY2
video=video1+video2+video3
clip = ChangeFPS(AviSource("D:\hail.avi",false),30).AddBorders(20,20,20,20,11110).BicubicResize(360,240).ConvertToYUY2
Overlay(video,clip,x=905,y=10,mode="blend", opacity=1.0)
So, I have some video snippets, and this small clip with a hail from the ship operator for docking to bay B-3-1.
It appears in the upper right corner and plays.
What I don't understand is:
1) why the place of the clip is staying black after playing the hail.avi?
I tried to nullify the clip with clip = BlankClip(length=200, pixel_type="yv12") at the end, but then, VirtualDub says the script returned no video... ?!?
2) why do any additions at the end of the script lead to ignoring the Overlay? I mean, Overlay() is before any other commands. if I add "video" at the end, Overlay() is ignored and no hail is played.
I fear that Avisynth is not really meant for video editing in this way, is it?
Or do I just understand Avisynth wrong?
I would really appreciate a small explanation.