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 16th August 2018, 16:14   #21  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by poisondeathray View Post
Thanks, I got it working

All three files was the key for me.
Yep, same here.

Quote:
Originally Posted by poisondeathray View Post
Also, I couldn't manually load AutoOverlayNative.dll, nor combinations of autoloading AutoOverlayNative.dll with manually loading the others. All 3 had to be in the plugins directory
Neither AutoOverlayNative.dll nor AutoOverlay_netautoload.dll are plugins. AvsFilterNet.dll is the actual plugin that interfaces with Avisynth.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 16th August 2018, 20:48   #22  |  Link
introspected
Registered User
 
Join Date: Nov 2017
Posts: 35
AutoOverlay is the .NET plugin that could be loaded by avisynth function LoadNetPlugin from AvsFilterNet. Groucho2004 is right. AutoOverlayNative provides native code for .NET AutoOverlay plugin and is not linked with avisynth at all. Added to readme.
introspected is offline   Reply With Quote
Old 16th August 2018, 21:51   #23  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Quote:
Originally Posted by Groucho2004 View Post
Yep, same here.
I agree, and it finally works fine with all three files in the plugins directory, and all unblocked. Will test further tomorrow.

Frank62 is offline   Reply With Quote
Old 13th February 2022, 19:14   #24  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
As I see it took me over three years to come back to this point. Seems I had too much work.

I am just testing the plugin. It works, that means it loads correctly, and no errors, BUT: It doesn't do anything.
I try to adjust two sources. To see the result I set debug=true and opacity=0.5. The plugin simply seems to do nothing, also debugging infos cropping always zeroes.

To be sure I take one of the sources, cropp it a bit left and up, and try to let these only slightly different sources align: Again nothing at all. What am I doing wrong?
Do I misunderstand the whole thing? I thought that two slightly different sources in left, up, width and height would be auto-adjusted, so that they would fit, so when you overlay them they would be congruent? Am I wrong here? My most simple script:

v1=some source...
v2=v1.crop(8,8,-0,-0)

ve=OverlayEngine(v1, v2)
vo=OverlayRender(ve, v1,v2, opacity=0.5,mode=2,width=1480, height=1082)

return vo
Frank62 is offline   Reply With Quote
Old 13th February 2022, 20:46   #25  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
AutoOverlay, Author Introspected:- https://forum.doom9.org/showthread.php?t=175247

Introspected was here either yesterday or earlier today, so he'll probably be around soon.

EDIT: Was Updated 29 dec:- https://forum.doom9.org/showthread.p...66#post1960166
__________________
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 13th February 2022, 22:12   #26  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Thanks, but I read all this, and have also the newest version. Maybe he can help.
Frank62 is offline   Reply With Quote
Old 14th February 2022, 02:25   #27  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
I just tried 0.5.2 and it works ok

Did you try Lenna.landscape.jpg, and Lenna.portrait.jpg in the Sample demo on the github page?
poisondeathray is offline   Reply With Quote
Old 14th February 2022, 12:44   #28  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Just tried, works (after having cropped the portrait, because of odd width). So why the hell does it not work if you

-take twice the same source
-crop one of it a few pixels
-let these auto overlay



By the way, this was only testing to avoid that f. e. sources are too different. It also doesn't work for the sources I'd love to see it work...
Frank62 is offline   Reply With Quote
Old 14th February 2022, 16:41   #29  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Code:
a=colorbars(pixel_type="YV12").trim(0,-1)
b=a.crop(8,8,0,0,true).levels(0,0.5,255,0,255)
OverlayEngine(a,b)#, editor=true)
OverlayRender(a,b, colorAdjust=-1 , opacity=0.5, mode=1)
I darkened the overlay cropped version to see

Does this do anything for you ? It tries to align , but there is a mismatch . I didn't go into OverlayEngine editor, perhaps you can align it better with adjusting the settings

If it does "nothing", what version of avisynth ? There was an overlay bug in 3.7.2 test 2 that was fixed in test 3.
poisondeathray is offline   Reply With Quote
Old 14th February 2022, 17:06   #30  |  Link
Frank62
Registered User
 
Join Date: Mar 2017
Location: Germany
Posts: 234
Ok, I can't say it does NOTHING, but there is no watchbale effect, although in debug=true it says "frame successfully aligned". The same with my two clips I wanted to align, no matter what parameters I change. But Lenna works! So I'll have to figure out, why.

Avisynth+ version is 3.7.1
Frank62 is offline   Reply With Quote
Reply

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


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