View Single Post
Old 16th February 2013, 22:45   #2  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
You will need the latest 2.6 Alpha 4 :-
Code:
...Source("one")
SeparateRows(2)
E1=SelectEven() # Rows 1.0, 1.2, 1.4 ,...
O1=SelectOdd() # Rows 1.1, 1.3, 1.5, ...

...Source("two")
SeparateRows(2)
E2=SelectEven() # Rows 2.0, 2.2, 2.4 ,...
O2=SelectOdd() # Rows 2.1, 2.3, 2.5, ...

E=Interleave(E1, E2).WeaveColumns(2) # 1.0.0, 2.0.0, 1.0.1, ..., 1.2.0, 2.2.0, 1.2.1, ...
O=Interleave(O2, O1).WeaveColumns(2) # 2.1.0, 1.1.0, 2.1.1, ..., 2.3.0, 1.3.0, 2.3.1, ...

Interleave(E, O)
WeaveRows(2) # 1.0.0, 2.0.0, 1.0.1, ..., 2.1.0, 1.1,0 2.1.1, ...

Last edited by IanB; 16th February 2013 at 22:49.
IanB is offline   Reply With Quote