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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#861 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,061
|
Hi, i meet problem with this tittle, i try both 3 mode with parameter relate and all analyze but can't delogo
![]() Mask ![]() Script: Code:
InpaintDelogo(mask="C:\Logos\mask1.bmp", Analyze=2, Automask=0, aMix=-6, Loc="88,860,-870,-56", Mode="Both", otune=10, oTinflate=2) https://drive.google.com/file/d/1uRr...ew?usp=sharing |
![]() |
![]() |
![]() |
#862 | Link |
Banana User
Join Date: Sep 2008
Posts: 919
|
Your mask is hollow and I don't see reason for "Both".
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#864 | Link |
Banana User
Join Date: Sep 2008
Posts: 919
|
I understood what you meant.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#866 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
Do you understand what I answered? Your basemask is hallow, it doesn't cover the logo you want to remove.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
![]() |
![]() |
![]() |
#868 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
Did you take care to trim() to only the section where the logo is actually visible? I see that it’s not there during the first seconds. If everything fails you could also fill the holes manually in Paint or so. But I’m sure there’s another way. Btw. “both” looks about right as the inner part is transparent. Not sure though if it’s transparent enough. ![]() Last edited by katzenjoghurt; 21st August 2023 at 15:21. |
|
![]() |
![]() |
![]() |
#870 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,061
|
Ok, I use Photoshop to paint all white colors but it still doesn't work perfectly with 3 modes
![]() Mask: ![]() Scripts: Code:
LoadPlugin("C:\Megui\MeGUI-2944-64\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("C:\Users\ADMIN\Downloads\Orphans no Namida -live ver.- - MISIA PV.video-muxed.mkv", format="YUV420P8") AnimeIVTC(mode=1) propSet("_FieldBased",0) trim(333,7304).InpaintDelogo(mask="C:\Logos\mask1.bmp", Analyze=2, Automask=0, aMix=-6, Loc="88,860,-870,-56", Mode="Inpaint") |
![]() |
![]() |
![]() |
#871 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
Below is example how to get mask with Avisynth: Code:
LWLibAvVideoSource("D:\Orphans no Namida -live ver.- - MISIA PV.ts").TFM v=Trim(500, 9116) m=v.Trim(9116,-1).ExtractY.Crop(88,860,-870,-56).mt_binarize(30).mt_expand.mt_expand v.InpaintDelogo(mask=m, Loc="88,860,-870,-56", mode="Inpaint") StackVertical(v.Crop(88,860,-870,-56), m.ConvertToYV12, last.Crop(88,860,-870,-56)) ![]()
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
![]() |
![]() |
![]() |
#873 | Link |
Registered User
Join Date: Feb 2007
Posts: 128
|
Hey VoodooFX,
Regarding Turbo2: Out of your mind: Do you have an idea why I would have to rise Inflate together with Turbo2 for thinner elements in logos? I rise Turbo2 and suddenly I see artifacts. I can counter them though with Inflate... until I reach the prameter limit of course. ![]() If you have no idea right away, I will try to create a sample. Last edited by katzenjoghurt; 31st August 2023 at 21:39. |
![]() |
![]() |
![]() |
#874 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
Yes, share a video sample with mask.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
![]() |
![]() |
![]() |
#876 | Link | |
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
Finally the promised sample (contains source, logo file, mask): https://wetransfer.com/downloads/d9e...ource=sendgrid Logo: ![]() Mode="Inpaint", Optimize1=0, Turbo2=1: ![]() Mode="Inpaint", Optimize1=0, Turbo2=3 ![]() Mode="Inpaint", Optimize1=0, Turbo2=3, Inflate=3 ![]() |
|
![]() |
![]() |
![]() |
#878 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
@katzenjoghurt I'll fix it in a normal release. Not soon, maybe after I'll implement all features requested for Standalone Faster-Whisper...
Quote:
If something will be unclear then share your avs script with a video sample [where subs are in the brightest backgrounds].
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 5th November 2023 at 00:56. |
|
![]() |
![]() |
![]() |
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|