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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th July 2023, 21:30   #821  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
If you mean "bilibili" logo then it's transparent, there is not enough good frames for analysis, even if there were enough, that AV1 video is so much damaged by compression that you wouldn't get good Deblend results anyway.

Actually all videos you posted here are very low or low quality, just use Inpaint on them.
VoodooFX is offline   Reply With Quote
Old 30th July 2023, 22:09   #822  |  Link
drunksunk
Registered User
 
Join Date: Apr 2023
Posts: 60
Quote:
Originally Posted by VoodooFX View Post
If you mean "bilibili" logo then it's transparent, there is not enough good frames for analysis, even if there were enough, that AV1 video is so much damaged by compression that you wouldn't get good Deblend results anyway.

Actually all videos you posted here are very low or low quality, just use Inpaint on them.
Are there extra parameters I could you to improve the final result or just an Analyze=2 and then apply the mask with mode=Inpaint is all I can do? I tried also DoomDelogo but that's worse.
drunksunk is offline   Reply With Quote
Old 30th July 2023, 22:56   #823  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Check if Turbo=-1 makes it better.
VoodooFX is offline   Reply With Quote
Old 3rd August 2023, 22:42   #824  |  Link
TrickyTrix
Registered User
 
Join Date: Jul 2023
Posts: 3
I used InpaitDelogo with great results a few times with Inpaint mode.
Now I wanted to try Deblend mode on https://www.youtube.com/watch?v=XOiZGSkjygs (ignore the color logo in the beginning and in the end because I'll edit that out later)

My script:
LWLibAvVideoSource("F:\Sheepish_wolf\The_Sheepish_Wolf_(1942).mp4")
InpaintDelogo(automask=0, mask="F:\Sheepish_wolf\logomask.bmp", Loc="1510,886,-178,-100", mode="Deblend")

Mask is created with: InpaintDelogo(automask=0, mask="F:\Sheepish_wolf\logomask.bmp", Loc="1510,886,-178,-100")

Is it normal that you can see transparent defects on dark surfaces after running the script (for instance from 49 to 51 sec)? It's great as is, but I have to ask
TrickyTrix is offline   Reply With Quote
Old 4th August 2023, 06:53   #825  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Share the masks.
Deblend defects are expected on the low quality videos from Youtube.
VoodooFX is offline   Reply With Quote
Old 4th August 2023, 16:36   #826  |  Link
TrickyTrix
Registered User
 
Join Date: Jul 2023
Posts: 3
Here is the mask.
Attached Images
  
TrickyTrix is offline   Reply With Quote
Old 4th August 2023, 16:47   #827  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Don't use attachments in this forum, you can upload to wetransfer or mega ect.
By "masks" I meant .ebmp file.
VoodooFX is offline   Reply With Quote
Old 4th August 2023, 19:00   #828  |  Link
TrickyTrix
Registered User
 
Join Date: Jul 2023
Posts: 3
Quote:
Originally Posted by VoodooFX View Post
Don't use attachments in this forum, you can upload to wetransfer or mega ect.
By "masks" I meant .ebmp file.
Here it is:
https://mega.nz/file/8sURVQIb#_n7LlV...Hma50FAKoTspWs
TrickyTrix is offline   Reply With Quote
Old 4th August 2023, 19:51   #829  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Don't know why but I got a lil bit better masks: https://we.tl/t-ULUDdL4gQV

Original vs My vs Yours [with Interp=0, dPP=0 to see pure deblend effect]:



Maybe you didn't excluded non-logo/logo-animation parts when doing analysis. [.mp4 I downloaded is ~180MB]


Quote:
Originally Posted by TrickyTrix View Post
...can see transparent defects...
I guess it's like on the 2970 frame:



It looks like usual Youtube "damage", you could ask the utube uploader for the original undamaged video.

"Optimize2=2, IntSpd=3, dPP=-5" can make it look better like this:



But it will make blurry detailed areas where deblending is OK.
You can apply different delogo settings on different parts of video by using Trim().

EDIT:
You can use .ebmp file directly with mask argument -> mask="D:\_mask.bmp_InpaintDelogo3_1510-886-178-100_A2-30.ebmp"

Last edited by VoodooFX; 4th August 2023 at 20:36.
VoodooFX is offline   Reply With Quote
Old 6th August 2023, 00:07   #830  |  Link
drunksunk
Registered User
 
Join Date: Apr 2023
Posts: 60
If you can get Deblend mode to just fades the logo a bit but not fully remove it, what setting do you need to tweak to make the removal harder and remove that last bit of transparency? video is this https://t.ly/YXgW1

Last edited by drunksunk; 6th August 2023 at 00:23.
drunksunk is offline   Reply With Quote
Old 7th August 2023, 17:34   #831  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 230


It has worked perfectly with one color logos, but this...I can get rid of the white (blended away), but the black one is more problematic.

https://we.tl/t-mSWMlUf1yy

I am using the standard thingie:

InpaintDelogo(mask="logo.bmp", Loc="760,580,-90,-50", Mode="Deblend", Automask=0)
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 7th August 2023, 23:32   #832  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,085
With this logo, i think use mode Inpaint is better
kedautinh12 is offline   Reply With Quote
Old 8th August 2023, 00:45   #833  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Quote:
Originally Posted by drunksunk View Post
If you can get Deblend mode to just fades the logo a bit but not fully remove it, what setting do you need to tweak to make the removal harder and remove that last bit of transparency?
If you can't deblend it then you can't. Use Inpaint.

Last edited by VoodooFX; 12th August 2023 at 03:18.
VoodooFX is offline   Reply With Quote
Old 8th August 2023, 00:59   #834  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Quote:
Originally Posted by color View Post
It has worked perfectly with one color logos, but this...I can get rid of the white (blended away), but the black one is more problematic.

https://we.tl/t-mSWMlUf1yy
Both black and white areas looks same for me.
Before vs After [frame 13585 after trim]:



Code:
LWLibAvVideoSource("D:\New File (12).avi")
Trim(118,30904) # Exclude non logo/logo animation for analysis
InpaintDelogo(mode="Deblend", mask="D:\CN.bmp", Loc="12,18,-18,-16")
VoodooFX is offline   Reply With Quote
Old 8th August 2023, 08:51   #835  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 230
Quote:
Originally Posted by VoodooFX View Post
Both black and white areas looks same for me.
Before vs After [frame 13585 after trim]:



Code:
LWLibAvVideoSource("D:\New File (12).avi")
Trim(118,30904) # Exclude non logo/logo animation for analysis
InpaintDelogo(mode="Deblend", mask="D:\CN.bmp", Loc="12,18,-18,-16")
Thats what I use, but it looks a bit like this I mean.

I missed the image, sorry:



optimizer does blur it a little and makes it a little bit more invisible, but not that great.



frame 025794 when using the "trim"
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 8th August 2023, 17:39   #836  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Then use Inpaint. Read there about utube videos -> https://forum.doom9.org/showthread.php?p=1990401

Last edited by VoodooFX; 8th August 2023 at 21:27. Reason: corrected url
VoodooFX is offline   Reply With Quote
Old 8th August 2023, 18:07   #837  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 230
Quote:
Originally Posted by VoodooFX View Post
Then use Inpaint. Read there about utube videos -> https://forum.doom9.org/showthread.php?t=176860
hmm, well inpaint does not look so good. It was recorded directly from tv, but I guess its not enought to get better results. It need to be raw as well.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 8th August 2023, 18:17   #838  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
Quote:
Originally Posted by color View Post
It was recorded directly from tv, but I guess its not enought to get better results.
Did you captured original digital stream or recorded it to some lossless codec?
VoodooFX is offline   Reply With Quote
Old 8th August 2023, 18:23   #839  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 230
Quote:
Originally Posted by VoodooFX View Post
Did you captured original digital stream or recorded it to some lossless codec?
Capture the original stream on the hard drive in my DVD-recorder (when I had that one, many years ago), I did choose 720p as resolution, I thought it would give better result, it was more than 10 years ago now. I don't remember if it was through hdmi or scart however, but If i remember correctly hdmi was the only way to be able to save 720, It did give better result when selecting to burn on dvd it gave crisper image than using 576 at the beginning when recording...
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 8th August 2023, 18:54   #840  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 920
So, not the original digital stream and not lossless.
VoodooFX is offline   Reply With Quote
Reply

Tags
delogo, hardsubs, ocr, remove, watermark

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.