Quantcast Import a Video, Overlay it, Attach a Mask to it and Move it - digitalFAQ.com Forums [Archives]
03-08-2013, 01:50 PM
lindylex lindylex is offline
Free Member
Join Date: Mar 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Iím trying to build this http://mo-de.net/d/comp3.png and I canít seem to get the order and code correct.

I want to, import a video, overlay it, attach a mask to it and move it.

h_mask=imagesource("C:\projects\Shawn_Hennesy_Project\comps\hmaskwhite.png", end=20, pixel_type = "RGB32").ConvertToRGB32 ()


orange_square=imagesource("C:\projects\Shawn_Hennesy_Project\comps\orange_h.png",  pixel_type = "RGB32")
title_shawn_henessy=imagesource("C:\projects\Shawn_Hennesy_Project\comps\title.png", end=200, pixel_type = "RGB32")
logo = imagesource("C:\projects\Shawn_Hennesy_Project\comps\firebg.png", end=200, pixel_type = "RGB32").ConvertToRGB32 ().assumefps(v1)
\.overlay (title_shawn_henessy, mode="blend", mask=title_shawn_henessy.ShowAlpha(pixel_type="RGB32"), x=0, y=0)
\.overlay (orange_square, mode="blend", mask=orange_square.ShowAlpha(pixel_type="RGB32"), x=0, y=0)
\.overlay( the_interview,x=447, y=242, mode="blend", mask=h_mask)#.BilinearResize(820,460)


mainbg = AudioDub(logo, video_audio)

return mainbg
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
03-08-2013, 02:38 PM
lindylex lindylex is offline
Free Member
Join Date: Mar 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
[ SOLVED SOLUTION ] Make the make the same size as the imported movie resized.

The mask image dimension is 820 X 464.
h_mask=imagesource("C:\projects\Shawn_Hennesy_Project\comps\hmaskwhite.png", end=20, pixel_type = "RGB32").ConvertToRGB32 ()
When I do this.


\.overlay( the_interview,x=447, y=242, mode="blend", mask=h_mask)
I get no more conflict with the mask being a different size.
Reply With Quote
03-08-2013, 11:03 PM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff / Owner
Join Date: May 2012
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post

You beat me to it.
Thanks for posting what your solution was.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Audio Import? the viking Avisynth Scripting 8 03-07-2005 03:51 PM
How to Import VRO file from DVD-RAM to Premiere? syk2c11 Video Encoding and Conversion 9 06-09-2004 09:06 PM
Mencoder: Move the noise parameter to the beginning of your script! kwag Video Encoding and Conversion 74 06-03-2004 04:54 PM
KVCD: Logo mask? nicksteel Video Encoding and Conversion 0 11-15-2003 07:24 AM
what type of settings (overlay, filters etc) make for the best quality? WhiteKnight54 Video Encoding and Conversion 1 03-31-2003 04:40 PM

Thread Tools

All times are GMT -5. The time now is 06:26 PM  —  vBulletin © Jelsoft Enterprises Ltd