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 22nd July 2022, 22:14   #361  |  Link
Clotibrut
Registered User
 
Clotibrut's Avatar
 
Join Date: Jul 2022
Posts: 1
I don't understand those who remove the logo from images and videos. You don't want the person who created this video or photo to receive well-deserved compliments and praise for his work. I am a photographer, and many of my photos are becoming popular on the networks, so I created a simple logo for myself using create.vista. Finding my photo works in other sources without my logo is extremely unpleasant. It seems to me that this is plagiarism and also very incorrect concerning me.

Last edited by Clotibrut; 25th July 2022 at 15:05.
Clotibrut is offline   Reply With Quote
Old 22nd July 2022, 22:26   #362  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,260
Because they're annoying, but welcome to the forum where you will no doubt learn to be similarly annoyed
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 22nd July 2022, 23:42   #363  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Why you are welcoming a new roBot?
VoodooFX is offline   Reply With Quote
Old 23rd July 2022, 00:22   #364  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,260
It's more pleasant than interacting with the natives.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 23rd July 2022, 00:58   #365  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Quote:
Originally Posted by StainlessS View Post
It's more pleasant than interacting with the natives.


More pleasures there: https://chai.ml
VoodooFX is offline   Reply With Quote
Old 23rd July 2022, 05:27   #366  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,254
Lol
kedautinh12 is offline   Reply With Quote
Old 28th July 2022, 12:08   #367  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
Quote:
Originally Posted by VoodooFX View Post
Not bad masks, but not so good.

Try these custom masks: https://we.tl/t-yMUvpwMNk1
I didn't have time for creating masks, later will play with that. I updated all plugins but now there is a strange problem.

- InpaintDelogo after QTGMC doesn't work
- InpaintDelogo after Yadif for example works
- QTGMC not followed by InpaintDelogo works

Any idea what could be wrong?

Last edited by Espinosa; 28th July 2022 at 14:14.
Espinosa is offline   Reply With Quote
Old 28th July 2022, 14:12   #368  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
@StainlessS
Look how your beloved robot replaced his "innocent" post with ad.
[10 per month for some crap ]

Quote:
Originally Posted by Espinosa View Post
I updated all plugins but now there is a strange problem.

- InpaintDelogo after QTGMC doesn't work
- InpaintDelogo after Yadif for example works
- QTGMC not followed by InpaintDelogo works

Any idea what could be wrong?
What happens when "doesn't work"? Share whole avs script.

Btw, can you remove that quote with images?

Last edited by VoodooFX; 28th July 2022 at 14:21.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 14:22   #369  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
Images removed.

I have a longer script but after debugging I figured out that the problem is with QTGMC and InpaintDelogo. I was trying to run the script and encode the video but MeGUI crashes at that point.

Code:
LWLibavVideoSource("sample.mkv")

QTGMC(preset = "Slower", Sharpness=0.2)
crop(266, 4, -262, -2)
#InpaintDelogo(mask="D:\mask4.bmp", Loc="1170,44,-0,-950", Mode="Both", Analyze=3, dPP=4, oTune=-5, oTinflate=1, Alphatweak=-3)
return last
Espinosa is offline   Reply With Quote
Old 28th July 2022, 14:28   #370  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Why do you run QTGMC again? Run delogo on your lossless file.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 14:51   #371  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
What do you mean by "again"? My source is interlaced, I want to deinterlace it and run delogo.
Espinosa is offline   Reply With Quote
Old 28th July 2022, 14:55   #372  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Then I've no idea what you are doing there, what are those masks you posted? At this point I thought that you have deinterlaced your file...
Read this post again: https://forum.doom9.org/showpost.php?p=1972031

Last edited by VoodooFX; 28th July 2022 at 14:57.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 14:59   #373  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
Why do I need to encode the file to lossless after QTGMC and Crop and then use InpaintDelogo? Can I simply write one script where InpaintDelogo call follows QTGMC?
Espinosa is offline   Reply With Quote
Old 28th July 2022, 15:18   #374  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Quote:
Originally Posted by Espinosa View Post
Can I simply write one script where InpaintDelogo call follows QTGMC?
You can, but you would be deinterlacing twice as whole video is parsed to create masks.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 15:40   #375  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
Quote:
Originally Posted by VoodooFX View Post
You can, but you would be deinterlacing twice as whole video is parsed to create masks.
Twice? Where does that happen?
Espinosa is offline   Reply With Quote
Old 28th July 2022, 16:18   #376  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Quote:
Originally Posted by Espinosa View Post
Twice? Where does that happen?
In Avisynth.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 16:36   #377  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
That doesn't make sense that QTGMC followed by InpaintDelogo does deinterlacing twice. I used QTGMC in all my scripts with interlaced sources and this is the first time I read that I need to encode twice.
Espinosa is offline   Reply With Quote
Old 28th July 2022, 17:10   #378  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Quote:
Originally Posted by Espinosa View Post
That doesn't make sense that QTGMC followed by InpaintDelogo does deinterlacing twice. I used QTGMC in all my scripts with interlaced sources and this is the first time I read that I need to encode twice.
Deinterlacing twice doesn't mean encoding twice. You don't "need" to do that, but for some reason you are trying to do that, maybe that's why MeGUI is crashing.

"Twice" is hypothetical, with your way you can go to any number of "empty" deinterlaces, depends from what you are doing there.

Last edited by VoodooFX; 28th July 2022 at 17:14.
VoodooFX is offline   Reply With Quote
Old 28th July 2022, 17:36   #379  |  Link
Espinosa
Registered User
 
Join Date: Apr 2021
Posts: 23
Quote:
Originally Posted by Espinosa View Post

Code:
LWLibavVideoSource("sample.mkv")

QTGMC(preset = "Slower", Sharpness=0.2)
crop(266, 4, -262, -2)
InpaintDelogo(mask="D:\mask4.bmp", Loc="1170,44,-0,-950", Mode="Both", Analyze=3, dPP=4, oTune=-5, oTinflate=1, Alphatweak=-3)
return last
I still fail to see that this simple script can be problematic. If source file is interlaced then QTGMC should give a progressive output video file. After that InpaintDelogo should remove the logo on that file. This works with Yadif instead of QTGMC.
Espinosa is offline   Reply With Quote
Old 28th July 2022, 17:48   #380  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 577
Maybe there is not enough memory, try "Medium" instead of "Slower". Why you don't want to deinterlace to lossless file?
You didn't answered how you got those masks you posted there.
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 19:04.


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