Log in

View Full Version : Overlay


lamola2003
2nd March 2004, 15:37
I want to put a water mark in a video that already I have totally published. I see that the order "overlay" that brings avysinth 2.5x can fulfill my desire, but how not to become it.
Supposing that the water mark I have in an image file (jpg, bmp...) marca.bmp and that the video this in a called file video.avi, How it would be the line that incrustaria me the water mark?
I have tried several options but so single with himself to inlay the water mark adding a transparency, with which the resulting video is darker (the greater or smaller dark depends on the minor or greater transparency).
The file is a black image bottom in which in the inferior corner straight is one elliptical figure of blue color with initials of red color.
Greetings lamola

sh0dan
2nd March 2004, 17:34
Post your images and we could give it a shot. Some pointers:

Import your images using ImageReader
Have your transparency (if any) as a separate clip.

Sample script:
Video = AviSource("file.avi")
pic = ImageReader("c:\path\image.png",0,0,25).flipvertical()
pic_mask = ImageReader("c:\path\image_mask.png",0,0,25).flipvertical()
Overlay(Video, pic, mask=pic_mask, x=10, y = 200, mode="blend")

lamola2003
2nd March 2004, 21:04
How I can upload the files?
thanks
lamola