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 26th January 2024, 10:33   #941  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 235
How do I do so it pull into from the left and right instead of all size?
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 26th January 2024, 16:37   #942  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Quote:
Originally Posted by color View Post
How do I do so it pull into from the left and right instead of all size?
I can't understand what you are asking.
Share your full avs script with masks and a video sample!
VoodooFX is offline   Reply With Quote
Old 26th January 2024, 20:38   #943  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 235
Quote:
Originally Posted by VoodooFX View Post
I can't understand what you are asking.
Share your full avs script with masks and a video sample!
I can not share cause I don't know.

I want the it to pull the image => and <= not all sides. I think it was called "Pixel Aspect" in DeLogo.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 26th January 2024, 22:21   #944  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Quote:
Originally Posted by color View Post
I can not share cause I don't know.

I want the it to pull the image => and <= not all sides.
Still, I've no idea what "pull the image" or "=> and <= " means.
Share what you know.


Quote:
Originally Posted by color View Post
I think it was called "Pixel Aspect" in DeLogo.
There was something named like that, an useless arg doing practically nothing.
VoodooFX is offline   Reply With Quote
Old 27th January 2024, 08:53   #945  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 235
Quote:
Originally Posted by VoodooFX View Post
Still, I've no idea what "pull the image" or "=> and <= " means.
Share what you know.




There was something named like that, an useless arg doing practically nothing.

I don't know how to make it clearer, sorry....I do not want this when inpaint.



I want this:



I am editing a text in a movie and it has lines, so when using it and putting on a new text (another font that is not 100% same) does not good wwhen its like the first image, but much better if it can pull from left and right instead of all sides.

I wrote the same as my post and let chatGTP do explain it more clearly.

"I have a video with a logo that I want to remove using a delogo tool. The issue is that the current tool I'm using removes content uniformly from all sides, which doesn't look natural in my video. I'm looking for a delogo tool that can intelligently pull or stretch the background from the left and right sides, creating a more seamless and natural appearance."

For example, thats why I want to know how to make it pull from left and right instead of all sides, cause it does not look correct.

lets say this is original:


and lets say this is the text I want to add to it after "delogo"


but I need to pull from left to right instead of all sides, so it could look like this:


I need it to work with the mask to be even clearer, so I can not just put a square and pull together, then I will loose alot of image.
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 27th January 2024, 09:27   #946  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Try Turbo=-1 or Turbo=-2 presets.
And if you want to block something from bottom and top then "crop" with Loc the video at those places.

Last edited by VoodooFX; 27th January 2024 at 09:32.
VoodooFX is offline   Reply With Quote
Old 11th February 2024, 18:43   #947  |  Link
Guilbert
Registered User
 
Join Date: Apr 2022
Posts: 11
Hi,

I'm having trouble OCRing the part of the sample I sent you, VoodooFX.
Can you please take a look?

Here is my parameters:
Quote:
Loc="300,840,-300,-60", Show=4, DynMask=4, DynMask4H=150, DynTune=180, DynMaskUp=2, SubMinDur=4, FourCC="X264"
Guilbert is offline   Reply With Quote
Old 11th February 2024, 19:09   #948  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Quote:
Originally Posted by Guilbert View Post
Here is my parameters
Your parameters doesn't work or the sample is wrong. Post the working ones.

Last edited by VoodooFX; 11th February 2024 at 19:49.
VoodooFX is offline   Reply With Quote
Old 11th February 2024, 20:11   #949  |  Link
Guilbert
Registered User
 
Join Date: Apr 2022
Posts: 11
Okay, it's because I used LanczosResize(1920, 1080).

Here is the parameters:
Quote:
Loc="300,560,-300,-40", Show=4, DynMask=4, DynMask4H=150, DynTune=180, DynMaskUp=2, SubMinDur=4, FourCC="X264"
(I sent you another sample.)

Thanks.
Guilbert is offline   Reply With Quote
Old 11th February 2024, 22:29   #950  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
You won't get rid completely of the titles behind the subtitles.
Try this:

Code:
InpaintDelogo(Loc="300,570,-300,-50", Show=4, DynLocUp=2, DynMask=3, Dyn3Seq=20, DynTune=160, DynTEdge=1, DynTEdgeThY=50, DynTEdgeInf=4, KillNoise=5, KillBlobs=-5, Extract=-1, CorrTh=0.7, ImgDir="D:\img")
VoodooFX is offline   Reply With Quote
Old 11th February 2024, 23:51   #951  |  Link
Guilbert
Registered User
 
Join Date: Apr 2022
Posts: 11
Strangely, no images were extracted (on the whole movie).

Guilbert is offline   Reply With Quote
Old 11th February 2024, 23:56   #952  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
It extracted all subtitles from your sample.
VoodooFX is offline   Reply With Quote
Old 12th February 2024, 00:09   #953  |  Link
Guilbert
Registered User
 
Join Date: Apr 2022
Posts: 11
Indeed. Thank you, it helped a lot!
Guilbert is offline   Reply With Quote
Old 14th March 2024, 11:27   #954  |  Link
HeinrichI
Registered User
 
Join Date: Aug 2022
Posts: 4
Hello. Can you give me some advice? Launched analysis by command:
InpaintDelogo( mask="Unfabulous\Unfabulous.bmp", Automask=1, Loc="450,0,150,174")
4 files were created:

But when I run the preview after, with the command
InpaintDelogo( mask="Unfabulous\Unfabulous.bmp", Loc="450,0,150,174", Mode="Deblend") then instead of removing the logo, colored spots appeared:

The logo itself:
HeinrichI is offline   Reply With Quote
Old 14th March 2024, 13:27   #955  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
You need show your mask image
kedautinh12 is offline   Reply With Quote
Old 14th March 2024, 13:46   #956  |  Link
HeinrichI
Registered User
 
Join Date: Aug 2022
Posts: 4
Quote:
Originally Posted by kedautinh12 View Post
You need show your mask image
Unfabulous.bmp:
Unfabulous_AutomaskTemp_A2.bmp:
Attachments Pending Approval
File Type: zip Unfabulous.zip

Last edited by HeinrichI; 14th March 2024 at 13:50.
HeinrichI is offline   Reply With Quote
Old 14th March 2024, 14:07   #957  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Quote:
Originally Posted by HeinrichI View Post
Launched analysis by command:
InpaintDelogo( mask="Unfabulous\Unfabulous.bmp", Automask=1, Loc="450,0,150,174")
4 files were created:
ebmp file is not created by Automask=1.

Quote:
Originally Posted by HeinrichI View Post
But when I run the preview after, with the command
InpaintDelogo( mask="Unfabulous\Unfabulous.bmp", Loc="450,0,150,174", Mode="Deblend") then instead of removing the logo, colored spots appeared:
Because logo is not transparent, so there is nothing to deblend.
VoodooFX is offline   Reply With Quote
Old 14th March 2024, 14:52   #958  |  Link
kalehrl
Registered User
 
Join Date: Feb 2011
Posts: 331
Any advice how to create a mask for this kind logo:



It is faint and the resulting automask is no good because I just get a jumbled mask like this:



I used this command:
Code:
InpaintDelogo(mask="D:\Videos\Encodes\output3.bmp", Automask=1, Analyzeth=70, Loc="1800,908,-36,-0", Mode="Inpaint")
kalehrl is offline   Reply With Quote
Old 14th March 2024, 14:57   #959  |  Link
HeinrichI
Registered User
 
Join Date: Aug 2022
Posts: 4
Quote:
Originally Posted by VoodooFX View Post
ebmp file is not created by Automask=1.
How to create ebmp? I still donít understand it from the description in the script.
Quote:
Originally Posted by VoodooFX View Post
Because logo is not transparent
The logo is still slightly transparent, as you can see in this shot.
HeinrichI is offline   Reply With Quote
Old 14th March 2024, 15:18   #960  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 992
Quote:
Originally Posted by HeinrichI View Post
How to create ebmp? I still donít understand it from the description in the script.
It's created automatically by analysis on the first deblend delogo run.

Quote:
Originally Posted by HeinrichI View Post
The logo is still slightly transparent, as you can see in this shot.
Probably not transparent enough for video compression level. Or maybe you are doing something wrong.
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 14:07.


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