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 November 2021, 14:39 | #221 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
If some of your ranges/logos overlap then I dunno if ClipClop will do the job properly in those examples. StainlessS should know.
RemapFrames example would need adjustment to do overlaps.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
18th November 2021, 16:04 | #223 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
The later [in SCMD/CMD] range/frame overrides previously specified ranges/frames,
specifying clip index 0, restores to original source [first clip arg]. Code:
SCMD=""" 1 100,200 # replace range 100 to 200 with range from clip 1 0 50 # but frame 50 restored to source frame """ Quote:
__________________
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 ??? |
|
18th November 2021, 16:37 | #224 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
Code:
Ranges1=""" 1 0,500; 1 3400,3800; 1 4000,4444 """ Ranges2=""" 1 2020,2500 """ Ranges3=""" 1 1100,1900 """ V1 = InpaintDelogo( mask="D:\logo1.bmp") ClipClop(Last,V1,scmd=Ranges1,show=false) V2 = InpaintDelogo( mask="D:\logo2.bmp") ClipClop(Last,V2,scmd=Ranges2,show=false) V3 = InpaintDelogo( mask="D:\logo3.bmp") ClipClop(Last,V3,scmd=Ranges3,show=false) Code:
V1 = InpaintDelogo( mask="D:\logo1.bmp") ReplaceFramesSimple(Last,V1,Mappings="[0 500] [3400 3800] [4000 4444]") V2 = InpaintDelogo( mask="D:\logo2.bmp") ReplaceFramesSimple(Last,V2,Mappings="[2020 2500]") V3 = InpaintDelogo( mask="D:\logo3.bmp") ReplaceFramesSimple(Last,V3,Mappings="[1100 1900]")
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 18th November 2021 at 17:11. |
|
18th November 2021, 20:34 | #225 | Link | |
Registered User
Join Date: Apr 2013
Posts: 346
|
As a point of curiosity, any idea how Karel Suhajda accomplished this, so easily (from a users standpoint) in VDub? Is VDub simply more dynamic, for code, than Avisynth?
Quote:
|
|
19th November 2021, 03:40 | #226 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Sorry, I have no idea what Karel Suhajda accomplished, nor how.
__________________
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 ??? |
19th November 2021, 22:20 | #227 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
I played a bit with new analyze func, good results so far, but I compared it to AviUtl logoscan and I get there selected significantly different frames, maybe Threshold there doesn't mean MinMax threshold...
Can anyone who can read c++ look there and tell what is done with that Threshold param? In filter.cpp /scanpix.cpp I see that it's defined as tTHY and then I can't understand what is going on with it there. Quote:
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 19th November 2021 at 22:35. |
|
21st November 2021, 10:36 | #228 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Does anyone have wishes/suggestions about delogo and stuff?
I've decided to rewrite automask and deblend, to do it right this time. Incorporating smart analysis into current hacks needs to tweak them, I think for me it's easer just to remove those hacks and do a proper delogo in the first place... They usually work well in normal cases, but not for those poor souls who wants to delogo Nth recompressed videos (where logo/blending is simply damaged by artifacts). [Those hacks are to work around some flaws in the Karel Suhajda's delogo design, which was copied and consequently flaws were inherited by AvsInpaint]. What about idea to incorporate all masks into one file? That would make it more universal, in case you would want to use masks on other videos with same logo, you would need to change only coords to move all logo masks, but at the current state you can move only by 2 pxs, it's possible to add compatibility to 1px, but lots of stuff then need to be rechecked/rewritten and probably there would be some performance penalty. I'm not sure if it's worth to bother, there are no problems for the savy avs users...
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2021 at 13:50. |
21st November 2021, 13:30 | #230 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
There will be even more parameters, but I promise I'll stop after 100. [word of the boy scout]
But you never stated what is hard there for you, almost everything there happens automatically, except setting loc of the logo and the analysis frames for deblend, but in v2 analysis stuff will be automated. Probably you didn't used previous delogo scripts where there were less parameters, and you could change any of them but still that didn't made logo disappear.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2021 at 13:35. |
21st November 2021, 17:46 | #231 | Link |
Registered User
Join Date: Oct 2021
Posts: 11
|
hello I would like to hide this parental advisory I understood how to hide the round logo on the other hand it does not work for the advisory
InpaintDelogo( Loc="1018,922,-254,-106) Last edited by dot75; 21st November 2021 at 17:57. |
21st November 2021, 18:56 | #232 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
Hi, upload your attachment to imgur.com or to other image hosting site.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st November 2021, 19:24 | #233 | Link | |
Registered User
Join Date: Oct 2021
Posts: 11
|
Quote:
Last edited by dot75; 21st November 2021 at 19:27. |
|
21st November 2021, 19:52 | #234 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
And where is the mask image? Post your full script too and version of InpaintDelogo.
Btw, your Loc doesn't leave minimum 10pxs space at the top and right sides, use "1018,920,-248,-106".
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2021 at 19:58. |
21st November 2021, 20:01 | #235 | Link |
Registered User
Join Date: Oct 2021
Posts: 11
|
InpaintDelogo( mask="H:\Mask8.bmp",
\ Automask=0, aMix=-0,Loc="1672,914,-184,-100", \ Mode="Inpaint", \ Analyze=3, FrW=54, FrS=0,dPP=0,Show=0,Inflate=2) for parental advisor InpaintDelogo( Loc="1018,920,-248,-106",DynMask=3, DynInflate=4, Dyn3Seq=13, ClpBlend=11, Show=5) |
21st November 2021, 20:07 | #236 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
And version of InpaintDelogo?
DynMask=3 is probably not a correct method here.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st November 2021, 20:32 | #238 | Link |
Banana User
Join Date: Sep 2008
Posts: 985
|
What means "does not work"?
That round logo looks like it's transparent so correct would be to deblend it. For text use inpaint, you can do both logos in one go with mode="Both". Why you use Dynamic=3? Why Dyn3Seq=13, is logo there for only half second? Show=5 doesn't do delogo, it only shows you a mask.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
21st November 2021, 20:43 | #239 | Link | |
Registered User
Join Date: Oct 2021
Posts: 11
|
Quote:
the text disappears at frame 1300 |
|
21st November 2021, 21:00 | #240 | Link | |
Banana User
Join Date: Sep 2008
Posts: 985
|
Quote:
If logo is not in the whole video then delogo only that range, example is there https://forum.doom9.org/showthread.p...47#post1957647
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|