Log in

View Full Version : Thunmbnail video avs script help.


Kb_cruncher
30th September 2002, 14:07
I am wanting to create an intro mpeg with smaller thumbnail video within using avisynth.So far i have played with variations on this script with no success:-


LoadPlugin("mpeg2dec2.dll")
big=mpeg2source("D:matrixmatrix.d2v").BicubicResize(448,318).
AddBorders(16,129,16,129)# final size 480x576
small=AVISource("D:videojack.avi").BicubicResize(68,48).
AddBorders(6,6,6,6)# final size is 80x60
height1=400
height2=60
height3=116
width1=250
width2=80
width3=150
part1=big.crop(0,0,480,height1)
part2a=big.crop(0,height1,width1,height2)
part2b=small
part2c=big.crop(width1+width2,height1,width3,height2)
part2=StackHorizontal(part2a,part2b,part2c)
part3=big.Crop(0,height1+height2,480,height3)
StackVertical(part1,part2,part3)

What i want is a main video with a spinning logo in the center(already done) and two thumbnail video either side.

Is there any script syntax that would make this proccess easier as the above script only joins video end on end.

any help would be greatly appreciated.

regards

Kb_cruncher

sh0dan
30th September 2002, 14:18
The "Layer" command makes it much easier plaing one video on top of the other. It also has variable transparency, which could make your logo look better.

Kb_cruncher
30th September 2002, 14:24
Thanks for your help shOdan.I will give layering a go.It looks much easier.

Tri
30th September 2002, 17:07
Go to http://vcdhelp.com/forum/userguides/99389.php and look for an avs script called Full animated menu... It's really cool