Log in

View Full Version : Why is LSF causing jagged edges


fofwp
1st April 2007, 20:08
I was hoping someone could help me out. I am trying to figure out why limitedsharpenfaster is causing the edges of objects to be jagged.

Only limitedsharpendfaster
http://img239.imageshack.us/img239/481/limitedsharpenfasterkt2.th.png (http://img239.imageshack.us/my.php?image=limitedsharpenfasterkt2.png)

Original
http://img528.imageshack.us/img528/4916/nolimitedsharpenfasterww0.th.png (http://img528.imageshack.us/my.php?image=nolimitedsharpenfasterww0.png)

These pictures were taken from virtualdubmod, and I don't know if they are the same frame, but they illustrate my question.

The following is the limitedsharpenfaster setting in my avisynth script. It is the only filter in the script.

LimitedSharpenfaster(ss_x=1.0,ss_y=1.0,Smode=3,strength=80,overshoot=1)

What is causing this?

Thanks.

foxyshadis
1st April 2007, 20:24
If you read the readme at the top of the filter, you'll find that's exactly what ss_x/y are there to prevent. Setting them to 1 is nothing but a playback optimization (even then I can't stand less than 1.1), and should never be used when encoding. Stick to the defaults.

AssassiNBG
1st April 2007, 21:49
Or you could try Soothe with it. Or even SeeSaw if you're not satisfied. :)

fofwp
2nd April 2007, 01:49
Oops :p

You're right I left it at the defaults and now its better.

Here is the script I plan on using:

DGDecode_mpeg2source("...")

degrainmedian(mode=1)
dx = 720
dy = 480
dull = last.Spline36Resize(dx,dy)
sharp = dull.LimitedSharpenfaster(Smode=3,strength=100,overshoot=1,dest_x=dx,dest_y=dy)
Soothe(sharp,dull,20)

Any comments or suggestions on how to improve it.

Thanks for your help

ficofico
3rd April 2007, 15:38
DGDecode_mpeg2source("...")

degrainmedian(mode=1)
dx = 720
dy = 480
dull = last.Spline36Resize(dx,dy)
sharp = dull.LimitedSharpenfaster(Smode=3,strength=100,ss_x=2.0,ss_y=2.0,overshoot=1,dest_x=dx,dest_y=dy)
Soothe(sharp,dull,20)