Ive seen it been done with perfect result, but when i try it, it becomes hard and not as smooth as it supposed to be (i've used the logo-away plugin for VD)..
...story...
I've got a copy of an old tv-show, and i want to remove the logo of the station that broadcasted the show, worth mentioning is that its not a permanent logo, it flickers on and off from time to time.
I've RTFM but i cant get it right, any general tips/settings how to make it work with a better result? i.e to make it smoother.
help's appreciated
:.:.:.:.:.:.:.:.:.:.:.:.
+ Reply to Thread
Results 1 to 18 of 18
-
-
Here's what I've done;
If the logo only appears once in a while, then the video can be editted with Vdub and cut up into pieces, the parts that need the filter and the parts that don't. Filter the parts that need it then reassemble the video with Vdub. It can be alot of work and you need to decide if it's worth it. I've only done it once as an experiment, but the results were excellent.
To set up the filter, I put the preview on and use solid fill to locate and size the box. Make sure to completely cover the logo, go a little bit over even. Then I set it for X-Y mode. Depending on the size and location of the box, I'll adjust the X & Y to suit, a little more X infill or a little more Y.
That's really about it, I've been happy with the results.
8)
"Art is making something out of nothing and selling it." - Frank Zappa -
ok I'll give it a go, thanks!
---story 2----
8)
the first logo appears between frame number 1388-1497
lets say that i only what to remove that
particulary one logo, how should i proceed?.
i dont want the whole rip to become blurred at those coordinates (where the logo appears), just between frame no: 1388-1497... Thats it.
Is there a scipt to make this work or do i have to encode it part by part? i.e encode frame 0-1388, then encode 1498 --end, and do the logo-away on frames 1388-1497?.
btw this id the first time i use this filter so please be patient -
Use AviSynth as frameserver and apply logo_away on just the trimmed block of frames:
global VirtualDub_plugin_directory = "d:\vd\plugins"
c=avisource("g:\stone.avi")
c1=c.trim(712,832)
c2=c.trim(1388,1497) # this is the part with the removed logo!
c3=c.trim(2056,136859)
c2=logoaway(c2,2,430,93,220,24)
return c1+c2+c3
function logoaway(clip clip,int typ,int xp,int yp,int xs,int ys)
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+" \logoaway.vdf", "_LogoAway")
border_X = xp
border_Y = yp
A = border_X*65536+border_Y
logosize_X = xs
logosize_Y = ys
B = logosize_X*65536+logosize_Y
upper_left = 0
upper_right = 1
down_right = 3
down_left = 2
t = 1*down_right + 256*down_left + 65536*upper_right + 16777216*upper_left
return clip._LogoAway(typ, A, B, 1, 0, 5, 0, t, 0,1, "", "")
}
As you can see, logoaway is only applied to clip c2, c1 and c3 are uneffected- -
I gotta learn Avisynth. Know where I can find some good tutorials?
"Art is making something out of nothing and selling it." - Frank Zappa -
Zippy ,
Doom 9 has all the Avisynth nuts. The
HTML help ifor it is quite useful as it has the occasional example
Good start anyway.
I have a reward out for the solution to 1 particular problem
"an AVI clip has an occasional pair of exactly duplicated frames.
find all of them and delete one of each pair " -
Thanks Foo!
"Art is making something out of nothing and selling it." - Frank Zappa -
Originally Posted by FOO
http://www.avisynth.org/index.php?page=Compare
You need 2 passes then: 1st find all duplicates, read the log and make a deletframe list out of that.
(I'm assuming duplicates are next to each other) -
In that case, rewrite the filter and let it return true or false (false: equal, true: not equal).
-
You're of course right.So even if you use a modified Compare and the boolean expression, there's no way (AFAIK) to loop inside AviSynth.
The other question is, what do you want to do with the duplicate frame?
Deleting doesn't work with audio, so you'll have to use the trim function. -
I've done it in VDUB, but it's a LOT of work. You won't be able to completely remove it in your lifetime ( it can be done, but not with what you are using ). Is the logo opaque, or is it transparent?
Sometimes it's easier to crop, or superimpose something else.To Be, Or, Not To Be, That, Is The Gazorgan Plan -
You might want to try DeLogo by Karel Suhajda. I have used it to remove the "bugs" on a lot of TV shows. Doesn't work on the 1/4 screen opaque animated stuff some stations are using now.
I have even gone as far as to apply the filter in one install of VDub and frame serve it to another install to get those really stuborn logos.
Lot of work and I still know where the logo was (my wife really doesn't notice the repair) but it is much better than it was.
Mike -
Maybe I'm too stupid ...
... I tested the script below (with AviSynth 2.52, all pathes ok) but I always get the error code "Invalid Arguments to function Logoaway Line 16 & 30"
Can anybode help me ?
thanks a lot !!
# ===========================================
function logoaway(clip clip,int typ,int xp,int yp,int xs,int ys)
{
LoadVirtualdubPlugin("d:\logoaway.vdf", "_LogoAway")
border_X = xp
border_Y = yp
A = border_X*65536+border_Y
logosize_X = xs
logosize_Y = ys
B = logosize_X*65536+logosize_Y
upper_left = 0
upper_right = 1
down_right = 3
down_left = 2
t = 1*down_right + 256*down_left + 65536*upper_right + 16777216*upper_left
return clip._LogoAway(typ, A, B, 1, 0, 5, 0, t, 0,1, "", "")
}
# Main ==== Problem: !!! Invalid Arguments to function Logoaway Line 16 & 30 === ??? ==
xPos = 50
yPos = 100
xSize = 32
ySize = 32
video = "d:\Testvideo.avi"
withlogo = AviSource(video).ConvertToRGB()
nologo = logoaway( withlogo, 1, xPos, yPos, xSize, ySize)
return nologo
Similar Threads
-
Best logo remover
By Xpenguin17 in forum EditingReplies: 21Last Post: 11th Apr 2016, 00:49 -
New logo for Toyota, Please.
By SingSing in forum Off topicReplies: 1Last Post: 13th Feb 2010, 09:43 -
removing logo
By LukeGuldan in forum EditingReplies: 1Last Post: 19th Nov 2009, 23:42 -
Adding logo
By shashidar in forum EditingReplies: 2Last Post: 10th Jan 2008, 18:39 -
Logo Remover ETC
By sayer in forum Newbie / General discussionsReplies: 3Last Post: 11th May 2007, 10:03