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 |
30th December 2021, 15:33 | #301 | Link | |||
Registered User
Join Date: Feb 2007
Posts: 128
|
Quote:
I'd need to recheck with those clips I posted. Quote:
https://1drv.ms/v/s!ArUJrXgYajLogqYA...U1Ivw?e=mF1wgP Area I chose for the mask: Logo mask (only cropped the relevant upper right part here for this post) Result: Invoked with no additional params. 1) Create Mask: Code:
InpaintDelogo(mask="V:\Logos\UHD-Test.bmp", Loc="3366,50,-110,-1934", Mode="Deblend", Automask=1) Code:
InpaintDelogo(mask="V:\Logos\UHD-Test.bmp", Loc="3366,50,-110,-1934", Mode="Deblend", Automask=0) Quote:
Okay... so Analyze = 1 may be used for the (first) deblend run then. Thx! |
|||
30th December 2021, 17:53 | #302 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
Your video has color matrix BT.709 instead of BT.2020, maybe it has to do something with the problem, I dunno, maybe original blending is just damaged here.
EDIT: Your sample looks like re-encode, share only original video.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 30th December 2021 at 18:03. |
6th January 2022, 17:03 | #303 | Link |
Registered User
Join Date: Apr 2013
Posts: 346
|
Is there any chance of getting the 2.x versions to work with Avisynth+ 3.7.0? Not only am I concerned about the previously reported MeGUI problem with 2.x, but the 2.x versions do not seem to work in AvsPmod (probably due to the use of 3.7.0). AvsPmod also no longer functions when using Prefetch with most Avisynth+ 3.7.1 versions, which is another reason for me to not use Avisynth+ above 3.7.0.
Last edited by Danette; 6th January 2022 at 17:21. |
6th January 2022, 18:53 | #304 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
What MeGUI problem?
Try older AvsPmod till it is fixed, or 32bit one.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
6th January 2022, 19:18 | #305 | Link |
Registered User
Join Date: Apr 2013
Posts: 346
|
Looks like that MeGUI problem was assigned to the portable Avisynth+ version, which I don't use. However, I installed Avisynth+ 3.7.1, after reading that post, and that's when I ran into the InpaintDelogo/Prefetch AvsPmod problem. I think I will have to wait for the AvsPmod problem to be fixed (if it is), as I am already using an older 32-bit version of it (2.7.0.0). In the meantime, InpaintDelogo 1.48 is certainly fully acceptable, from my perspective.
|
8th February 2022, 04:27 | #306 | Link |
Registered User
Join Date: Jan 2022
Posts: 13
|
Trying to deblend a logo with my manually created mask using the following command:
InpaintDelogo( mask="C:\path\to\LogoMask3840x2160pBW.bmp", Automask=0, Loc="0,0,-0,-0", Analyze=3, Mode="Deblend") but the result is rather weird: What parameters should I adjust? Source video: https://filetransfer.io/data-package/jcs1FMaL#link Mask: https://filetransfer.io/data-package/EUIMIWSJ#link |
8th February 2022, 11:00 | #307 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
That video is just 12 seconds of static scene where logo is not in solid background. There is nothing to build a deblending mask from.
You need at least one frame with logo in dark solid background and one frame with logo in bright solid background. Or you need much longer video than this to try anything. EDIT: Actually, "Analyze=-4" can create the deblend masks from one frame with logo in dark solid background.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 9th February 2022 at 08:43. |
8th February 2022, 11:25 | #308 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
Inpaint doesn't look bad, if you can find good inpainting settings for that big "A" at the left.
Downscaled example:
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
9th February 2022, 01:18 | #309 | Link | |
Registered User
Join Date: Jan 2022
Posts: 13
|
Quote:
|
|
9th February 2022, 06:52 | #310 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
"LogoMask3840x2160pBW.bmp_InpaintDelogo2_1010-900-990-900_A3.ebmp". Basemask and deblend masks can be reused on other videos with same logo. Basemask is enough only for "Inpaint" mode.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 15th February 2022 at 00:57. |
|
9th February 2022, 07:48 | #311 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
Try this [replace '000' with proper frame number]: InpaintDelogo( mask="C:\LogoMask3840x2160pBW.bmp", Loc="1010,900,-990,-900", Analyze=-4, FrB=000, Mode="Deblend") And for the example above you can finetune these parameters [here with defaults]: Interp=2, dPP=3, Inflate=1 [These are like postprocess effects] FrS=0, Deep=3 [These influence the deblend masks creation] If you want to compare the deblend masks/methods or see a pure deblend effect, then turn off "Interp" and "dPP". PS: Another possibility is to join hundreds of those videos in Avisynth and create the deblend masks from that.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 9th February 2022 at 08:28. |
|
10th February 2022, 02:44 | #312 | Link |
Registered User
Join Date: Jan 2022
Posts: 13
|
How to re-use them? If I set Analyze to 0, I get the "File 'Script.avs' does not have a video stream" error... Or if the files are present, it won't re-analyze anything even if analyze parameters are set?
Last edited by puregreen; 10th February 2022 at 03:15. |
10th February 2022, 03:30 | #313 | Link | |
Registered User
Join Date: Jan 2022
Posts: 13
|
Quote:
Here's a video with both black (frame 001) and white (frame 055) background: https://filetransfer.io/data-package/wHl0HYcU#link |
|
10th February 2022, 04:26 | #314 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
There is no Analyze=0 option for user to select, looks like that after v2.00 I forgot to add error on it [EDIT: I didn't forgot, the error assert is there], but from the manual it should be clear. Why you need to re-analyze if you want re-use same masks? PS And you are selecting non existent "0" option to "not-analyze" when you want to analyze? I'm a bit confused.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 11th February 2022 at 19:19. |
|
10th February 2022, 18:48 | #315 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
I see there are good white frames, so use Analyze=-3 method. I've removed logos with such faint shadows before, and there are bunch of settings to deal with them. Most likely that Automask won't pick up very transparent parts like this shadow, so you need to create a base mask in photoshop including that shadow too. PS: Maybe later this evening I'll give this video a try.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
11th February 2022, 01:50 | #316 | Link | |
Registered User
Join Date: Jan 2022
Posts: 13
|
Quote:
I'm getting pretty good results after generating a deblending mask from the black frames. The only thing left is dealing with the shadow somehow... |
|
11th February 2022, 02:24 | #317 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
I wrote one post above yours what to do...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
11th February 2022, 03:23 | #318 | Link | |
Registered User
Join Date: Jan 2022
Posts: 13
|
Quote:
Code:
InpaintDelogo( mask="C:\LogoMask3840x2160pBW.bmp", Loc="1010,900,-990,-900", Analyze=-4, FrB=001, Mode="Deblend") I tried making a base mask with the shadow: https://filetransfer.io/data-package/3kaMyxIQ#link ...and tried using it with the script: Code:
InpaintDelogo( mask="C:\LogoMask3840x2160pShadow.bmp", Loc="1010,900,-990,-900", Analyze=-3, FrB=001, FrW=055, Mode="Deblend") |
|
11th February 2022, 03:34 | #319 | Link | |
Banana User
Join Date: Sep 2008
Posts: 989
|
Quote:
EDIT: You don't need to add zeros in front of numbers.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 11th February 2022 at 03:42. |
|
11th February 2022, 14:39 | #320 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
Did you re-encoded those videos in your posts?
Btw, there is the error assert for "Analyze=0", probably because of soft you use you don't see Avisynth errors. Here I tried to delogo, shadow is perfectly deblended, good result, no need for any PP: Code:
InpaintDelogo( mask="D:\Mask.bmp", Loc="920,810,-910,-820", Analyze=-3, FrB=0, FrW=51, FrS=1, Deep=1, Interp=0, dPP=0, Mode="Deblend") Before: After: Before: After: EDIT: I was about to test Makki's delogo, but I remembered that there you can't create lgd from few frames...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 11th February 2022 at 15:50. |
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|