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. |
1st January 2010, 03:27 | #1 | Link |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
Noise removal VCR Capture
I have started to convert some old videos I own to X264 files. I am capturing the files via Virtualdub and FFdshow mjpeg codec with the dscaler FLT_temporalcomb filter enabled.
I am trying to use avisynth when converting to x264. I am using a basic set of filters to try and remove noise, the results are okay but not great. Was hoping for any opinions on filter combinations you may have had success with. My current filter: Code:
DeGrainMedian(limitY=3,limitUV=4,mode=3,norow=true) DeGrainMedian(limitY=3,limitUV=4,mode=3,norow=true) VagueDenoiser(threshold=0.8, method=1, nsteps=6, chromaT=0.8) asharp(1.75,4.0,0.25,hqbf=true) and |
1st January 2010, 11:21 | #2 | Link |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
Any other recommendations other than DegrainMedian ? Or should I use Degrainmedia via avisynth when capturing will this better eliminate the noise?
Last edited by flebber; 1st January 2010 at 12:00. |
1st January 2010, 12:01 | #3 | Link |
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
temporaldegrain with user-specified prefiltered clip, fft3dfilter with adaptive sigmas or dfttest for denoising
lsfmod for sharpening, but you need dehaloing (like dehalo_alpha) before
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
3rd January 2010, 06:25 | #6 | Link | |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
Quote:
Dehalo_alpha errors that expand is an invalid function. LSFmod errors that mode 19 in the below section of the script is an invalid mode. Code:
sharpdiff = mt_lutxy(sharpdiff,sharpdiff.removegrain(19,-1), \ "x 128 - abs y 128 - abs > y "+string(soft)+" * x "+string(100-soft)+" * + 100 / x ?",U=1,V=1) Code:
sharpdiff = mt_lutxy(sharpdiff,sharpdiff.RemoveGrain(mode=2).RemoveGrain(mode=2), \ "x 128 - abs y 128 - abs > y "+string(soft)+" * x "+string(100-soft)+" * + 100 / x ?",U=1,V=1) Last edited by flebber; 3rd January 2010 at 06:29. |
|
3rd January 2010, 06:37 | #7 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
No obiligation flebber just a personal wish. I'm guessing you have an issue lsfmod due to incorrect masktools version. Make sure you have v2.0a35 in your plugin directory. No idea about Dehalo_alpha but I'd do a forum search for updated versions of the script.
|
4th January 2010, 01:51 | #12 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
pretty good results your getting there. degrainmedian is good for what it is but nothing looks as clean and natural as mdegrain and derived scripts. did you try upping degrain and ov? that might just make dffttest reduant if your source allows for it. Yours seem to be a tough case for edge ringing, wish I could help more with that but i don't have much experince with blinddehalo etc. I do think ringing is a bigger problen than haloing in you source. Maybe try edgecleaner in mctemporaldenoisepp? I belive it's the latest and greatest of it's kind.
|
8th January 2010, 14:11 | #13 | Link | |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
Quote:
|
|
8th January 2010, 23:12 | #14 | Link | |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
You were definitely right with the edgeclean theory on this one. This filter setup worked a charm
Quote:
|
|
9th January 2010, 06:21 | #15 | Link |
Silver Über Alles
Join Date: Aug 2006
Location: Australia
Posts: 269
|
Mate, check the videos you are about to convert arent on rage first!
www.abc.net.au/rage In regards to your filtering, how many fps are tyou getting ? The filtering looks like overkill for such videos. |
9th January 2010, 12:07 | #16 | Link | |
Practising Schemer
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
|
Quote:
Any advice on filters gladly accepted, the one above is slow but the result was good. |
|
9th January 2010, 23:29 | #17 | Link |
Registered User
Join Date: Apr 2006
Posts: 299
|
I've had good experiences with mctemporaldenoise at medium or high presets on sources that look like yours. That would make the other denoisers redundant and you could use 'gpu=true' which would further decrease processing time if you have a relatively modern video card. Running different denoisers on top of each other can lead to weird motion and loss of details, Mctemporaldenoise is really good at balancing detail/noise.
|
10th January 2010, 06:56 | #18 | Link |
Silver Über Alles
Join Date: Aug 2006
Location: Australia
Posts: 269
|
I would give the following a try (the TempGaussMC or YadifMod with Nnedi2 are only valid if its interlaced video);
Code:
TempGaussMC_beta1(blocksize=16,edimode="nnedi2",tr0=1,tr1=1,tr2=1,sovs=0,svthin=0,sharp=0) #~ yadifmod(order=1, mode=1, edeint=nnedi2(field=3,threads=2)) Try either of these ! TempGauss is better but slower. super = MSuper(pel=2, sharp=2) backward_vec2 = super.MAnalyse(isb = true, delta = 2, overlap=8,blksize=16) backward_vec1 = super.MAnalyse(isb = true, delta = 1, overlap=8,blksize=16) forward_vec1 = super.MAnalyse(isb = false, delta = 1, overlap=8,blksize=16) forward_vec2 = super.MAnalyse(isb = false, delta = 2, overlap=8,blksize=16) MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400) LimitedSharpenFaster(Strength=35,smode=3,soft=25) |
10th January 2010, 07:17 | #19 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Also, if you do dehaloing, follow thetoof's advice and use Dehalo_Alpha. It really beats the pants off any current alternatives in regards of detail retention (not-detail-massacre actually) and actual halo removal.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
Tags |
avisynth, filter, noise, removal, vcr |
Thread Tools | Search this Thread |
Display Modes | |
|
|