Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th February 2004, 00:29 | #1 | Link |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
RemoveDirt
RemoveDirt is a temporal cleaner with strong protection against artifacts, highly configurable and SSE optimized.
For more details goto www.RemoveDirt.de.tf Please post all questions to this thread. 2004|02|15 version 0.4 (first public release) released 2004|02|28 version 0.5 released (for a change log see posting below) 2004|04|01 version 0.6 released (for a change log see posting below) 2004|04|21 version 0.6.1 released (for a change log see posting below) 2005|05|07 version 0.9 released (for a change log see posting below) Last edited by kassandro; 7th May 2005 at 18:34. |
15th February 2004, 17:03 | #2 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
starting testing now... it seems to be very gentle, and kills flickering blocks nicely (like those annoying blocky dark scenes we've all seen)
just sussing out the settings. these lines are a good way to see what's being done... subtract(last,last.removedirt()) coloryuv(autogain=true) i seldom see a recognisable picture with the above, except in high motion. very good work. [edit] this works beautifully! it's subtle as hell, but improves compressibilty quite a lot! it's almost a free lunch [edit edit] okay... my fan blades are disappearing. i guess i'll have to read all that document to know which parameter to tweak [edit edit edit] okay... after some tweakage i seem to have preserved the fan blades while pushing back the spots. excellent. combined with temporalsoften i can see me getting undersized encodes for the first time ever :O
__________________
sucking the life out of your videos since 2004 Last edited by Mug Funky; 15th February 2004 at 18:34. |
16th February 2004, 01:38 | #3 | Link |
Registered User
Join Date: Dec 2002
Posts: 21
|
tested with old anime and my first impression this morning was: whow!
then came back down to reality when I started missing some fine grey lines after lowering the motion detection thresholds to RemoveDirt(athreshold=40, mthreshold=90) no lines were touched anymore, but still most of dots and scratches got completely removed. only problem left was horrible blocking on high-motion with my settings, but conditional filtering helped out there so Im quite impressed about quality for now *still testing* vdubmod crashes on closing due to a read error when RemoveDirt was used edit: sounds somewhat pretty similar to mug funky's post Last edited by Kintaro; 16th February 2004 at 01:43. |
16th February 2004, 10:26 | #4 | Link | |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
If it is specific, could you please post the details (with the exception of the clip of course). If it is the clip please post width, height, number of frames and color space. |
|
16th February 2004, 14:22 | #5 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
wow... i mean wow.
did a quick test with a 500 frame chunk from Blade Runner (r4), possibly the worst quality DVD i own (well, except for ghost in the shell and futurama), and i got a massive compressibility gain. clips encoded Xvid VHQ1, fixed quant 2, bframes 2 (at q4)... without removedirt: 833kbps (not bad) with removedirt: 627kbps (WOW) settings for removedirt were: Code:
removedirt(mthreshold=4*255,athreshold=18,soscillation=10,doscillation=255,dist=2,tolerance=12,show=0) aside from obvious bad-motion bits that i didn't bother with as they were lost causes (a brown ceiling fan from above with brown background, barely visible without removedirt), there was no visible degradation in quality, in fact the bitrate pumping present in the source was completely gone, as were a few random black spots. i'm going to use this baby more often. combine this with a temporal smoother and you've got low-bitrate heaven. i can't recommend this enough...
__________________
sucking the life out of your videos since 2004 Last edited by Mug Funky; 16th February 2004 at 15:53. |
17th February 2004, 01:53 | #6 | Link |
Registered User
Join Date: Jun 2003
Location: Northampton, England
Posts: 187
|
Just tested this on my Double Indemnity DVD, which is a poor quality transfer of a 1944 film and as such has boat loads of spots, splurges and scratches - the perfect stuff for RemoveDust to tackle
Used the following command line: removedirt(grey=true,mthreshold=175,athreshold=75,soscillation=75,doscillation=100) so it was some quite heavy filtering (it needed it though!). It pretty much removed all of the "dirt" I mentioned above, just as promised! Compressibility was, as Mug Funky said, improved tremendously: Xvid - Quant 2, Q-Pel, Trellis, B-VOPS 3/1.5/1, 640x480 - Without RD = 2353MB, with RD = 1618MB !!! Like I say, it did a great job on the dark spots and scratches, though it wasn't as effective on the white spots, yet....... So basically, give this filter a whirl, you won't regret it! I have a couple of questions though: 1) "Never crop after RemoveDust" - not even if you resize afterwards to a mod 16 resolution? Does it really effect the codec compression performance? 2) With that in mind - what about colour space conversions? I would like to use Pixiedust after you filter, should I ConvertToYUY2() before using your filter, or will it be safe to use it in YV12 first then convert afterwards? Also, when I added removedust.dll to my plugins directory, both VirtualDub and TMPGEnc requested a file, msvcr70.dll, on startup (before loading AVS script). Naturally this message went away when I copied a version of it into both the VirtualDub and TMPGEnc directories, but do you know why this message came up. Anybody else have this problem? P.S. I don't have the problem Kintaro mentioned so I'm not sure if they could be related or not. |
17th February 2004, 03:40 | #7 | Link |
Registered User
Join Date: Dec 2002
Posts: 21
|
ok finally found some time for further testing:
first tested again with my avisource/divx5.1/640x480/34534frames, no ranges. tried also converttoyuy2() and grey=true and finally switched back to avisynth 2.54 (using 2.55alpha atm). error message occured in all cases after that I tried on mpeg2source/720x480/48466frames and there was no problem with closing vdubmod in this case. so I took that mpegsource and made a short clip out of it: xvid/720x480/2000frames. behaved again like my first avisource. next mpegsource: 720x576/34876frames caused no problems when closing vdubmod. that file encoded to xvid also crashed vdubmod I think its somehow related to avisource, tried opening all avifiles with directshowsource to confirm that -> and not a sinlgle crash occured. since I cant think about anything worth trying out atm Ill go to sleep now and probably die in 3h when I have to get up =_= |
17th February 2004, 04:21 | #8 | Link | |||
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
A further Remark about blockiness is in order. Because RemoveDirt bases the decision, whether to clean or not to clean, solely on the luma, there should not be any really visible blockiness as far as the luma is concerned. However, theoretically the chroma alone can cause blockiness, though this should be quite unlikely in a normal video. But obviously, as reported by Kintaro, more likely for anime videos. If chroma blockiness becomes a severe problem I can solve it at the expense of execution speed. Also the filter gets a lot more complicated to use, because then the chroma needs its own set of variables. Quote:
Quote:
|
|||
17th February 2004, 04:40 | #9 | Link | |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
|
|
17th February 2004, 05:42 | #10 | Link |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
bug tracked down
I couldn't resist to track down the bug detected by Kintaro. I have now a do nothing filter (it simply passes through all the frames) with only a few lines of source code which exhibits the same hostility to avisource. I will post it later to the AVS developer forum. It remains to be seen whether I am doing something forbidden during dll initialisation or whether this a Avisynth bug. Fortunately, this bug has nothing to do with the filter itself.
|
17th February 2004, 17:46 | #11 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
to go back to the question about not cropping after removedirt... it will affect compressibility for the DCT components (block edges are shifted and mistaken for high frequencies. high frequencies compress badly because of the VLC coding of blocks after quantization). this probably wont affect motion vectors, so there will still be a gain on your original source.
of course, you could run a deblocker like "blindPP(quant=2,cpu=4)" after removedirt and you might be able to crop after that, so long as the deblocking does it's thing. [edit] it'd be really nifty to have hard-coded presets for this (if it's not too much to ask). i ask because although yesterday i knew what the settings do, i've forgotten now... presets would be very cool and could handle 90% of situations flawlessly i think.
__________________
sucking the life out of your videos since 2004 Last edited by Mug Funky; 17th February 2004 at 18:27. |
17th February 2004, 21:52 | #12 | Link | ||
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
Quote:
|
||
18th February 2004, 01:57 | #13 | Link |
Registered User
Join Date: Jun 2003
Location: Northampton, England
Posts: 187
|
Thank you Kas and Mug for the answers regarding the cropping issue, they were helpful. I think I see why directly cropping the video would have a negative effect on codec performance now.
Look forward to future versions of the filter. |
19th February 2004, 07:46 | #15 | Link |
Brazilian Anime Ripper
Join Date: Nov 2001
Location: Brazil
Posts: 237
|
I am a user of MipSmooth in analog anime content. After did some tests with this new filter I am impressed with results. I will do more tests to compare with mipsmooth but I think my new filter is RemoveDirt
Keep good work
__________________
Capture cards: Compro VideoMate Gold+ (Philips SAA7134 based) (not active) Hauppauge PVR 150MCE (not active) ATI TV Wonder Elite (active) |
19th February 2004, 22:28 | #18 | Link | |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|