VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Is there any way to put some drop shadow effect on watermark logo?

    in most of the filters the logo must have black background and if you make the drop shadow in white it doesnt work because the drop shadow area takes the black levels so became like a border around the logo.

    any ideas?
    Quote Quote  
  2. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Is the logo flattened to the video?

    You need to cutout the logo with an image editor. Then make the shadow.
    Quote Quote  
  3. but most of the filters wants total black background behind the logo. and bmp format so the drop shadow is a bit harder that way
    Quote Quote  
  4. Create an alpha mask that covers the logo and the black background. Then overlay using that alpha mask.

    logo: Name:  LOGO.png
Views: 790
Size:  1.7 KB
    mask: Name:  mask.png
Views: 716
Size:  13.7 KB

    Overlay with 100 percent opacity:
    Click image for larger version

Name:	p100.png
Views:	341
Size:	9.6 KB
ID:	36438

    Overlay with 20 percent opacity:
    Click image for larger version

Name:	p20.png
Views:	474
Size:	9.5 KB
ID:	36437
    Quote Quote  
  5. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    Most video editors I know accept 32-bit PNG images with transparency, shadows are no problem.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  6. Can you guys show me a script

    this is what I use
    Code:
    a1 = ImageSource("logo.bmp").ConvertToRGB32
    mask_clip = Mask(a1, a1.GreyScale.Levels(0, 1, 10, 0, 240))
    Overlay(a1, mask=ShowAlpha(mask_clip), y=340, x=0,
     \ mode="blend", opacity=1)
    ConditionalReader("C:\timecode.txt", "ol_x_offset", false)
    Quote Quote  
  7. I built the alpha mask from the logo image:

    Code:
    logo = ImageSource("LOGO.png").ConvertToYV12(matrix="PC.601") # the logo
    amask = Overlay(logo, logo, x=3, y=3, mode="add") # alpha mask includes drop shadow
    ColorBars(pixel_type="YV12") # a video to add the logo to
    Overlay(last, logo, mask=amask, x=20, y=20, opacity=1.0) # add the logo
    Quote Quote  



Similar Threads

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