Log in

View Full Version : DVDrip sharpening which Avisynth filters


Mario Bros
10th March 2004, 14:44
I want to do a HQ dvdrip, with target size of 3cds.
I've used Didée's IPP script to downsize the video to 640x... (with the correct aspect ratio), got extremly clean and sharp picture,
but Didée's script is painfully slow, and this kind of downsize can also be done with various Avisynth filters (same results but a lot faster).

I wanna know what filter combination to use and which settings,
the source is DVD so does not require too much denoising.
The simple downsize with lanczosresize was a little bit too blurry compared to IPP script.

Please submit script examples (opening the video, croping already done).

(Simple: i want same results with ipp but a lot faster.)
(originally the IPP script was designed to upsample DVD content to HD DVD quality, but i need only HQ downsampling)

Mug Funky
10th March 2004, 17:18
if you're ripping to 3 CDs, why not just do deblocking (if needed) within mpeg2source("x:\xxx.d2v",cpu=4) and simply don't change anything... 3 CDs can easily handle full frames, but you have to ask yourself if your CPU can handle a 3 CD rip without dropping frames on playback (my pIII 733 certainly cannot).

there's no point filtering if you're aiming at huge datarates. might as well tell virtualdub to split at 700mb, and go xvid constant quant 2.

esby
12th March 2004, 01:30
there's no point filtering if you're aiming at huge datarates. might as well tell virtualdub to split at 700mb, and go xvid constant quant 2.

supposing you got a perfect source...
which is not always the case...

You could use deen with some low setting,
just to clean possible small artifacts...
and maybe undot...

for resizing go for lanczos resize. or bicubic

esby

mf
12th March 2004, 14:01
I'd go for this then:
HQDering(smoother="BlindPP", params="""cpu2="ooooxx"""")
SharpResize(768, 432)
PixieDust(3) # Blurs the picture
Sharpen(0.5) # Sharpens it back

And if you find it fast (:rolleyes:) you can also try this to make it slower:
HQDering(smoother="BlindPP", params="""cpu2="ooooxx"""")
SharpResize(768, 432)
PixieDust(3) # Blurs the picture
Sharpen(0.5) # Sharpens it back
blah = last
blahdeen = blah.Deen("a2d", 1, 3, 5)
MaskedMerge(blah, blahdeen, BlankClip(blah, color=$4C4C4C))
And then just go twopass and tell XviD to encode it at 2.05GB.

Of course Dust is YUY2 only and SharpResize is YV12 only but example scripts don't have to worry about details like that ;).