Log in

View Full Version : Old AviSynth Filter


some dude
27th November 2009, 03:16
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?

Guest
27th November 2009, 03:33
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.

some dude
27th November 2009, 03:48
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
http://img21.imageshack.us/img21/6762/42590481.jpg

avs 2.08
http://img4.imageshack.us/img4/3896/59238122.jpg

Guest
27th November 2009, 03:49
Looks pretty serious to me!

Even in YUY2 there are errors. I'll try to find some time to look at it.

some dude
27th November 2009, 03:52
Thank you so much!

StainlessS
19th December 2009, 13:37
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). :)

some dude
19th December 2009, 21:14
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.

Guest
19th December 2009, 22:02
And it's all in optimized assembler, which makes it even harder to follow. Tom comments his code well, though.

wonkey_monkey
19th December 2009, 22:15
Assuming it's the same dll I just downloaded from http://avisynth.org/warpenterprises/, have you tried adding:

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

StainlessS
19th December 2009, 22:17
Yo Dude

http://www.filefactory.com/file/a121cb2/n/SimpleResize_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.

some dude
20th December 2009, 00:07
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.

StainlessS
20th December 2009, 01:21
Yo Dude,

http://www.filefactory.com/file/a12107a/n/SimpleResize_TryAgain.zip
EDIT:- Above link now DEAD.

Take two, Action!
(Missed one out)

some dude
20th December 2009, 03:22
Still no luck, thanks anyways though.

IanB
20th December 2009, 05:13
Fizick is using a modified version of this in his MVTools, might be worth seeing what he changed.

some dude
20th December 2009, 05:56
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.