overlay cmd in avisynth

Discussion in 'DivX / XviD' started by Matador, Feb 5, 2006.

  1. Matador

    Matador Regular member

    Joined:
    Jul 3, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    26
    So I been trying to find a way to add logo to my Video for some time now and all the software I found looks cheesy and is shareware.So I came upon this cmd for avisynth and the good thing is that I can add it to my avi file and run it with VDM and not reencode the file.Just fast recompress.

    -------------------------------
    video = DirectShowSource("X:\test.avi")
    logo = ImageSource("C:\logo.bmp")
    logomask = ImageSource("C:\logo-mask.bmp")
    Overlay (video, logo, mask=logomask)
    ----------------------------------
    But the watemark shows up at the top left of the screen.What else do I have to put for it to show up at the bottom of right.Lets say video is 640 x 480.Well the offset don't matter I just need the command to get this started....
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Might be easier just to use Xlogo. It cuts the frame so as to only convert the part with the logo to RGB32 so it should be faster and easier.
     
  3. Matador

    Matador Regular member

    Joined:
    Jul 3, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    26
    Can you give me an example script?Cuz Im getting nothing but errors.I added LoadPlugin("c:\xlogo.dll") on top of script then xlogo("c:\logo.bmp", 0, 0, 0) after DirectShowSource cmd "X-Logo:Could not load bitmaps" error.But I tried making the bmp 24Bit and divisible by 16 and tried from transperate to solid white\black backgrounds.And still the same.Easier you say.....LOL
    So I tried chaging the name to 0.bmp now i get Check Interpolation bitmap from (44,94)going down.
    I followed tut @ http://www.doom9.org/index.html?/capture/delogo.html 14.3.2 Xlogo
    Using xlogo_25_dll_20030630 archive and newest AVS
     
    Last edited: Feb 6, 2006
  4. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Never used it myself since I don't see the point of adding logos.
     
  5. Matador

    Matador Regular member

    Joined:
    Jul 3, 2003
    Messages:
    344
    Likes Received:
    0
    Trophy Points:
    26
    Thanx anyways but I Found out how to change it..Just make the bmp 640x480 then just place the logo anywhere I want....Dam to easy....LOL
     

Share This Page