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 21st November 2022, 15:07   #21  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Some scenes look awefull (Two above) but the last one is okey.

__________________
Automatic Colorization
color is offline   Reply With Quote
Old 21st November 2022, 15:14   #22  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,648
Quote:
Originally Posted by color View Post
Some scenes look awefull (Two above) but the last one is okey.

If your logo don't appear in all clip, you can trim only frame have logo appear. After join frame no logo and frame have logo in one
Ex: https://forum.doom9.org/showthread.p...80#post1975980
kedautinh12 is offline   Reply With Quote
Old 21st November 2022, 15:20   #23  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by kedautinh12 View Post
If your logo don't appear in all clip, you can trim only frame have logo appear. After join frame no logo and frame have logo in one
Ex: https://forum.doom9.org/showthread.p...80#post1975980
Its only first 270 frames is not vissible so I have used trim(270,11579).

What works "best" on some frames are "Inpaint" and "blend" on some. But Inpaint does look off on some frames.

First looks great, but other two, not so much.



I think I should use different and trim and use what works best for every scen instead as you say. I don't think it will work great on all scenes.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 21st November 2022, 15:29   #24  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,648
With Inpant mode you can try with turbo=-1 and with Deblend you can try some values with IntSpd, Interp, dPP
kedautinh12 is offline   Reply With Quote
Old 21st November 2022, 15:37   #25  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,648
Or you can try with automask will be better with Analyze
kedautinh12 is offline   Reply With Quote
Old 21st November 2022, 15:45   #26  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Quote:
Originally Posted by color View Post
Some scenes look awefull (Two above) but the last one is okey.
Share the full video of that logo, encode with lossless x264 this script:

Code:
LWLibavVideoSource("C:\video.mkv")
Crop(1388,944,-280,-24)
VoodooFX is offline   Reply With Quote
Old 21st November 2022, 15:52   #27  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by kedautinh12 View Post
With Inpant mode you can try with turbo=-1 and with Deblend you can try some values with IntSpd, Interp, dPP
turbo=-1 did a much better job! I also tried IntSpd, Interp, dPP, but I don't see any difference between the 1-3 value for each also tried all three with deblend.

Quote:
Originally Posted by kedautinh12 View Post
Or you can try with automask will be better with Analyze
I did use automask. I used my own first but I saw automask did a better jobb.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 21st November 2022, 16:06   #28  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by VoodooFX View Post
Share the full video of that logo, encode with lossless x264 this script:

Code:
LWLibavVideoSource("C:\video.mkv")
Crop(1388,944,-280,-24)
Here you go lossless x264: LINK

I used
Code:
ffmpeg -i input -c:v libx264 -preset veryslow -qp 0 output.mkv
__________________
Automatic Colorization

Last edited by color; 21st November 2022 at 19:06.
color is offline   Reply With Quote
Old 22nd November 2022, 06:57   #29  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Looks like video is too low quality to deblend this logo, you've to use inpaint to delogo:
Code:
InpaintDelogo(mask="C:\1.bmp", Loc="1388,944,-280,-24", Mode="Inpaint", Turbo=-1)
Btw, logo has fade in/out animations, so you don't want to analyze such frames for deblend.

Last edited by VoodooFX; 22nd November 2022 at 07:01.
VoodooFX is offline   Reply With Quote
Old 22nd November 2022, 07:17   #30  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by VoodooFX View Post
Looks like video is too low quality to deblend this logo, you've to use inpaint to delogo:
Code:
InpaintDelogo(mask="C:\1.bmp", Loc="1388,944,-280,-24", Mode="Inpaint", Turbo=-1)
Btw, logo has fade in/out animations, so you don't want to analyze such frames for deblend.
Oh, i have not noticed more than the beginning.

Well its the highest quality on the image I got and no other source are available. Do you mean it does fade in and out in the video or do you mean in the beginning only?

I think I do a mix in that case.

Edit: mode "both" did work good on some frames "inpaint" and "deblend" did do bad.
__________________
Automatic Colorization

Last edited by color; 22nd November 2022 at 07:25.
color is offline   Reply With Quote
Old 22nd November 2022, 07:24   #31  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,648
Quote:
Originally Posted by color View Post
Oh, i habe not noticed more than the beginning.

Well its the highest quality on the image I got and no other source are available. Do you mean it does fade in and out in the video or do you mean in the beginning only?

I think I do a mix in that case.

Edit: mode "both" did work good on some frames "inpaint" and "deblend" did do bad.
Inpaint work better with solid logo or dynamic logo (fade in, fade out). Deblend work better with transparent logo. You use mode both when your logo has transparent and solid

Last edited by kedautinh12; 22nd November 2022 at 07:28.
kedautinh12 is offline   Reply With Quote
Old 22nd November 2022, 07:29   #32  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by kedautinh12 View Post
Inpaint work better with solid logo or dynamic logo (fade in, fade out). Deblend work better with transparent logo. You mode both when your logo has transparent and solid
Oh so it flips between solid and transparent. That I did not notice at all. I will still mix, i have exported inpaint, deblend and both, so i go through frame by frame and use whats best. (Exported to png).
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 22nd November 2022, 07:45   #33  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Quote:
Originally Posted by color View Post
Do you mean it does fade in and out in the video or do you mean in the beginning only?
How fade out can be at the beginning? Of course it's at the end.

Quote:
Originally Posted by color View Post
I think I do a mix in that case.
Yes, maybe Deblend can look better at some few random frames/scenes.

Quote:
Originally Posted by color View Post
Edit: mode "both" did work good on some frames "inpaint" and "deblend" did do bad.
It's illusion, you just don't understand what is going on in "Both".
Don't use it here.

Can you share your ebmp file and the frame numbers where you think that Deblend or Both looks better for you?
VoodooFX is offline   Reply With Quote
Old 22nd November 2022, 08:08   #34  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by VoodooFX View Post
How fade out can be at the beginning? Of course it's at the end.


Yes, maybe Deblend can look better at some few random frames/scenes.


It's illusion, you just don't understand what is going on in "Both".
Don't use it here.

Can you share your ebmp file and the frame numbers where you think that Deblend or Both looks better for you?
Yes, frame 4011. top "inpaint" bottom "both"

EDIT: I might have used another setting and not same on both like turbo...

__________________
Automatic Colorization

Last edited by color; 22nd November 2022 at 08:35.
color is offline   Reply With Quote
Old 22nd November 2022, 08:46   #35  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Quote:
Originally Posted by color View Post
Yes, frame 4011
Same frame, Inpaint vs Deblend, I don't see how Deblend is worse than "Both":



You didn't shared your ebmp file.
VoodooFX is offline   Reply With Quote
Old 22nd November 2022, 09:02   #36  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Quote:
Originally Posted by color View Post
i go through frame by frame and use whats best. (Exported to png).
You are even more hardcore than me, InpaintDelogo has zillion possible combinations of the parameters to make some specific frame look better.

Look, Inpaint [adjusted] vs Deblend:

VoodooFX is offline   Reply With Quote
Old 22nd November 2022, 09:18   #37  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,648
I think you need share scripts to help him faster

Last edited by kedautinh12; 22nd November 2022 at 09:25.
kedautinh12 is offline   Reply With Quote
Old 22nd November 2022, 11:03   #38  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by VoodooFX View Post
You are even more hardcore than me, InpaintDelogo has zillion possible combinations of the parameters to make some specific frame look better.

Look, Inpaint [adjusted] vs Deblend:

yes, but i did try a few. You know what i mean.

I think as kedautinh12, you should share a script. ☺️ Its a bit hard not knowing a lot of english and understanding everything as well.
__________________
Automatic Colorization

Last edited by color; 22nd November 2022 at 11:19.
color is offline   Reply With Quote
Old 22nd November 2022, 11:55   #39  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 759
Where is your ebmp file?

Code:
InpaintDelogo(mask="C:\1.bmp", Loc="1388,944,-280,-24", Mode="Inpaint", Sharpness=60, preBlur=2.1, postBlur=12.6, Radius=16, oPP=-3, Optimize=0)
Core inpainting parameters: https://github.com/Purfview/InpaintD...logo.avsi#L876


Quote:
Originally Posted by color View Post
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?
Possible: https://github.com/Purfview/InpaintD...logo.avsi#L912
VoodooFX is offline   Reply With Quote
Old 22nd November 2022, 17:15   #40  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 206
Quote:
Originally Posted by VoodooFX View Post
Where is your ebmp file?
Lets try again, I did attach file here, but it seems like it didn't want to.

https://sprend.com/download?C=b11d8c...a8d28fc926b9b1
__________________
Automatic Colorization
color is offline   Reply With Quote
Reply

Tags
avisynth, virtualdub

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 19:58.


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