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 |
18th October 2022, 17:28 | #641 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Right click on AvSPmod preview and "Save image as...", then upload to https://imgbox.com, copy/paste BB-Code from there. My take on this one subtitle: Code:
LWLibAvVideoSource("D:\back number - Kaitou [1440x1080i MPEG2 M-ON! HD].ts").TFM() InpaintDelogo(Loc="1324,110,-60,-160", DynMask=2, DynTune=190, DynTuneInf=1, DynTEdge=1, DynTEdgeThY=30, DynTEdgeInf=1, DynInflate=4) Before: After: Your anime ms paint: https://i.imgur.com/XoBnTun.png
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 18th October 2022 at 17:39. |
|
18th October 2022, 18:05 | #643 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Can the post-processing steps of InpaintDelogo be applied to an already delogo'd clip? I created an lgd, and while the result is not perfect I think the remaining artifacts can be mitigated.
The problem with TV MPEG-2 live footage is that there is always lots of artifacts in and around the logo. In some scenes the delogo'd area is better and in other the outline is clearly more visible. I also experimented with denoising the logo area before analyzing it in AviUtl but the result while better at times, it can also be inconsistent. |
18th October 2022, 18:32 | #645 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
No, I didn't check, at the bright backgrounds you would want to expand mask more to cover the shadows. Get new script from temp branch where I allowed higher DynInflate values. And you are not leaving enough space from logo borders [shadows there are part of logo/subs].
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 18th October 2022 at 20:12. |
|
18th October 2022, 18:38 | #646 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Use Deblend for comparison, and Interp=0, dPP=0 to disable pp. I think there is some avs function ported from aviutl to denoise delogo area. First row - Interp=0, dPP=0, second - Interp=0, dPP=5: Ebmp from there: SSTV.v3.1080 EDIT: Found it, logoNR [you added it to wiki], just FFT3DFilter there, added it on top of blur as negative dPP. Interp=0, dPP=-5:
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 19th October 2022 at 00:23. |
|
19th October 2022, 13:11 | #648 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Quote:
|
|
19th October 2022, 16:34 | #649 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Only you can see what better fits your videos, I'm not a fortune teller.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
19th October 2022, 18:33 | #650 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Quote:
Yes I added logoNR which is just a simple script that denoises the logo area and then overlays it on top of the delogo'd clip. I assume InpaintDelogo offers a more sophisticated technique for post-processing the logo area, hence my question if it can be used used for that purpose on an already delogo'd clip. Regarding the ebmp you linked to. Are the numbers in the end supposed to be the x,y location? The name says SSTV.v3.1080_106-36 so I tried use loc="106,36,..." but it did not line up, but loc="56,36,..." did. |
|
19th October 2022, 18:47 | #651 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Yes, x/y, I just copy pasted them from another ebmp. I've saved this logo in cropped video for tests, so I had no idea about coords, will rename x to "56" then.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 19th October 2022 at 19:01. |
|
20th October 2022, 17:02 | #653 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
22nd October 2022, 21:40 | #654 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Code:
# Version 3.2 : New feature: Conditional optimizations with "Optimize", enabled by default. # Up to ~1000% speed-up for slow "Inpaint" & "Interp" presets. # Additional auto "Interp" disabling. # New feature: Negative "dPP"/"oPP", adds denoise, enabled by default [20%-50% slow down]. # Very slow inpainting preset: Turbo=-2. # Quick masks dump with clean "outs": DumpMasks=2. # Various other tweaks. # FFT3DFilter plugin is required.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
12th November 2022, 11:57 | #656 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
I think "subend+1" frame is a precise timestamp. "subend+1" marks the end of subtitle in time, at "subend" subtitle is still shown till the next frame when subtitle is not shown. Not like me, StainlessS sometimes posts sober, so let's wait for what he has to say about it [ in his extractor "subend" is without "+1" [ it's "E" there actually [ most likely it means "end" ] ] ].
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 12th November 2022 at 13:07. |
|
12th November 2022, 13:31 | #657 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Without looking at any scripting,
If I referred to end of sub as "E", then was probably intended as last frame where sub is shown. And so timestamp of next nosubs frame would be that of frame E + 1. Duration would be that of (E + 1) - S. I think, maybe, perhaps.
__________________
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 ??? |
12th November 2022, 14:54 | #658 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Uh-huh, so my "subend+1" modification is correct.
Noticed another discrepancy between yours and mine: "AREA.Trim(S,E).ClipBlend.Trim(E-S,-1)" vs mine "inY8.Trim(SubStart,SubEnd).ClipBlend.Trim(SubEnd-SubStart+1,-1)". Does mine cut correctly the last frame when yours next-to-last? [My brain doesn't work yet...]
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
12th November 2022, 17:51 | #659 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Mine explained, AREA.Trim(S,E).ClipBlend.Trim(E-S,-1) Trim(S,E), length is E - S + 1 So, Last frame is E-S so, Trim(E-S,-1) is last frame of that trim, forcing Clipblend() to return result of blending that entire trim. your Trim(SubEnd-SubStart+1,-1) would seem to me to try return the last frame + 1, ie frame after the last frame. Cant offhand remember if ClipBlend would correct for that. [EDIT: Yes it would] EDIT: Code:
Colorbars().ShowFrameNumber.Killaudio trim(0,-1) # 1 frame @ 0 Trim(1,-1) # NO ERROR, reaching past end of clip just returns the final frame [ie 0]. So, its not right, but identical result compared to your doing it right
__________________
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; 12th November 2022 at 18:11. |
|
12th November 2022, 19:00 | #660 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Hmm, so I had a brain fart with that +1 trim [not related to evafans post], now after the third pint my brain is fresher, but still can't grasp why I did that, maybe AvS's first frame as 0 confused me...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|