Log in

View Full Version : Upscale SD to HD


jeremy33
11th March 2010, 01:30
I want to know if there is no error and if it's good for upscaling SD with ffdshow :

- fast SPP deblocking 35% (No fast SPP deblocking for DVD)
- Deband 1.15
- Avisynth :
add video source : unchecked
3:2 pulldown : ignore pulldown
input color space : yv12
buffer back ahead : 3/3

SetMTMode(2,4)
Last=ffdshow_source()
setmemorymax(1024)
SetMTMode(2)
a= last
b=a.Spresso_JD()
SeeSaw_JD(a,b)
LimitedSharpenFaster_JD(strength=11)
LimitedSharpenFaster_JD(strength=11)
mWidth = float(last.width)
mHeight = float(last.height)
ratio = (mWidth/mHeight)
newHeight = round((1920/ratio)/2)*2
MT("spline64resize(1920, last.height)",4)
MT("spline64resize(last.width, newHeight)",4, splitvertical=true)
distributor()

That's the result : 640x352 up to 1280x704 :
http://img690.imageshack.us/img690/5407/originalresizebilinear.png
http://img695.imageshack.us/img695/9529/newvc.png

Gavino
11th March 2010, 11:54
MT("spline64resize(1920, last.height)",4)
MT("spline64resize(last.width, newHeight)",4, splitvertical=true)
When resizing with MT, you should use the overlap parameter to avoid edge effects where the frame is split. For spline64Resize, an overlap of 4 pixels would be appropriate.
MT("spline64resize(1920, last.height)", 4, 4)

But why use the MT function if you are already using SetMTMode?

jeremy33
11th March 2010, 15:21
Because I don't know how to use Spline64resize without MT function.

Can you show me how to use without MT ?

Gavino
11th March 2010, 21:13
Just take the commands out of the MT string arguments:
spline64resize(1920, last.height)
spline64resize(last.width, newHeight)

or, since without MT, there's no need to separate the horizontal and vertical resizing:
spline64resize(1920, newHeight)

jeremy33
11th March 2010, 22:21
ok thank you, it is correct ?

SetMTMode(2,4)
Last=ffdshow_source()
setmemorymax(1024)
SetMTMode(2)
a= last
b=a.Spresso_JD()
SeeSaw_JD(a,b)
LimitedSharpenFaster_JD(strength=11)
LimitedSharpenFaster_JD(strength=11)
mWidth = float(last.width)
mHeight = float(last.height)
ratio = (mWidth/mHeight)
newHeight = round((1920/ratio)/2)*2
spline64resize(1920, newHeight)
distributor()

2Bdecided
12th March 2010, 13:11
There's many things wrong with this (and lots of better suggestions for upsizing elsewhere), but I didn't reply since this line...

That's the result in a divx 640x352 up to 1280x704 :

...was almost begging for intervention by a moderator ;)

Cheers,
David.

jeremy33
12th March 2010, 13:36
Ok I delete this. So can you explain me what's wrong and a better suggestion for upsizing please.

osgZach
12th March 2010, 15:34
Quite frankly I think that upsize looks pretty darn good.. But I don't do upsizing, and its only a still frame. So my opinion is very subjective.

Guest
12th March 2010, 15:59
That's the result : 640x352 up to 1280x704 Where did you get the 640x352 source file?

jeremy33
12th March 2010, 16:40
It's a backup af my dvd of the first season of dexter

aegisofrime
12th March 2010, 16:41
It's a backup af my dvd of the first season of dexter

Best take a picture of the DVD, just in case. I have a feeling that's going to be needed.

2Bdecided
12th March 2010, 17:06
If you were going to upscale, you'd start with the DVD, not a reduce resolution and/or re-encoded copy.

Cheers,
David.

jeremy33
12th March 2010, 17:20
Yes but I have a probleme with dvd. When I play the dvd it's very jerky but not with divx. It's from the resize I think so can you help me.

Guest
12th March 2010, 18:04
Your explanation is unconvincing. You can try again in a PM to me if you want to get your thread reopened.