Log in

View Full Version : video that combines 2 other by using half the frames of each


E-Male
18th August 2002, 19:49
sorry for strange title, bad english and if this is in the wrong forum

what i want to do is make video out of two others
(I´m caling the sourc-videos just A and B now and the resulting one X)

1st frame of X is 1st frame of A
2nd frame of X is 2nd frame of B
3rd frame of X is 3rd frame of A
4th frame of X is 4th frame of B
and so on

is there any plug-in, script, tool or method to do that
(without copy and past for each frame by hand!)

thx in advance
cu
e-male

hakko504
18th August 2002, 21:07
AVIsynth:a=AVIsource(clip1.avi)
b=AVIIsource(clip2.avi)
c=a.selectEven() #Get even numbered frames from clip a, starting with frame 0
d=b.SelectOdd() #Get odd numbered frames from clip b
x=interleave(c,d)
return xThis will most likely screw up audio so you have to process audio separately. You can probably get into trouble if the clips aren't the same length. Use trim to cut the longer clip to the length of the shorter, like this:d=b.trim(0,endframe).SelectOdd()

E-Male
18th August 2002, 21:35
thx