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 2nd February 2020, 16:03   #21  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
Two more questions, thank you...
1. debug = 4 is changing colorspace ... is there something to do about it?

2. In the script above, I have added borders to not to crop the moved image. However, quad calculates the transformation of the black borders also! Which is useless and time consuming. Can I avoid it somehow?
redfordxx is offline   Reply With Quote
Old 2nd February 2020, 16:15   #22  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
1. You can convert back again, that's all. It's only meant for debugging purposes so colourspace support wasn't a priority.

2. Quad has no way of knowing that you've added borders that don't need to be looked at. You could scale your input image up instead, to the desired size, and adjust your corner coordinates appropriately, but that might introduce a bit of generational loss as you'll be resampling twice.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 2nd February 2020, 21:22   #23  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
Quote:
Originally Posted by wonkey_monkey View Post
Quad has no way of knowing that you've added borders that don't need to be looked at.
Might be nice feature, to add borders so that quad does not go out of the picture...
redfordxx is offline   Reply With Quote
Old 3rd February 2020, 12:10   #24  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
Another feature request:
Choose the color of the borders....
redfordxx is offline   Reply With Quote
Old 12th September 2020, 22:40   #25  |  Link
introspected
Registered User
 
Join Date: Nov 2017
Posts: 35
Thanks for the great plugin.
I try to use it for warp transformations during auto-align process in the AutoOverlay plugin.
It works fine but only first few thousand frames. After that the process freezes because Warp plugin creates too many handles.
It reproduces with avisynthplus 3.5.1/3.6.1 and any sample script like this: colorbars.quad(0.1,0.1,0.8,0.2,0.9,0.8,0.2,0.9, normal=true)
introspected is offline   Reply With Quote
Old 13th September 2020, 00:22   #26  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Possibly something I fixed during innumerable rewrites since the last uploaded version. Please try:

http://horman.net/avisynth/download/warp0.1b.zip
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 13th September 2020, 07:43   #27  |  Link
introspected
Registered User
 
Join Date: Nov 2017
Posts: 35
Quad now works fine but Warp throws floating "Access Violation". Script:
Code:
ColorBars.warp(0,0, 0,0,    640,0, 0,0,    640,480, 0,0,    0,480, 0,0, relative = true)
introspected is offline   Reply With Quote
Old 13th September 2020, 12:53   #28  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Strange, it works fine for me. x86 or x64?
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 13th September 2020, 13:23   #29  |  Link
introspected
Registered User
 
Join Date: Nov 2017
Posts: 35
The error frequency depends on how many control points specified. It reproduces very rare for me with 3 points and very often with 5 both x86/x64 and AvsPmod/x264:
Code:
ColorBars.Warp(0,0, 0,0,    640,0, 0,0,    640,480, 0,0,    0,480, 0,0,    320,240, 0,0,    relative = true)
It throws only on script loading.

Thanks for support.

Last edited by introspected; 13th September 2020 at 13:25.
introspected is offline   Reply With Quote
Old 13th September 2020, 13:47   #30  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
It throws only on script loading.
Constructor or frame 0 GetFrame().
[probably stating the obvious]
__________________
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 September 2020, 20:20   #31  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
I think I found the problem. Please download again.

http://horman.net/avisynth/download/warp0.1b.zip
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 13th September 2020, 20:40   #32  |  Link
introspected
Registered User
 
Join Date: Nov 2017
Posts: 35
Quote:
Originally Posted by wonkey_monkey View Post
I think I found the problem. Please download again.
Now it works perfectly.
introspected is offline   Reply With Quote
Old 25th February 2021, 23:01   #33  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Wonkey,
Which is the most current version of Warp, the multiple 0.1b's are now missing, the 0.1 (as in first post) cant be right,
I have 2 different version 0.2 (including one from your home site)
as from your sig, version as in AvisynthPluginInit3
Code:
return "warp/quad v0.2";
Maybe you could like include a puzzle or something, for the user to solve to figure out which version is most recent.

Come on man, get it together and give some indication of version, at least on the zip.
[then everybody could re-version the dll in some way, maybe even re-compile with a proper version resource].
__________________
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 26th February 2021, 00:40   #34  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Quote:
Originally Posted by StainlessS View Post
Wonkey,
Which is the most current version of Warp, the multiple 0.1b's are now missing, the 0.1 (as in first post) cant be right....
I believe v0.1b (2019/09/13) is the latest version: warp0.1b.zip - archive.org

Quote:
Originally Posted by StainlessS View Post
... give some indication of version, at least on the zip.
I second that, archive.org sometimes refuses to archive files if it has the same name even if the current file is newer than the old one.
Reel.Deel is offline   Reply With Quote
Old 26th February 2021, 02:24   #35  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Thanks RD

My ISP dont let me access achive.org, dont know why [blocked for a couple of years maybe].

It dont really matter, I was just making a current archive together with recent-ish added plugs,
I dont dare look in my big in-box to try and order about 10 years worth of plugs, and stuff.

EDIT: Incidentally, here is the real Wonkey download directory [that the wonkey web page points at]:-
http://horman.net/avisynth/download/

EDIT: Strangely, I got a version of warp from 12 Jan 2019 [from my big in-box, dll date in zip]
that also professes in source to be version 0.2 [ie supposedly more recent than the latest posted one].
__________________
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 ???

Last edited by StainlessS; 26th February 2021 at 02:42.
StainlessS is offline   Reply With Quote
Old 23rd January 2024, 22:03   #36  |  Link
SaurusX
Registered User
 
Join Date: Feb 2017
Posts: 135
I finally made the jump and tried this technique matching a Blu-ray to DVD. After watching that YouTube video the whole process just seemed intimidating, but I guess dealing with python over the last two years made it less so. The goal is to create datasets for machine learning that require very close alignment of images for super resolution upscaling. After making a few tweaks to the process for this different use case, things are looking really good. I seem to be able to get away with doing one warp for an entire video and then being choosey as to which images to use. This opens up a lot of possibilities.
SaurusX 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 14:55.


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