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. |
21st December 2007, 23:25 | #121 | Link |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
I was right to a certain extent, but there's some differences.
MVDegrain2: http://img218.imageshack.us/img218/9749/mvd2io8.png 2x MVDegrain1: http://img218.imageshack.us/img218/7426/2mvd1cl2.png So it seems my way actually removes a bit more noise, so you'll end up with mvdegrain3+ |
21st December 2007, 23:32 | #122 | Link | |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Quote:
I'm going to do some testing for myself and see which method I like better: Didee's or yours. Then I'm gonna run back and implement the one I like better. Last edited by Sagekilla; 21st December 2007 at 23:34. |
|
21st December 2007, 23:38 | #123 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
Anyways, here's a screenshot comparison of the normal script with mvd2 vs. this mvdegrain. mvd2: http://img297.imageshack.us/img297/8881/mvd2og5.png mvd3ish: http://img147.imageshack.us/img147/4870/mvd3tn5.png |
|
21st December 2007, 23:40 | #124 | Link | |
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Quote:
|
|
21st December 2007, 23:41 | #125 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
@ Terranigma: Basically correct, but not quite like you posted it. In ^^that way, the weightings of the "wing" frames are screwed: Too much weights go to the frames [current-3] and [current+3].
You need to do degrain_2 = source.mvdegrain2(delta1,delta2,delta1,delta2,idx=2) degrain_2_1 = source2.mvdegrain1(delta3,delta3,idx=2) degrain_3 = degrain_2 .merge( degrain_2_1 , 0.4286) to get the correct weightings. Quote:
@ Sagekilla: That way is not some funky "denoise some, then denoise some more". It's quite possible to do so. MVDegrain3 melts 7 frames together at one. Since Terranigma used the *same* idx values (which in this case is correct), what happens is that the 2nd MVDegrain uses the 1st MVDegrain'ed clip as base, but will average with the not-yet processed wingframes. I.e. first there are 5 frames melted together. Then, in the 2nd step, the missing two frames are additionally melted into the first melting. When done with the correct weighting, then the result is the same, except for rounding differences. --- ColorYUV-analyzing a diff, I see min/max 126/130, loose min/max 127/129. That's rounding differences, yep.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
22nd December 2007, 00:00 | #126 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
MVDeGrain2: http://img206.imageshack.us/img206/2051/mvd2origlr5.png MVDegrain1 x 2: http://img258.imageshack.us/img258/6622/mvd2nc4.png The small nuances between the 2 must be what you mean by rounding differences. |
|
22nd December 2007, 00:33 | #127 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
@Terranigma: Yeah, whatever you're doing there. BTW did you use the correct weightings to simulate MVDegrain2 by 2xMVDegrain1...?
However ... the reason to make a step-by-step rebuild of MVDegrain3 was more towards adding some features in that MVDegrainX does not have at all. (When going to make suggestions to a dev, ears are wider open when you can show a working solution instead of just boring with theoretical blabla.) Par ex: Seamless integration of using an alternative filter (resp. an alternatively filtered clip), weighted by thSAD: Note the motion regions where MVDegrain3 folds its arms & says "no, here I do nothing". (That's more interesting than discussing how to simulate MVDgr7 with MVDgr1.)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
22nd December 2007, 00:39 | #128 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
Quote:
|
|
22nd December 2007, 00:58 | #129 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Quote:
It doesn't matter how often you call MVDegrain over and over. Not-compensateable areas keep being not-compensateable, block SAD keeps being high, the not-filtered areas keep being not filtered. If you have scripts that in practice make happen what in theory should not happen, that's fine. But without posting them, nobody can follow.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
22nd December 2007, 01:13 | #130 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
I'll report back with updated info. Last edited by Terranigma; 22nd December 2007 at 01:15. |
|
22nd December 2007, 01:32 | #131 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Sure, there's lots of tweaking possible with MVAnalyse's settings.
Regarding "not-compensateable": elimination of that problem is of course not possible. Possible is a very noticeable improvement on the problem, by using different settings than the default ones ... truemotion=false makes a difference. searchparam=8 makes a difference. Both together make a big difference. However: Though a good part of those differences are good ones (better compensation of problematic motion areas), some of those differences are bad ones (losing motion coherence, getting either "swimming" [or just "less pleasing"] denoising in flat areas like sky, fog, etc.) As always, there is no 'best'. Only different pro's and con's. Did I ever mention the "you win here, you lose there" proverb ...
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
22nd December 2007, 01:57 | #132 | Link | |
*Space Reserved*
Join Date: May 2006
Posts: 953
|
Quote:
That proverb seems to hold true. I thought a certain clip of mines was a lost cause. I usually use search 3, which in turns, also seems to lock the searchparam at 255 (max) , but there have been downsides as you said: Swimming in once grainy, flat areas (doesn't matter if it's prefiltered and denoised completely), and weak denoising for flat skies (Though I pinned down what was causing the weak denoising for the sky, but never for the swimming.) so search 2 should be just fine for most clips it seems. Anyways, would it be possible for you to upload a sample of that clip so that I can test this script with mvdegrain with it? After stepping through frame-by-frame, all images seems to be fine all of a sudden (maybe because I can't seem to recall the previous settings i've used completely. ) |
|
22nd December 2007, 03:03 | #133 | Link | ||
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
The samples were uploaded by Zep - see this post and this post.
Quote:
Quote:
P.S.: Added some comments to the script posted in #107. ;-)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) Last edited by Didée; 22nd December 2007 at 03:14. |
||
23rd December 2007, 06:14 | #135 | Link |
Registered User
Join Date: Jul 2002
Posts: 587
|
Quote:
Ok I now have to decide what to do. I do have the pass 1 stats file which should be plenty good no matter how I do pass 2. I think I will try your scripted_MVdegrain3 and run pass2 with it. I also smacked my head about 2 days into the encode when I realized it was taking so long that what I should have done was use tritical's Twrite() and saved a lossless file so that I could run pass2 from it and not have to redo all the grain removable calcs for pass2. Normally Twrite() (well the encoder and massive HD I/O anyway) is too slow to use for me but when I am doing something like this and just getting 1.1 FPS a second it is more than fast enough and 60 gig lossless VBLE file is no problem for this project :P now I will go and see just how slow the scripted version is lol if it is like under 1 FPS oh my this may take a week to encode (UPDATE .3 FPS lol will take 9 days to encode lol) BTW - what is pelclip for? (or what will it be used for in the future) thanks Zep Last edited by Zep; 23rd December 2007 at 06:28. |
23rd December 2007, 06:48 | #136 | Link | |
Registered User
Join Date: Jul 2002
Posts: 587
|
Quote:
Didée have you compared frames from the MVdedrain3 to this scripted version? I ask because at least here on my LCD the scripted version is not as sharp and seems to have slightly less detail. Perhaps TTempSmooth is the cause? I'll mess with TTempSmooth settings to tomorrow it is late and I need sleep. The good news is none of the MVdegrain3 missed areas you showed later on in this thread so I like the scripted version better over all I just want to tweak it a little so that TTempSmooth is not so strong (I think TTempSmooth . like I said willl mess with it tomorrow) Thanks Zep |
|
23rd December 2007, 13:06 | #137 | Link |
N00B !
Join Date: Jun 2006
Posts: 223
|
this is what i got when i tried to use Temporal Degrain V1.07 with all the required plugins(latest versions) in the script ( lots of them .. wish they could be autoloaded ) well thing is this is what i have at line 7 of my script LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\HQdn3D.dll") never used this filter ever before .. just saw that it was required by the script and downloaded it of the link which was given in the script itself by Sagekilla .. think there is some incompatibility with it of the filters which i am calling in the script ( P.S : Used to have the same problem until placed the ffw3.dll file in system 32 folder and then it started wrking ) no idea if even this requires a file of such sorts to be placed in that folder ? if so then please help me out |
23rd December 2007, 13:57 | #138 | Link |
N00B !
Join Date: Jun 2006
Posts: 223
|
also getting this even though all the required plugins are there ,,
this is the filter loading part of my script LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\fft3dfilter.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MVtools.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Repair.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\HQdn3D.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\warpsharp.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll") Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpenFaster.avsi") Import("C:\Program Files\AviSynth 2.5\plugins\ylevelsS.avs") Import("C:\Program Files\AviSynth 2.5\plugins\soothe.avs") Import("C:\Program Files\AviSynth 2.5\plugins\Temporal Degrain.avs") ?? |
23rd December 2007, 14:11 | #140 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
MinBlur() is a well-hidden little function. Find it e.g. in the script posted in #61 of this thread.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) Last edited by Didée; 23rd December 2007 at 15:25. |
|
|