VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    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.


    Code:
    h_mask=imagesource("C:\projects\Shawn_Hennesy_Project\comps\hmaskwhite.png", end=20, pixel_type = "RGB32").ConvertToRGB32 ()
    
    the_interview=v1
    
    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)
    
    video_audio=the_interview.killvideo()
    
    mainbg = AudioDub(logo, video_audio)
    
    return mainbg
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    [ SOLVED SOLUTION ] Make the make the same size as the imported movie resized.

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

    Code:
    the_interview=v1.BilinearResize(820,464)
    And

    Code:
    \.overlay( the_interview,x=447, y=242, mode="blend", mask=h_mask)
    I get no more conflict with the mask being a different size.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!