VideoHelp Forum
+ Reply to Thread
Results 1 to 15 of 15
Thread
  1. Hello!

    Read other threads and it was not clear to me
    how can I add a logo ( image png or jpg) to encode in MeGUI using scritp below? sorry but you need it

    "DirectShowSource (" F: \ Paste \ file.ts ")

    Load_Stdcall_Plugin ("C: \ Users \ Maicon \ Desktop \ MeGUI \ tools \ yadif \ yadif.dll")
    Yadif (order = 1)
    LanczosResize (1280.720) # Lanczos (Sharp)
    Tweak (0,1,0,1) "

    input file> ts
    output file> mkv

    I can do conversions without problems, but I need the file skirt with a logo in the bottom right corner

    sorry for my english.
    thank you.
    Quote Quote  
  2. the logo should be the beginning to the end of the video, without interruptions
    Quote Quote  
  3. logo = ImageSource("C:\Users\Maicon\Documents\Nova pasta\rotatetrans.png).ConvertoRGB32
    mask_clip = Mask(logo, logo.GreyScale.Levels(0, 1, 75, 0, 255))
    Overlay(logo, mask=ShowAlpha(mask_clip), y=5, x=990, mode="blend", opacity=100)

    no works
    Quote Quote  
  4. i dont understand nothigh, i am noob. I'm having trouble

    how to adapt it to my case?
    Last edited by muxado; 17th Apr 2013 at 22:15.
    Quote Quote  
  5. I use this for png with alpha channel, it is taken from this forum also, cannot find particular thread now, you use your script that works for video and you just add:
    Code:
    clip=last
    logo=ImageSource("E:\.....path....\transparent_logo.png", pixel_type="RGB32")
    Overlay(clip,logo,mask=logo.ShowAlpha())
    Quote Quote  
  6. @_Al_

    very thanks
    The video took the logo, but and the position?

    x and y? how?
    Quote Quote  
  7. I do it in Photoshop, creating empty picture, no background with the same resolution as video, pasting logo in it, positioning it and resizing, saving as png. And that png is what I use in the script.
    Quote Quote  
  8. what I say is adjust the logo for the post that I want on video

    that your script, the logo was on the upper left, but I want to stay fit in the right lower
    Quote Quote  
  9. that is what I mean also
    Quote Quote  
  10. ok. thanks.
    please someone help me to adjust the position of the logo
    I tried some ways and the script was not accepted by MeGUI
    Image Attached Thumbnails Click image for larger version

Name:	11814931.jpg
Views:	402
Size:	42.0 KB
ID:	17356  

    Quote Quote  
  11. _Al_ is saying make the logo image the same dimensions as the video, position the logo in the image editor (eg. photoshop) ,save with alpha channel

    or you can use
    Overlay(clip,logo,x=600, y=300 , mask=logo.ShowAlpha())

    Adjust x, and y value to position it exactly where you want
    Quote Quote  
  12. Member
    Join Date
    Jan 2003
    Location
    India
    Search Comp PM
    Originally Posted by _Al_ View Post
    I use this for png with alpha channel, it is taken from this forum also, cannot find particular thread now, you use your script that works for video and you just add:
    Code:
    clip=last
    logo=ImageSource("E:\.....path....\transparent_logo.png", pixel_type="RGB32")
    Overlay(clip,logo,mask=logo.ShowAlpha())
    Change overlay line to
    Code:
     Overlay(clip,logo,mask=logo.ShowAlpha(),x=?,y=?)
    x and y are measured in pixels from top left corner of the video to the top left corner of the logo. x is horizontal, y is vertical. Replace ? with your values.

    Start with x=0, and y= difference in height between logo and video.
    Gradually increase x and reduce y till you have positioned the logo to your liking.
    Quote Quote  
  13. ow very thanks.

    Al and poison and mgh.

    got what I wanted...
    forgive my ignorance on the subject
    Quote Quote  
  14. to position the logo in the script as you say, is perhaps faster, less calculations, hunting all those alpha channel pixels all over picture ... have to try it when there is a chance ...
    Quote Quote  



Similar Threads

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