PDA

View Full Version : how to trim two different avi to do once


split710
10th May 2008, 15:51
Hi friends

I would like to encode two different avi together to have once

example

movie1.avi
movie2.avi (with different crop and resize)

to obtain

movie.avi (movie1+movie2)

i only remember to use a "trim" but i forgot the way, could some one help me??

i promise i will write now on my booklet :)

thank's a lot

ola

unskinnyboy
10th May 2008, 16:16
You can do something like:

movie1 = AVISource("C:\path_to_first_avi\first_avi.avi").Crop(..).LanczosResize(...)
movie2 = AVISource("C:\path_to_second_avi\second_avi.avi")Crop(..).LanczosResize(...)
return movie1 + movie2

movie1 and movie2 should have the same resolution, framerate and colorspace.