Log in

View Full Version : LRemoveDust and Star Wars


Blue_MiSfit
16th March 2005, 08:56
Hey all,

Trying to rip Star Wars Episode IV, and theres a huge ammount of noise in the picture. I made a post on the fft3d thread (as I was experimenting with the hardware accelerated version), and didee contacted me suggesting I try the lremovedust script. Thought I would post my results.

Script:

LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\removegrainsse2.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\MaskTools-v1.5.5.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\repairsse2.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\warpsharp.dll")

import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\lremovedust.avs")

mpeg2source("C:\Star Wars - A New Hope\Episode IV - A New Hope.d2v")

crop(0,58,718,360)
LanczosResize(720,368)

LRemoveDust(4,2)
RemoveGrain(4,2,2)


Source, cropped and lanczos resized
http://people.ucsc.edu/~dpresteg/resized0.png

result after filtering
http://people.ucsc.edu/~dpresteg/lremovedust0.png

The settings used seem a little too aggressive. Suggestions?

~misfit

kassandro
16th March 2005, 11:10
The Softness is caused by RemoveGrain(mode=4). This mode is quite aggressive and should primarily used in conjunction with the filter TemporalRepair. Exactly this is already done in (L)RemoveDust. Do not overfilter your video. Simply remove "RemoveGrain(4,2,2)".

Didée
16th March 2005, 23:15
:eek:! That was a braindead typo from me. I wanted to write "RemoveGrain(1,2,2)", not "(4,2,2)". Sorry ...

Blue_MiSfit
17th March 2005, 23:19
LRemoveDust(4,1)
removegrain(1,2,2)

seems to produce a much sharper result with good compressibility. I got 6of9 to hit an average quant of about 3.8 at about 2000kbit.

This filter is freakin awesome, considering it encodes about as fast as my old "default" filter chain consistg of undot().unfilter(-5,-5)

It removed the big ugly spots of grain on the various scenes where there was a blue sky - and theres not that usual swimming blue/red DCT vomit all over the place, just good calm stable blue. I will post some screenshots when I get a chance!

I love you Didee! :D

~MiSfit

Didée
17th March 2005, 23:57
Don't tell that my wife ;)

dbzgundam
18th March 2005, 04:16
Huge amount of noise in the SW discs?! :eek:

I'd say no compared to a lot of other DVDs out there (Yes, even of recent movies), but, whatever you say...

:confused:

(Also, on morality issues, I refuse to rip the SW discs since they look so god-like :D )

Cyberia
18th March 2005, 16:39
Are you sure about that aspect ratio? Looks way off to me.

If you want to avoid vertical resizing and stay at ~360 lines, then use: LanczosResize(896, 368)

otherwise use: LanczosResize(704, 288)