View Full Version : Overlay()
lamola2003
28th April 2004, 21:15
With himself not to use with exito the commando overlay.
I need an example for the use the commando overlay() to put a logo. Also I need un file original , un file overlay and un file mask.
How is made the file mask?
Thanks.
lamola.
shevegen
29th April 2004, 19:12
I am quite a know-nothing, and might have misunderstood a part of your question. One thing I am using for producing blank clips is:
text = BlankClip(width=80, height=40)#.Subtitle("XXXX")
Overlay(video,text,x=150,y=35,mode="blend",opacity=1.00)
But I believe you can easily adjust this to add another clip instead of the BlankClip into this... maybe helps a bit?
Cant help on the other stuff, sorry
snowcrash
3rd August 2004, 22:44
Here's an example. I add this to the end of my avs scripts when I want to add a logo to lower right corner.
logo=Imagereader("E:\Videos\logo.bmp")
LogoMask=Imagereader("E:\Videos\logo.bmp")
Overlay(logo, x=(Width() - logo.Width()), y=(Height() - logo.Height()), mask=LogoMask, opacity=.7)
____________________________
Here's an example of logo.bmp graphic. If you use this same graphic for both logo and mask, then you end up with white text of "MyLogo".
http://s92093572.onlinehome.us/logoexample.gif
sh0dan
4th August 2004, 08:24
Originally posted by snowcrash
Here's an example of logo.bmp graphic. If you use this same graphic for both logo and mask, then you end up with white text of "MyLogo".
http://s92093572.onlinehome.us/logoexample.gif
You should try using an all-white main image. This should make much nicer borders on your logo. Something like this:LogoMask=Imagereader("E:\Videos\logo.bmp")
Logo = BlankClip(LogoMask, color=$ffffff)
Overlay(logo, x=(Width() - logo.Width()), y=(Height() - logo.Height()), mask=LogoMask, opacity=.7)
snowcrash
23rd August 2004, 12:11
Originally posted by sh0dan
You should try using an all-white main image. This should make much nicer borders on your logo. Something like this:LogoMask=Imagereader("E:\Videos\logo.bmp")
Logo = BlankClip(LogoMask, color=$ffffff)
Overlay(logo, x=(Width() - logo.Width()), y=(Height() - logo.Height()), mask=LogoMask, opacity=.7)
Thanks for the tip, I'll try that. I did notice that there was a bit of mosquito noise around my logo.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.