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 27th November 2009, 03:16   #1  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
Old AviSynth Filter

Their is this old filter for avs 2.0 called simple resize that had a function called warped resize. It could adjust the aspect ration of a video using horizontal and vertical stretch, kind of like a fisheye lens. My tv only does this feature with 480i s-video, composite, and RF input, meaning that the only way I can remove the boarders from 4:3 video in hdmi, component, or vga input is to stretch the video to 16:9. The filter was also released for avisynth 2.5 Alpha but when I tried to use it there were serious chroma issues. I uninstalled avs 2.58 and installed 2.08 to use this old filter and it works without the issues but now I can't use all of my other filters.

Does anyone know of another filter similar to this?

Last edited by some dude; 27th November 2009 at 03:18.
some dude is offline   Reply With Quote
Old 27th November 2009, 03:33   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Point us to the source code of the filter and we can try to fix
the chroma issues for you.

EDIT: I found trbarry's filter. I assume that is the one.

Please describe the chroma issues in more details.

Last edited by Guest; 27th November 2009 at 03:37.
Guest is offline   Reply With Quote
Old 27th November 2009, 03:48   #3  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
Maybe I went too far by saying serious but the chroma gets out of place and it seems like alot of trouble to move it back. I also think the chroma gets distorted with rest of the image but I'm not sure about that. Here is an example image.

avs 2.58


avs 2.08
some dude is offline   Reply With Quote
Old 27th November 2009, 03:49   #4  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Looks pretty serious to me!

Even in YUY2 there are errors. I'll try to find some time to look at it.
Guest is offline   Reply With Quote
Old 27th November 2009, 03:52   #5  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
Thank you so much!
some dude is offline   Reply With Quote
Old 19th December 2009, 13:37   #6  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Hi Dude

From my version of SimpleResize

Change Log:

2003/01/16 V 0.3.3 Avisynth 2.5 support, PluginInit2
2002/09/16 V 0.3.2 Fix horizontal chroma shift bug
2002/07/29 V 0.3.1 Removed 4x horizontal pixel count requirement
2002/02/04 V 0.3 Added InterlacedResize & InterlacedWarpedResize functions
2002/01/29 V 0.2 Additional SSE2 & SSEMMX optimizitions, Better warp formula
2002/01/20 V 0.1 Initial release V 0.1

Note v0.3.2

Dont know if this fixed your bug, you say for AS v2.5, (never used the filter).

Last edited by StainlessS; 19th December 2009 at 13:40.
StainlessS is offline   Reply With Quote
Old 19th December 2009, 21:14   #7  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
I have that same readme with the version I downloaded, the error remains. If only I knew how to program I would look at the filter myself. But learning to program is not an option because I can't even get myself to finish reading chapter 3 on this book I have about how to programing in blitzbasic.
some dude is offline   Reply With Quote
Old 19th December 2009, 22:02   #8  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
And it's all in optimized assembler, which makes it even harder to follow. Tom comments his code well, though.
Guest is offline   Reply With Quote
Old 19th December 2009, 22:15   #9  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,493
Assuming it's the same dll I just downloaded from http://avisynth.org/warpenterprises/, have you tried adding:

Code:
converttoyuy2
The filter will fail to work correctly on YV12 clips (as above), but will not produce a warning. The converttoyuy2 advice is in the readme.

Edit: Oops, didn't see neuron2 mentioning YUY2 errors as well! I can't see any...

David
wonkey_monkey is offline   Reply With Quote
Old 19th December 2009, 22:17   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Yo Dude

http://www.filefactory.com/file/a121...Resize_MOD.zip
EDIT:- Above Link now DEAD.
To download recompiled SimpleResize(),

Contains:-

Original,
FOLDER RecompiledOriginal
FOLDER SSE2_DISABLED
FOLDER SSEMMX_DISABLED

Try them all, suspect SSE2 will be your problem, will not of course be as
fast but the SSE-MMX version may work.

gud luck

EDIT:- Correction, the SSE2_DISABLED May work, else use SSEMMX_DISABLED
which also disabled SSE2.

Last edited by StainlessS; 8th January 2010 at 01:15.
StainlessS is offline   Reply With Quote
Old 20th December 2009, 00:07   #11  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
Thanks for looking at the code guys.

StainlessS - I tried all three versions of the plugin that you provided, their was no change in the end results.
some dude is offline   Reply With Quote
Old 20th December 2009, 01:21   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Yo Dude,

http://www.filefactory.com/file/a121...e_TryAgain.zip
EDIT:- Above link now DEAD.

Take two, Action!
(Missed one out)

Last edited by StainlessS; 8th January 2010 at 01:16.
StainlessS is offline   Reply With Quote
Old 20th December 2009, 03:22   #13  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
Still no luck, thanks anyways though.
some dude is offline   Reply With Quote
Old 20th December 2009, 05:13   #14  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Fizick is using a modified version of this in his MVTools, might be worth seeing what he changed.
IanB is offline   Reply With Quote
Old 20th December 2009, 05:56   #15  |  Link
some dude
Registered User
 
Join Date: Jan 2008
Posts: 35
I am so sorry. I feel like an idiot. I didn 't even try changing the color space like davidhorman recommended. I just tried converting to yuy2 before applying the filter and it works. I'm sorry if I caused you guys extra work.
some dude is offline   Reply With Quote
Reply

Tags
aspect ratio, simple resize, simpleresize, warped resize, warpedresize

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 17:03.


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