PDA

View Full Version : how to improve realtime playback DVD upscale to 1080p?


psme
6th September 2007, 10:25
Hi,

I've been away from HTPC for a while after I got the PS3! :p

But I'm back as I found the HTPC plays film based DVD at 48Hz output perfectly smoooth and remove all the 3/2 motion judder. It'd be a perfect match to my current projector Sony VW50 1080p which supports 24/48Hz input, if I can solve the following image quality issue.

- DVD realtime upscaling to 1920x1080. Now I use the spline16w in the newresizer.dll The quality is decent but the PS3 still gives a much sharper and smooth upscaling quality
- since my screen is 100" diag and I sit very close, there is much compression like dancing noise around object edge. That maybe related to the upscaling process
- block like artifact especially in dark area, currently I use the latest DScaler5 MPEG2 decoder. Tried the Nvidia MPEG2 decoder and the problem is worse!

The current image already looks "sharp" enough for my taste and any further sharpening may only make the scaling/edge noise/block artifact worse, so I haven't try LimitedSharpenFast yet this round.

My PC is C2D 6600 overclocked to 3.2G with 2G ram so I hope it will run many processing in realtime.

I'm using Avisynth via FFDShow for realtime playback. I'd like advice on better upscaling method to use. Any (minor) denoise filter that can improve the compression noise around edge or reduce the block artifact in dark scene, while does not destroy any image detail. If there is a sharpen filter setup that can bring out more detail and reduct artifact/noise at the same time, that'd be great too!

Thanks in advance.

regards,

Li On

Blue_MiSfit
7th September 2007, 01:50
Hard to say. Making 480 vertical pixels fill a 100" diag screen is a real good trick :)

Doing software scaling gives you lots of flexibility but is also very difficult to setup perfectly.

Some things to try:

*fft3dgpu (for realtime) at low settings to remove noise and add a bit of sharpness (if nothing else to offset any softening). Kind of risky because fft3d can introduce banding.

*SeeSaw

*?

~MiSfit

Dark Shikari
7th September 2007, 02:19
The noise around object edges is called ringing or mosquito noise, and its caused by compression generally, not upscaling.

Lanczos resizing can cause ringing but not enough to notice (though enough to slightly reduce compression). Spline shouldn't cause much ringing at all.

For realtime upscaling you're going to be pretty limited, though if you have a very fast graphics card you could use fft3dgpu in real-time before the upscaling itself; using proper settings on that should remove most mosquito noise.

Jeremy Duncan
7th September 2007, 02:39
Resizig can cause problems.
If you use MPC to resize a jpg image using ffdshow lanczos you'll see that resizing can create distortions.

How I fix that is I resize using ffdshow lanczos tab, and use no luma or chroma sharpening, but I do use luma Gaussian blur.

Use only enough luma Gaussian blur to fix the problem resizing made.

Blue_MiSfit
7th September 2007, 21:08
That's a solid idea Jeremy.

I'll have to try this sometime.

I've been putting off really getting a good upscaling technique down ever since I got my 24" 1920x1200 BenQ LCD for my PC. My old method of lanczos + ~.2 luma sharpen + ~20 luma noise doesn't work so well anymore :(

*.mp4 guy
9th September 2007, 05:48
I generally use high-tap lanczos, or sinc, followed by warpsharp, warpsharp does a good job removing most of the problems introduced by scalling, and at high resolutions it doesn't introduce much distortion.

Jeremy Duncan
9th September 2007, 08:19
________ SeeSaw 2.5 (If you have 100" monitor you might see artifacts if you use the three previous configurations, if so use Seesaw 2.5
However, Seesaw 2.5 is not as sharp/detailed as Seesaw 2, this is the price you pay if you want no resizing artifacts.
It's between basic and Limitedsharpenfaster in sharpness, sharper than basic, but not as sharp as LSF.) ________

Codecs tab
Set Mpeg2 to Libmpeg2, and check "DVD decoding".
Set Avisynth to Avisynth, Raw video to All supported

Avisynth tab
YV12 checked,
Add FFdshow Video source checked,
3:2 Pulldown box: Apply Pulldown checked,
Check Buffer back/Ahead: 1, 15
*copy and paste* the code below into the avisynth text box, and then click apply.

SetMemoryMax(1024)
tfm(order=1,chroma=false)
tdecimate(chroma=false)
FluxSmoothT(3)
ColorMatrix(Mode="Rec.601->Rec.709",clamp=false,threads=2)
MT("SeeSaw(NRlimit=0, NRlimit2=5, Sstr=2.22, Szp=1, Slimit=9, Sdamplo=16, Spower=1, sootheT=95, SdampHi=39)",3)
WarpSharp(depth=20, threshold=20)

Subtitles tab, Unchecked
Uncheck "Decode closed captions"
Uncheck "Accept embedded subs"
Uncheck "Accept SSA, ASS, ASS2 Subtitle (experimental)
Vobsub subpage, uncheck Vobsub Enable.

Resize & aspect tab
Specify size 1024, 576 (Match your screen resolution)
Process Pixel aspect ratio internally checked
No aspect ratio correction checked
Lanczos
Taps: 2
Luma Sharpen: 0.20
Accurate rounding checked

Queue & Output tab
Queue output samples checked

Output tab
YV12 checked

Full instructions in this link:
Link (http://forum.doom9.org/showthread.php?t=115727)

Thanks for the tip about warpsharp, *.mp4 guy.

Jeremy Duncan
9th September 2007, 11:54
Edited my previous post. And I'm using Sh0dan's YV12 version of Warpsharp.