kingmob
10th January 2005, 21:43
I'm using a script with a lot of overlays and after i few i'm starting to found out that 'old' overlays get a darkish green tint on them. I've debugged the other options in the script adn it all points to overlay itself. A sample clip (heavily compressed) can be found here (http://www.s-ophof.speedlinq.nl/test.avi)
This is a screenshot:
http://www.s-ophof.speedlinq.nl/screenshot.jpg
The used code is:
video = BlankClip(length=750,width=640,height=480,pixel_type="RGB24",fps=25,color=$FFFFFF)
dot = ImageSource(file = "dot.bmp", fps = 25, use_DevIL = True)
mask = ImageSource(file = "mask.bmp", fps = 25, use_DevIL = True)
#
#============================================================================================
#
Begane = BilinearResize(ImageSource(file = "beganegrond.bmp", fps = 25, use_DevIL = True),382,300)
1everd = ImageSource(file = "1everd.bmp", fps = 25, use_DevIL = True)
brug = BilinearResize(Crop(ImageSource(file = "perspectieven/vanafbrug.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
zicht = BilinearResize(Crop(ImageSource(file = "perspectieven/zichtopentree.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
entree = BilinearResize(Crop(ImageSource(file = "perspectieven/entree.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
Beging = BilinearResize(ImageSource(file = "bgingezoomd.bmp", fps = 25, use_DevIL = True),382,300)
#
#============================================================================================
#
vid1 = overlay(video,begane, x = 129, y = 180,ignore_conditional = true)
vid1 = overlay(vid1,Animate(brug, 0, 25, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 7,ignore_conditional = true)
vid1 = overlay(vid1,Animate(zicht, 225, 250, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 220,ignore_conditional = true)
vid1 = overlay(vid1,Animate(entree, 465, 490, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 433,ignore_conditional = true)
vid1 = overlay(vid1,Animate(beging, 540, 565, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 433,ignore_conditional = true)
#
#============================================================================================
#
vid1 = overlay(vid1, dot, x = 0, y = 0, mask = mask)
ConditionalReader(vid1, "xoffset.txt", "ol_x_offset", false)
ConditionalReader(last, "yoffset.txt", "ol_y_offset", false)
Thanks in advance, hope anyone can help me...
This is a screenshot:
http://www.s-ophof.speedlinq.nl/screenshot.jpg
The used code is:
video = BlankClip(length=750,width=640,height=480,pixel_type="RGB24",fps=25,color=$FFFFFF)
dot = ImageSource(file = "dot.bmp", fps = 25, use_DevIL = True)
mask = ImageSource(file = "mask.bmp", fps = 25, use_DevIL = True)
#
#============================================================================================
#
Begane = BilinearResize(ImageSource(file = "beganegrond.bmp", fps = 25, use_DevIL = True),382,300)
1everd = ImageSource(file = "1everd.bmp", fps = 25, use_DevIL = True)
brug = BilinearResize(Crop(ImageSource(file = "perspectieven/vanafbrug.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
zicht = BilinearResize(Crop(ImageSource(file = "perspectieven/zichtopentree.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
entree = BilinearResize(Crop(ImageSource(file = "perspectieven/entree.bmp", fps = 25, use_DevIL = True),0,76,0,-76),200,150)
Beging = BilinearResize(ImageSource(file = "bgingezoomd.bmp", fps = 25, use_DevIL = True),382,300)
#
#============================================================================================
#
vid1 = overlay(video,begane, x = 129, y = 180,ignore_conditional = true)
vid1 = overlay(vid1,Animate(brug, 0, 25, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 7,ignore_conditional = true)
vid1 = overlay(vid1,Animate(zicht, 225, 250, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 220,ignore_conditional = true)
vid1 = overlay(vid1,Animate(entree, 465, 490, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 433,ignore_conditional = true)
vid1 = overlay(vid1,Animate(beging, 540, 565, "Levels", 0,1,255,255,255, 0,1,255,0,255), y = 0, x = 433,ignore_conditional = true)
#
#============================================================================================
#
vid1 = overlay(vid1, dot, x = 0, y = 0, mask = mask)
ConditionalReader(vid1, "xoffset.txt", "ol_x_offset", false)
ConditionalReader(last, "yoffset.txt", "ol_y_offset", false)
Thanks in advance, hope anyone can help me...