Log in

View Full Version : POssible to "DeLogo" Built in lyrics?


DarkT
27th April 2007, 22:28
The Trigun dvd I have has these green English lyrics hard-subbed into it - you know, the "ED" lyrics.

I was wondering if it's possible to use a DeLogo'er on it to remove it.

I know there are 2 de-logo'ers for avisynth, one I think is called kafka, don't remember the other... Would they work?

Has anybody dealt with something similiar in the past? Please advise - as atm I just crop and add border - which isn't the best way to go /me thinks...

Example1:
http://img45.imageshack.us/img45/3677/example1ny1.jpg
Example2:
http://img252.imageshack.us/img252/1396/example2jm0.jpg

Malcolm
28th April 2007, 23:34
http://www.compression.ru/video/subtitles_removal/index_en.html

DarkT
29th April 2007, 01:04
I'm looking for an avisynth'ish way of doing it... But thanks anyway.

Die Kuh macht Muh
29th April 2007, 01:30
I'm looking for an avisynth'ish way of doing it... But thanks anyway.
You can use VDub filters in Avisynth.

Apologies if you knew this already :helpful:

DarkT
29th April 2007, 02:54
Hmmm, I do know that you can load them, but how would one know what values are possible to input?

Die Kuh macht Muh
29th April 2007, 03:40
Hmmm, I do know that you can load them, but how would one know what values are possible to input?
You have to find the right settings in VDub. Then you do File -> Save as and make sure "don't process now, add to jobs" is checked. Save the file. You will then find the Avisynth settings in the VirtualDubMod.jobs file in the Vdubmod folder.

DarkT
29th April 2007, 23:17
You have to find the right settings in VDub. Then you do File -> Save as and make sure "don't process now, add to jobs" is checked. Save the file. You will then find the Avisynth settings in the VirtualDubMod.jobs file in the Vdubmod folder.

Wow, that's awesome, thanks sooo much... Elite.

asarian
25th November 2010, 13:15
This is the weirdest filter ever: it doesn't do ANYTHING!

I gave VirtualDUB an avs file, added the MSU Subtitle Remover, ran the dub... but it marks/removes nothing; not even a single dot. What a disappointment.

StainlessS
2nd December 2010, 03:53
Have also tried the MSU Subtitle Remover with little success, I did however get
it to do something unlike previous poster. What it did do was of little use.
I tried on live video, might work better on anime. If they ever get this plugin
working properley, then could be a very good addition for video recovery.

In general, de-logo plugins may be of little use for subtitles, ie logo's tend to be
static thoughout the clip, subtitles do not. As well as Dekafka, there are
AVSInpaint and ExInpaint, and XLogo, delogo filters (perhaps more). Dekafka is likely to be the
only one that could possibly help although, depending upon source, may have the
coordinates screwed up (most versions do in one way or another).

Might I suggest that if you do fancy trying Dekafka, that you instead look
at the s_ExLogo Dekafka based modification, it does though have a YUY2
only restriction.

Something like below might help although it does produce quite ugly blurring,
but might be preferable to Crop and AddBorders.

import("D:\avs\avs\S_ExLogo.avs")
ImageSource("D:\AVS\AVI\%d.jpg",1,2, use_DevIL=true).ConvertToYUY2()
# -------------------------------------------
LOGOMODE=2 # 0=setup: 2= default
BLURMODE=0 # 0=off : 4=default
AMOUNT=252 # about 252 to 255
# ------------ @ 700x476 --------------------
s_ExLogo(32,365,630,68,mix=-1,logomode=LOGOMODE,amount=AMOUNT,blurmode=BLURMODE)
# OR Maybe Just
#s_exLogo(32,366,630,32,mix=-1,logomode=LOGOMODE,amount=AMOUNT,blurmode=BLURMODE)
#s_exLogo(32,402,630,32,mix=-1,logomode=LOGOMODE,amount=AMOUNT,blurmode=BLURMODE)
return Last

EDit: "ImageSource" above was used to get the two provided jpg's,
change to AviSource or other.

The above coords are based only on the 2 frames provided and
might need alteration, have made a little wider than necessary
for two provided frames.

You could break up the clip into sequences, non subtitled and
subtitled and set coords for each individual subtitled sequence
but this would be a very time consuming task.

s_ExLogo HERE (http://forum.doom9.org/showthread.php?t=154559)