VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. Member
    Join Date
    Sep 2012
    Location
    nai nai
    Search PM
    hey guys.... i'm using megui. i want to remove logo from this video clip. can u pls give me sample script for removing logo?
    Image Attached Files
    Last edited by poluhale2; 4th Oct 2012 at 08:56.
    Quote Quote  
  2. Because it's opaque, there's no way to make it look 'good' afterwards. You'll frequently have a large and ugly blur. However, this is the script I used and maybe you can improve on it, with work. Be advised, though, just opening this script for an entire movie often takes longer than the length of the movie itself.

    Crop(0,74,0,-72)
    InpaintFunc(mask="logo2.bmp",loc="72,0,-564,-386",AR=4.0/3.0,mode="Inpaint",speed=10, ppmode=1,pp=70,radius=10.0,preblur=10.0)
    AddBorders(0,74,0,72)

    http://avisynth.org/mediawiki/InpaintFunc

    But I've never used MeGUI and have no idea how to edit the scripts it makes. Maybe make a lossless AVI in VDub first before then using that in MeGUI.

    Image Attached Files
    Quote Quote  
  3. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    Originally Posted by manono View Post
    But I've never used MeGUI and have no idea how to edit the scripts it makes. Maybe make a lossless AVI in VDub first before then using that in MeGUI.
    That really should not be necessary. If the OP is able to use MeGUI at all, I would be absolutely amazed if he could not figure out on his own how to edit a script in it. In my opinion it's a completely unintuitive program and I have never been able to get it to work without the AviSynth script it generates needing substantial changes to even start up. I suppose anything is possible, but I'd be really surprised if the OP hasn't already had to edit scripts in it.

    Just one note - if you search on removing logos via AviSynth you may find a Russian website that claims that you can make logos completely disappear with one of their filters. You should understand that the screen shots they have are not honest and while their filter does work, it does NOT work as well as they claim it does. Even the very best attempts I've seen at removing a logo still have some small areas where you can tell that there was a logo at one time.
    Quote Quote  
  4. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    I had to edit an AviSynth script in MeGui, and nothing changed from the last job I ran it on except the source and destination files. It just refused to run on one line, claiming some error, so I deleted the line and Viola! Luckily it was something innocuous.

    The script came from this http://www.spirton.com/convert-videos-to-60fps/ site, and I've been using this interpolation script for a year or two.

    I chaulked it up to loose/sloppy code, and it still works, so no biggie.
    Quote Quote  
  5. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Quote Quote  
  6. Member
    Join Date
    Sep 2012
    Location
    nai nai
    Search PM
    Originally Posted by manono View Post
    Because it's opaque, there's no way to make it look 'good' afterwards. You'll frequently have a large and ugly blur. However, this is the script I used and maybe you can improve on it, with work. Be advised, though, just opening this script for an entire movie often takes longer than the length of the movie itself.

    Crop(0,74,0,-72)
    InpaintFunc(mask="logo2.bmp",loc="72,0,-564,-386",AR=4.0/3.0,mode="Inpaint",speed=10, ppmode=1,pp=70,radius=10.0,preblur=10.0)
    AddBorders(0,74,0,72)

    http://avisynth.org/mediawiki/InpaintFunc

    But I've never used MeGUI and have no idea how to edit the scripts it makes. Maybe make a lossless AVI in VDub first before then using that in MeGUI.

    thanks... but i don't want to use virtualdub.
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by poluhale2 View Post
    thanks... but i don't want to use virtualdub.
    See budwzr's link which shows you how to add functions to the Avisynth scripts MeGUI uses.
    Quote Quote  
  8. Originally Posted by poluhale2 View Post
    thanks... but i don't want to use virtualdub.
    Then don't. You asked for a sample script and I gave you one.
    Last edited by manono; 4th Oct 2012 at 05:14.
    Quote Quote  
  9. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    All you'll do is make a fugly blob that's more distracting than the original logo.
    Just leave it alone.

    If it must go, just crop the whole video.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  10. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by lordsmurf View Post
    All you'll do is make a fugly blob that's more distracting than the original logo.
    Just leave it alone.

    If it must go, just crop the whole video.
    Just ignore Smurf, his religion prohibits using logo filters.
    Quote Quote  
  11. You can't just blindly use that script, unless the mask you're using is exactly the same as mine. If you make your own, then you figure out your own 'loc' settings. Anyway, if I still have the 'Logo2.bmp', I'll upload it for you.

    Also, did you get the necessary AvsInpaint.dll (which is a 'C' plugin), the ExInpaint.dll, and the InpaintFunc.avs?
    Image Attached Thumbnails Click image for larger version

Name:	Logo2.bmp
Views:	478
Size:	907.1 KB
ID:	14153  

    Quote Quote  
  12. Originally Posted by Dhintana View Post
    now i'm got this error
    I get that error when I comment out the AVSInPaint.dll. It probably has to be loaded in the script. I told you it's a 'C' plugin:

    LoadCPlugin("C:\Path\To\AVSInPaint.dll")
    Also, rather than trying to load the whole movie, I hope you're testing on a small part of it first, until you get a working script, either by using the sample or by trimming off a part of the movie for testing.
    Quote Quote  
  13. Either load it as a 'C' plugin as in my example (and as I do it, assuming you have a reasonably up-to-date version of AviSynth installed), or load that AviSynth_C.dll" before you load the AvsInpaint.dll.
    Quote Quote  
  14. Don't know. What version of AviSynth are you using? If you don't know, add 'Version' to a script and open it in VDub.

    Load everything in the script:

    LoadPlugin("D:\AviSynth Stuff\Dlls\DGDecode.dll")
    LoadCPlugin("D:\AviSynth Stuff\Dlls\AVSInPaint.dll")
    LoadPlugin("D:\AviSynth Stuff\Dlls\ExInpaint.dll")
    Import("D:\AviSynth Stuff\plugins\INPaintFunc.avs")
    MPEG2Source("E:\Test\Logo\test.d2v")
    Crop(0,74,0,-72)
    InpaintFunc(mask="logo2.bmp",loc="72,0,-564,-386",AR=4.0/3.0,mode="Inpaint",speed=10, ppmode=1,pp=70,radius=10.0,preblur=10.0)
    AddBorders(0,74,0,72)
    Quote Quote  
  15. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by AlanHK View Post
    Originally Posted by lordsmurf View Post
    All you'll do is make a fugly blob that's more distracting than the original logo. Just leave it alone. If it must go, just crop the whole video.
    Just ignore Smurf, his religion prohibits using logo filters.
    If by "religion" you mean "not blind as ****"...

    ... then yes, I guess my religion is to not use de-logo filters.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  16. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by lordsmurf View Post
    Originally Posted by AlanHK View Post
    Originally Posted by lordsmurf View Post
    All you'll do is make a fugly blob that's more distracting than the original logo. Just leave it alone. If it must go, just crop the whole video.
    Just ignore Smurf, his religion prohibits using logo filters.
    If by "religion" you mean "not blind as ****"...

    ... then yes, I guess my religion is to not use de-logo filters.
    Sorry you can't work out how to use a fairly simple filter.
    Quote Quote  



Similar Threads

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