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?
+ Reply to Thread
Results 1 to 16 of 16
-
Last edited by poluhale2; 4th Oct 2012 at 08:56.
-
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.
-
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. -
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. -
If it's an opaque logo, I use the method outlined here:
https://forum.videohelp.com/threads/273109-Remove-an-opaque-logo-using-Xlogo-in-Avisynth -
thanks... but i don't want to use virtualdub.
-
Last edited by manono; 4th Oct 2012 at 05:14.
-
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 Discs • Best TBCs • Best VCRs for capture • Restore VHS -
-
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? -
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") -
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.
-
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) -
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Similar Threads
-
Remove an opaque logo using Xlogo in Avisynth
By AlanHK in forum User guidesReplies: 34Last Post: 4th Oct 2012, 23:17 -
Scripts and filters for an Opera (sample videos included)
By jairovital in forum RestorationReplies: 317Last Post: 31st Oct 2011, 09:23 -
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
Avisynth filters to remove mosquito noise without softening
By AlanHK in forum RestorationReplies: 8Last Post: 7th Jan 2010, 23:49