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. |
![]() |
#1 | Link |
Registered User
Join Date: May 2016
Posts: 230
|
Delogo (deblend problem)
LINK TO SHORT VIDEO + BMP I USE:
https://sprend.com/download?C=7c82ee...5cf27ddd9bf894 I use bmp as Analys and DeBlend I do use "Sample input" as "All frames - slowest, but most accurate". I do try changing "DeBlend shift" but nothing works. I have looked in gimp and the text is not 100% white and some "data/image" is behind. Something else I can do with DeLogo to get it better or is it only "Repair" that works? (looks aweful) Also. I was thinking is it possible to create a image with alpha and only dark/black color and somehow use it in a transparent to darken the logo so its not visible?
__________________
Automatic Colorization |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: May 2016
Posts: 230
|
Never heard of InpantDelogo, I use this.
Is it this you mean? https://forum.doom9.org/showthread.php?t=176860 It seems like InpaintDelogo only blur together the edges not deblend? EDIT: I saw it has some other options as well. I only get "Incorrect Loc". So don't know what I am doing wrong.
__________________
Automatic Colorization Last edited by color; 21st November 2022 at 11:19. |
![]() |
![]() |
![]() |
#4 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
Where you got "only blur together the edges" impression? Btw, Vdub Delogo is outdated.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2022 at 11:28. |
|
![]() |
![]() |
![]() |
#5 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
But I saw and updated my post only within 1 minute. ![]()
__________________
Automatic Colorization |
|
![]() |
![]() |
![]() |
#6 | Link |
Banana User
Join Date: Sep 2008
Posts: 919
|
Probably that's because you didn't set Loc coords, that's crop where logo is (leave 10-20 pxs borders around logo).
And edit your bmp, red pixels to full white.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#7 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
does not work
__________________
Automatic Colorization |
|
![]() |
![]() |
![]() |
#8 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
We are [not] the fortune tellers to know what "does not work" or "coords" means.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2022 at 12:10. |
|
![]() |
![]() |
![]() |
#9 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
InpaintDelogo( mask="C:\1.bmp", Loc=coords, Mode="Deblend") "I don't know what 'coords' means"
__________________
Automatic Colorization |
|
![]() |
![]() |
![]() |
#10 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,066
|
You need set values with Loc. First, you need use InpaintLoc() to choose coords around Logo. Second use InpaintDelogo() to make Logo and delogo. Examples:
https://github.com/Purfview/InpaintD...logo.avsi#L196 https://forum.doom9.org/showthread.p...03#post1973103 Last edited by kedautinh12; 21st November 2022 at 12:58. |
![]() |
![]() |
![]() |
#11 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
For your sample it's: Code:
InpaintDelogo( mask="C:\1.bmp", Loc="1388,944,-280,-24", Mode="Deblend" ) Code:
coords = "1388,944,-280,-24" InpaintDelogo( mask="C:\1.bmp", Loc=coords, Mode="Deblend" ) Btw, never use "DirectShowSource" filter, it's outdated too.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2022 at 13:25. |
|
![]() |
![]() |
![]() |
#12 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
I do get this error now. Still a bit unshour what is wrong, I have checked so all the required plugins are up to date as well. Or have I missed something? EDIT: I use latest Avisynt+ ![]()
__________________
Automatic Colorization Last edited by color; 21st November 2022 at 14:05. |
|
![]() |
![]() |
![]() |
#13 | Link |
Banana User
Join Date: Sep 2008
Posts: 919
|
What is "LSMASHSource2", I've never heard of it?
Try to use normal "LWLibavVideoSource" instead. [Delete the "txt" files created for your mask before doing so]
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#14 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
Code:
function LSmashSource2(string path, int "atrack", \ int "fpsnum", int "fpsden", \ string "format", bool "cache") { atrack = Default(atrack, -1) fpsnum = Default(fpsnum, 0) fpsden = Default(fpsden, 1) cache = Default(cache, true) format = Default(format, "") video = LWLibavVideoSource(path, \ fpsnum=fpsnum, fpsden=fpsden, format=format, \ cache=cache) return (atrack==-2) ? video: AudioDub(video, \ LWLibavAudioSource(path, stream_index=atrack, cache=cache)) } Oh, I did delete the txt. But now It says "mask is empty". Am I using wrong color? ![]()
__________________
Automatic Colorization |
|
![]() |
![]() |
![]() |
#15 | Link |
Banana User
Join Date: Sep 2008
Posts: 919
|
How anyone can know but only you?
I don't see any colors in your sentences. Probably you are doing there some crazy things... ![]()
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
![]() |
![]() |
![]() |
#16 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
EDIT: The mask I used red. I did post the image above in the link, but here it is as well. ![]() ![]()
__________________
Automatic Colorization Last edited by color; 21st November 2022 at 14:42. |
|
![]() |
![]() |
![]() |
#17 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,066
|
Quote:
Ex: https://forum.doom9.org/showthread.p...03#post1973103 |
|
![]() |
![]() |
![]() |
#18 | Link | |
Banana User
Join Date: Sep 2008
Posts: 919
|
Quote:
Btw, InpaintDelogo has automatic mask creation feature, you can activate it like this: Code:
InpaintDelogo( mask="C:\automask.bmp", Loc="1388,944,-280,-24", Mode="Deblend", Automask=1)
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 21st November 2022 at 14:58. |
|
![]() |
![]() |
![]() |
#19 | Link | |
Registered User
Join Date: May 2016
Posts: 230
|
Quote:
__________________
Automatic Colorization |
|
![]() |
![]() |
![]() |
#20 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,066
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
avisynth, virtualdub |
Thread Tools | Search this Thread |
Display Modes | |
|
|