PDA

View Full Version : Two different clips in different parts of the screen, is that doable?


Chainmax
27th August 2006, 04:19
I want to create a special intro for a DVD I'm creating. The idea is that I'll take a clip and make two versions of it, each with different effects. Then I'd like to make a single video out of both versions that would show like this:

http://img206.imageshack.us/img206/1386/howjc9.png (http://imageshack.us)

Is that possible using Avisynth?

JMP
27th August 2006, 11:28
- Make a picture size of your clip, with one of the "Triangles" white, and another one black.
- Use ImageSource to turn it into a required length clip.
- Use mt_merge on your clips, applying the above created clip as the mask.

Chainmax
28th August 2006, 01:48
I never tried anything like that but I'll give it a shot, thanks for the suggestion :).

IanB
28th August 2006, 02:47
Or just plain layer or overlay with the appropriate alpha mask.

Chainmax
28th August 2006, 02:54
How would I go about doing that?

IanB
28th August 2006, 03:58
C1=AviSource("Version 1.avi")
C2=AviSource("Version 2.avi")
Mask=ImageSource("Mask.bmp", End=FrameCount(C1))
Overlay(C1, C2, 0, 0, Mask, 1.0, "Blend")Mask.bmp is a image of a white triangle on a black background and the same size as Version 2.avi

Chainmax
28th August 2006, 20:29
Thanks :).