Log in

View Full Version : Having color and cropping problems with SharpTools


soujir0u
6th March 2004, 11:39
Hi, I have tried using a script with mf's SharpTools. Here is the script I am using:

import("sharptools-v0.3.avs")
mpeg2source("test.d2v")
Telecide(order=1,post=1,hints=true)
kerneldeint(order=1)
Decimate(quality=3)
crop(2,24,636,368)
sharpresize(656,416)

I am using AviSynth 2.54, XviD 1.0 RC3 and VirtualDubMod 1.5.10.1.

When I use this script, I find that I get a weird line on the right of the screen:

http://otakusanc.homestead.com/files/sharpresize1.jpg

Here is the same script, but with lanczosresize instead:

http://otakusanc.homestead.com/files/lanczosresize1.jpg

Also notice that the colour in the sharpresize one is different from the source (the one in the lanczosresize pic is the right colour)! What am I doing wrong? I am cropping evenly and in mod4. The source is 640x416.

Another problem is that when I use sharpresize it results in artifacts on the edges of text (maybe due to the sharpening):

http://otakusanc.homestead.com/files/sharpresize2.jpg

Here is the pic for lanczosresize:

http://otakusanc.homestead.com/files/lanczosresize2.jpg

Can anyone help me with these problems, please? Thanks in advance!

mf
6th March 2004, 13:18
Have you got the right WarpSharp.dll (http://mf.creations.nl/avs/filters/WarpSharp.dll) ?

soujir0u
6th March 2004, 23:02
Thanks, I no longer have the colour and text artifact problem now. Still have the weird line on the right of the screen though, but I probably just need to change the cropping. Thanks again!

Edit: Ok I've changed cropping to mod8 and now the line is gone...

Chainmax
7th March 2004, 20:29
Is warpsharp_2003_1103 acceptable as well?