Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th November 2020, 04:03   #121  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
Maybe some flashback.

Nothing changed, just removed a pastebin link when manono approved the attachment on the first post.
VoodooFX is offline   Reply With Quote
Old 29th November 2020, 07:35   #122  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Thanks for the new version...

I have been very happy with the previous version, using only limited capabilities of the plugin. Only Inpaint mode and Analyze=4 for mask creation. Blew everything else out of the water for me.

Out of curiosity I used the new version for a few test conversions. I am not interested in the Dynamic Mask stuff, I just want to know if some of the "Various Tweaks" make a difference for me. The change which sticks out is that GrainPP is now OFF by default. I already made two conversions using the new version, and they looked beautiful. But then again the sources were not noisy at all, need to test it with grainy sources, too.

Thanks again, Cheers
manolito
manolito is offline   Reply With Quote
Old 29th November 2020, 13:30   #123  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by VoodooFX View Post
Check if it helps anything.
it did better in some cases and worse in some others, anyway I will add it in stab3
__________________
See My Avisynth Stuff

Last edited by real.finder; 29th November 2020 at 13:47.
real.finder is offline   Reply With Quote
Old 29th November 2020, 14:03   #124  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
Quote:
Originally Posted by real.finder View Post
it's did better in some cases and worse in some others, anyway I will add it in stab3
If you compare both script and plain plugin with defaults then script has better tuned defaults. Should be compared when running video result at normal fps, not looking at the static frames.
But those are optimized for normal logos, in your case you have only one side to interpolate, I'm sure that for this special case you can find better settings.


Quote:
Originally Posted by manolito View Post
I am not interested in the Dynamic Mask stuff, I just want to know if some of the "Various Tweaks" make a difference for me. The change which sticks out is that GrainPP is now OFF by default.
Shouldn't be any visible changes to the old stuff, I encountered very few sources where "GrainPP" helps, so it's off by default as it's slow filter and can make artifacts standout a bit more for no reason.
"Various Tweaks" - just some "bug" catch asserts or speedup for the new stuff here and there, like at the last minute I added a conversion to Y8 for ClipBlend as it runs much faster without chroma present.
VoodooFX is offline   Reply With Quote
Old 1st January 2021, 10:35   #125  |  Link
SkyBlue19
Registered User
 
Join Date: Apr 2019
Posts: 3
Hi All,

Happy New Year to you. I've been playing around with Inpaint Delogo, following the guide in the avsi file, the breakdown by manolito and this thread.

Here is before:



Here is after:



As you can see it is mostly gone but there is a red smudge remaining. Can anyone suggest what I can do to remove that red smudge - if anything? I appreciate it is going into the black bar at the top but that isn't an issue for me as I am doing some color correction afterwards and will re-black it then.

Here is the first part of my script to generate the mask:

Code:
InpaintDelogo(mask="C:\Desktop\xxx.bmp",Automask=1, aMix=0, Loc="1150,10,-78,-652",Mode="Inpaint",Analyze=3, FrB=38604, FrW=132193, FrS=0)
And here is the second part for the logo removal:

Code:
Loc="1150,10,-78,-652"
InpaintDelogo(mask="C:\Desktop\xxx.bmp", Loc=Loc, Mode="Inpaint", Turbo=0)
Can anyone suggest anything? Or indeed anything to further improve the logo removal, not just the red smudge?

Many thanks

PS - I am a very basic avisynth user
SkyBlue19 is offline   Reply With Quote
Old 1st January 2021, 16:46   #126  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
You asked me same yesterday by pm.

Cut black bars before doing anything, edit mask to cover that red bleed, maybe that bleed can be deblended in "both" mode.

VoodooFX is offline   Reply With Quote
Old 3rd January 2021, 00:02   #127  |  Link
SkyBlue19
Registered User
 
Join Date: Apr 2019
Posts: 3
Ah different name and different site - small world I tried to expand the loc coordinates but that didn't seem to make much difference so I edited the bmp produced in stage one and drew some extra white pixels at the bottom, which has now got rid of the red smudge. Unfortunately "both" made it look at lot worse but I am happy now, looks great. Thanks again
SkyBlue19 is offline   Reply With Quote
Old 28th April 2021, 23:59   #128  |  Link
katzenjoghurt
Registered User
 
Join Date: Feb 2007
Posts: 128
I played around with this super-promising script for some days now.
I wasn't happy with the result... my inprinted region always had some nasty "embossing" effect. The regions were very alive and with enough motion you could even read the text of the logo.

The result got better when cranking up post-blur and/or the radius... but it was never really great and the encoding times got unbearable.

Only now I realized that the script (or its defaults) don't like UHD resolution too much but it performs really well in FHD.
I guess that's due to the fact its parameters work with absolute pixels and maybe some internal values do so too.

So here is what I got:


Both were encoded with the same default parameters:
Code:
InpaintDelogo(mask="V:\Logos\Test\Pack\ABC-Testlogo-Mask-FullHD.bmp",Automask=0,Loc="1370,32,-58,-982", Mode="Inpaint")
InpaintDelogo(mask="V:\Logos\Test\Pack\ABC-Testlogo-Mask-4k.bmp",Automask=0,Loc="2750,72,-126,-1966", Mode="Inpaint")
FullHD Source: https://youtu.be/KkX9Paq_LeA
FullHD with Logo: https://youtu.be/MfCvNclkj_o
FullHD Inpaint: https://youtu.be/YM1ouZyGDV8
UHD Source: https://youtu.be/GgE79UaAH2E
UHD with Logo: https://youtu.be/C-aLEDI65MM
UHD Inpaint: https://youtu.be/Pmo-TNh45q8

The clip is anything but perfect to show the problem but it gets most noticeable in the last 4secs of the UHD Inpaint clip.

edit:
Added a second example:
FullHD with Logo: https://youtu.be/8BLaVDqtuPA
FullHD Inpaint: https://youtu.be/vPNMzbtpaoA
UHD Inpaint: https://youtu.be/JEDn6bGiaGg


Attachments:
Masks (converted to PNGs due to size) and Overlays used to bake into videos.

Last edited by tebasuna51; 28th August 2021 at 08:56.
katzenjoghurt is offline   Reply With Quote
Old 29th April 2021, 08:11   #129  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
If with defaults you could cover every video source and logos, then parameters wouldn't be needed at all.
Your examples shows that problem is: 1) Not using parameters. 2) Upscaling is a bad thing.

On your 2x upscale you need to increase these at least, to get somewhat similar results to results on original:
inflate=2
radius=16

PS
Do you have real UHD with logo example, or you are just playing around with the synthetic tests!?

Last edited by VoodooFX; 29th April 2021 at 08:20.
VoodooFX is offline   Reply With Quote
Old 29th April 2021, 09:21   #130  |  Link
katzenjoghurt
Registered User
 
Join Date: Feb 2007
Posts: 128
Hi VoodooFX.

Of course I originally tried to delogo some UHD material and the result always came with that „emboss“ like effect you see in the comparison table I started playing around.

In fact the effect is even much more distracting there than I could simulate it with my iPad’s FHD camera and the upscales. But it was still visible and the very same problem.
It‘s not just visible in my synthetic tests.

But it would make sense to increase radius and inflate for UHD, yes. Just... as I mentioned the encoding times become pretty unbearable when cranking up radius/Post-Blur which lead to a better result for me. Didn‘t try inflate though yet.

What I do when programming computer games and working with blur shaders is doing the blur on a lower resolution to save performance. But no clue if that would work here without getting noticeable jaggies.

I‘ll do some more tests and look for some copyright-free real UHD clips.

Last edited by katzenjoghurt; 29th April 2021 at 09:23.
katzenjoghurt is offline   Reply With Quote
Old 30th April 2021, 09:41   #131  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
You can share short examples from copyrighted clips too, legally it's called "fair use".
From my side I could only increase max radius on 'mPPo', but I think smoothing 7 pixels around edges should be enough for UHD too.
VoodooFX is offline   Reply With Quote
Old 15th July 2021, 07:45   #132  |  Link
loonvf
Registered User
 
Join Date: Mar 2021
Posts: 3
where to find AVSInpaint dll

Hi All,

I'm trying to see if InpaintDelogo can solve my video problem too.
However I'm not successfull finding AVSInpaint.dll anywhere.
Any idea where to get the 32 and 64 bit versions of this dll

Thanks in advance,

loonvf
loonvf is offline   Reply With Quote
Old 15th July 2021, 07:49   #133  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Here:
https://github.com/pinterf/AvsInpaint/releases
kedautinh12 is offline   Reply With Quote
Old 15th July 2021, 07:50   #134  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Avswiki if you find other plugins
http://avisynth.nl/index.php/External_filters
kedautinh12 is offline   Reply With Quote
Old 15th July 2021, 16:07   #135  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
Quote:
Originally Posted by loonvf View Post
However I'm not successfull finding AVSInpaint.dll anywhere.
All links are in the script, that is where you should look when you are trying any script, just open it with any text reader.
VoodooFX is offline   Reply With Quote
Old 26th July 2021, 16:49   #136  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Hello, where is the logo database located? These days I saw him but I no longer remember where he is.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th July 2021, 01:30   #137  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 985
Quote:
Originally Posted by GMJCZP View Post
Hello, where is the logo database located? These days I saw him but I no longer remember where he is.
I don't know anything about the logo database.
VoodooFX is offline   Reply With Quote
Old 27th July 2021, 02:54   #138  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by VoodooFX View Post
I don't know anything about the logo database.
Sorry, a link to a page with a database of logos from various television channels was published in another Doom9 post, but since I can't remember which one it is, I've made the comment here. I am so sorry.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 27th July 2021, 12:36   #139  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
database of logos
Maybe first few posts of this thread [EDIT: MeteorRain, DelogoHD]
is what you're lookin' for:- https://forum.doom9.org/showthread.php?t=176658

If not then google
Code:
"logo" NEAR "database" site:forum.doom9.org
given link is top of the link list of the google search.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 27th July 2021 at 12:39.
StainlessS is offline   Reply With Quote
Old 28th July 2021, 12:22   #140  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Effectively, it's DelogoHD, is here:

https://down.7086.in/lgd/

Thank you very much Mr. StainlessS aka TinMan!
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Reply

Tags
delogo, hardsubs, ocr, remove, watermark

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.