View Full Version : MCTemporalDenoise [v1.4.20 - Update 2010/07/02]
Pages :
1
2
3
4
5
[
6]
7
8
9
10
11
12
13
14
15
16
17
18
19
LaTo
21st December 2009, 07:49
downloaded dfttest and dehalo_alpha, i put dfttest in the plugins folder and libfftw3f-3.dll in the systems folder (actually in SysWOW64 as i am using Win7 64bit), and while i thought it was about to work, i am getting an error message saying "there is no named fucntion called 'expand'". Ive done everything correctly and i cant even find any function (after a quick search) called 'expand'. What could i be doing wrong with time? :(
You need all these functions:
### /!\ Needed filters: MVTools (v2.4.7 or v2.5.5), Masktools (v2.0a36),
### ------------------- LSFmod (v1.9), FFT3Dgpu (v0.8.2.7) or FFT3Dfilter (v2.1.1),
### TTempsmooth (v0.9.4), Removegrain + Repair (v1.0PR),
### Deblock (v1.2), Deblock_QED (18.aug.2008),
### EEDI2 (v0.9.2), Sangnom (v1.0beta),
### GradFun2DBmod (v1.3), Gradfun2db (v1.0), AddgrainC (v1.4).
:devil:
Undead Sega
21st December 2009, 16:49
well this is what ive got in my script:
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\MT=true - MVTools_V1.9.7.7\Intel10-Core2-SSE3\mvTools.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\mvtools-v2.4.7\mvtools2.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\RemoveGrain-1.0\RemoveGrainSSE3.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\RemoveGrain-1.0\RepairSSE3.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\masktools-v2.0a35\mt_masktools-25.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\masktools-v2.0a35\mt_masktools-26.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\nnedi2\nnedi2.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\fft3dgpu0.8.2\FFT3dGPU.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\fft3dfilter211\FFT3DFilter.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\TTempSmooth\TTempSmooth.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\deblock12\deblock.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\EEDI2v092 multithreaded\EEDI2_imp.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\sangnom_25_dll_20040118\SangNom.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\gradfun2db\gradfun2db.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\DctFilter\DctFilter.dll")
LoadPlugin("C:\Downloads\VirtualDub-1.8.6\Requirements\dfttest\dfttest.dll")
Import("C:\Downloads\VirtualDub-1.8.6\Requirements\Deblock_QED.avsi")
Import("C:\Downloads\VirtualDub-1.8.6\Requirements\LSFmod.v1.9.avsi")
Import("C:\Downloads\VirtualDub-1.8.6\MCTemporalDenoise.v1.3.09.avsi")
Import("C:\Downloads\VirtualDub-1.8.6\EdgeCleaner.avsi")
Import("C:\Downloads\VirtualDub-1.8.6\Dehalo_Alpha.avsi")
im pretty sure i have all the required functions dont i?
Undead Sega
21st December 2009, 16:52
hold on lads, i got it working! :D
owais
18th January 2010, 22:24
hmm.. i want to ask one thing that if i turn on edgecleaner then i hav to add other parametes related like ECrad, ECthr, ECmode ??
for eg: MCTemporalDenoise(settings="low", edgeclean=true) is it correct ?
AND
i was seeing parameters (http://avisynth.org/mediawiki/MCTemporalDenoise#Parameters) from here
first section is of denoising my source has no noise but is blocky so should i use denoise ?
how to completely turn off denoise parameters if i want?
LaTo
19th January 2010, 07:43
hmm.. i want to ask one thing that if i turn on edgecleaner then i hav to add other parametes related like ECrad, ECthr, ECmode ??
for eg: MCTemporalDenoise(settings="low", edgeclean=true) is it correct ?
Yes, you don't need to add other parameters...
i was seeing parameters (http://avisynth.org/mediawiki/MCTemporalDenoise#Parameters) from here
first section is of denoising my source has no noise but is blocky so should i use denoise ?
how to completely turn off denoise parameters if i want?
Mediawiki is a bit outdated for MCTD, look at the readme in the .avsi script
You can't turn off denoising in MCTemporalDenoise, but you should look at MCTemporalDenoisePP (it's the post-processor of MCTD)
owais
19th January 2010, 17:41
You can't turn off denoising in MCTemporalDenoise, but you should look at MCTemporalDenoisePP (it's the post-processor of MCTD)
Got it thnx
owais
20th January 2010, 04:04
I was reading .avsi, in Parameters section there were heading of |BLOCKSIZE/OVERLAP| |FFT3D| |MVTOOLS| what are they for ? (this is my first time using filters in avisynth :o) cause i m also goin to use MCTemporalDenoisePP
what i think here is also denoising...
and am i right that noise in video is tiny dots dancing around? (what i observed from ur 300's screenshots)
owais
21st January 2010, 23:39
ok just tell me what are the funtions of |BLOCKSIZE/OVERLAP| |FFT3D| |MVTOOLS| parameters
i mean what does they doo?
thetoof
22nd January 2010, 01:52
In a nutshell :
mvtools estimates motion by comparing blocks of frame for subsequent frames and calculating SAD (sum of absolute differences) between those blocks
blocksize is the size of these blocks, overlap the overlap of the blocks and so forth (gotta luuuve these blocks)
For more info you should really read the mvtools2 docs
fft3d is (I guess) the strength of the prefiltering.
Since you are not (yet) an advanced user, I'd recommend stick to the presets/defaults and lurk around to learn how to identify problems and appropriate filters. There's a thread floating around about "what are the up-to-date most recommended filters people use" or something...
Great Dragon
22nd January 2010, 11:34
Hi
I've noticed that some frames are not processed with MCTD. I think it's because there is completely no movement.
Here is a sample video
http://rapidshare.com/files/339223519/sample.demuxed.m2v
And 2 screens with "problem" frames.
http://thumbnails25.imagebam.com/6481/06bc6464801633.gif (http://www.imagebam.com/image/06bc6464801633) http://thumbnails25.imagebam.com/6481/cc4f6b64801634.gif (http://www.imagebam.com/image/cc4f6b64801634)
Script i've used:
DGDecode_mpeg2source("e:\_berserk\10.d2v", info=3).ColorMatrix(hints=true, threads=0)
AnimeIVTC(mode=1, aa=3)
orig=last
temp=orig.TemporalSoften(7,255,255,25,2)
rep=Repair(temp,orig,mode=16).TemporalSoften(1,255,255,25,2)
source=Interleave(rep,orig,rep)
mdata=DePanEstimate(source, range=1, trust=0, dxmax=1, dymax=1)
DePan(source, data=mdata, offset=1)
SelectEvery(3,2)
MCTemporalDenoise(settings="high", sigma=4, twopass=true, stabilize=true, gpu=true, flat=true, edgeclean=true, truemotion=true, AGstr=0.0, /
GFthr=1.0, ECrad=6, ECthr=16, ECmode="dfttest().dehalo_alpha()", SHmode=5, Tovershoot=0)
HQDn3D(2,1.5,3,2.25)
LSFmod(defaults="slow")
owais
22nd January 2010, 17:23
In a nutshell :
mvtools estimates motion by comparing blocks of frame for subsequent frames and calculating SAD (sum of absolute differences) between those blocks
blocksize is the size of these blocks, overlap the overlap of the blocks and so forth (gotta luuuve these blocks)
For more info you should really read the mvtools2 docs
fft3d is (I guess) the strength of the prefiltering.
Since you are not (yet) an advanced user, I'd recommend stick to the presets/defaults and lurk around to learn how to identify problems and appropriate filters. There's a thread floating around about "what are the up-to-date most recommended filters people use" or something...
:thanks: , i will research more
owais
23rd January 2010, 22:40
i was reading .avsi and i saw that in "very high" there is no deblocking, i mean that both deblock and qed are false ,so i m confused :confused: if yes then why?
zilog jones
27th January 2010, 00:43
There's no deblocking in any presets, so why should there be for "very high"? Personally, I use the filter VHS transfers so generally have no need for deblocking.
LaTo
27th January 2010, 17:26
i was reading .avsi and i saw that in "very high" there is no deblocking, i mean that both deblock and qed are false ,so i m confused :confused: if yes then why?
Protect, AA, Deblock and Edgeclean are OFF by default in every presets... It's because these functions depend on the source used.
But, the effect will be stronger in high preset than in low preset :)
Korben
27th January 2010, 20:13
Hi Lato,
how can I force some of the parameter when I am using predefided settings.
For example:
MCTemporalDenoise(settings="very high", chroma = true, twopass = true, radius = 12)
Is it/this possible?
Regards
Boulder
27th January 2010, 20:57
Yes, it is possible. I do it all the time.
Korben
27th January 2010, 21:28
Ok. thanks..
LaTo
28th January 2010, 09:11
v1.4.00 :
fixed bug with maxdiff=0
fixed speed issue in MCTemporalDenoisePP (+20%)
added "deblock" to MCTemporalDenoisePP
changed "flat" to "enhance"
cleaned and optimized all the code
changed some settings
updated documentation
:devil:
rkalwaitis
28th January 2010, 09:20
Thanks
kool
28th January 2010, 11:56
For example if I don't want to use any function from MCTemporalDenoise, I have to add =false to it like "sharp=false" ?
LaTo
28th January 2010, 12:23
For example if I don't want to use any function from MCTemporalDenoise, I have to add =false to it like "sharp=false" ?
yes of course
elguaxo
28th January 2010, 16:42
LaTo, I just upgraded to v1.4.00. I have all your filters as .AVS (not .avsi) and I import them when needed.
Right now I'm importing just MCTemporalDenoise.v1.4.00.avs and I call it with these options:
MCTemporalDenoise(settings="low",GPU=false,sigma=2,ncpu=2,enhance=false,sharp=false)
In your previous versions when sharp=false there was no need to import LSFmod, but now I get this:
http://i50.tinypic.com/2j0oap5.png
Should I import it even when using sharp=false, or is there something wrong?
TIA! :)
LaTo
28th January 2010, 17:26
LaTo, I just upgraded to v1.4.00. I have all your filters as .AVS (not .avsi) and I import them when needed.
Right now I'm importing just MCTemporalDenoise.v1.4.00.avs and I call it with these options:
MCTemporalDenoise(settings="low",GPU=false,sigma=2,ncpu=2,enhance=false,sharp=false)
In your previous versions when sharp=false there was no need to import LSFmod, but now I get this:
http://i50.tinypic.com/2j0oap5.png
Should I import it even when using sharp=false, or is there something wrong?
TIA! :)
It's okay... Yes you should import it ;)
elguaxo
28th January 2010, 18:08
It's okay... Yes you should import it ;)
Great! Thanks for your quick answer.
LaTo
28th January 2010, 18:18
v1.4.07 :
improved masking in PP-stage
cleaned code (cosmetic)
:p
mozzle
29th January 2010, 06:19
Thanks for the continued work, Lato! Much appreciated. :)
Yobbo
29th January 2010, 22:18
I am finding that MCTD v1.4.07 is crashing avisynth. If I remove the .avsi from my plugins folder, avisynth works again.
(BTW it crashes even if I'm not calling MCTD in my script!?)
(I am using AvsP)
LaTo
30th January 2010, 08:16
I am finding that MCTD v1.4.07 is crashing avisynth. If I remove the .avsi from my plugins folder, avisynth works again.
(BTW it crashes even if I'm not calling MCTD in my script!?)
(I am using AvsP)
Crash only in Avsp?
Great Dragon
30th January 2010, 09:15
Guys, what about "no movement scenes issue" i've posted (http://forum.doom9.org/showpost.php?p=1366562&postcount=260) before? Any ideas how to fix it? I understand that MCTD it's a temporal denoiser and not a spatial but anyway.
I don't have such problem before and now i have 2 cartoons with it. Movies looks fine.
LaTo
30th January 2010, 10:07
Guys, what about "no movement scenes issue" i've posted (http://forum.doom9.org/showpost.php?p=1366562&postcount=260) before? Any ideas how to fix it? I understand that MCTD it's a temporal denoiser and not a spatial but anyway.
I don't have such problem before and now i have 2 cartoons with it. Movies looks fine.
This scene is a repetition of the same frame with the "same grain" (the grain is fixed, not moving in this scene)...
For these scenes, you need to use a spatial denoiser "fft3dfilter(bt=1)" or try with "post=xx" in MCTD
Poutnik
30th January 2010, 10:33
I have tried MCTemporatDenoise for first time. (v1.4.07)
I was afraid about crashes and missing filters, but it seems running OK, even with GPU=true and in MT().
but I have noticed something strange. I have tried Deblock=true and it complained about missing DCTFilter ( not mentioned in dependencies ) - I added it.
Then it complained about not being MOD16 clip.
Avisynth open failure: This is not a MOD16 clip! Please use crop() or addborders() before using MCTemporalDenoisePP() with deblock=true
(m:\wfwa\scripts\MCTemporalDenoise.avsi, line 948)
(m:\wfwa\scripts\MCTemporalDenoise.avsi, line 1077)
The problem is the clip IS MOD16, being PAL 720*576. Even VirtualDub with loaded main AVS shows 720*576.
The same if MT was removed ( but even MTed the clip should remain MOD16).
Edit: Well MT() was not the best idea for MC, was it ? :-)
LaTo
30th January 2010, 10:35
I have tried MCTemporatDenoise for first time.
I was afraid about crashes and missing filters, but it seems running OK, even with GPU=true and in MT().
but I have noticed something strange. I have tried Deblock=true and it complained about missing DCTFilter ( not mentioned in dependencies ) - I added it.
Then it complained about not being MOD16 clip.
Avisynth open failure: This is not a MOD16 clip! Please use crop() or addborders() before using MCTemporalDenoisePP() with deblock=true
(m:\wfwa\scripts\MCTemporalDenoise.avsi, line 948)
(m:\wfwa\scripts\MCTemporalDenoise.avsi, line 1077)
The problem is the clip IS MOD16, being PAL 720*576.
The same if MT was removed ( but even MTed the clip should remain MOD16).
Found the bug, i will fix that... Thanks! ;)
edit: done
LaTo
30th January 2010, 10:50
v1.4.08
fixed MOD16 warning when deblock=true
Poutnik
30th January 2010, 10:57
Being late with editing of previous post:
I have read for mpg2 sources it is recommended using deblocking of MPEG2source(cpu=4 or 6), said being in some way adaptive in contrary to BlindPP() or Deblock().
How compares this with MCTD deblocking ( Deblock + Deblock QED) ?
LaTo
30th January 2010, 11:06
Being late with editing of previous post:
I have read for mpg2 sources it is recommended using deblocking of MPEG2source(cpu=4 or 6), said being in some way adaptive in contrary to BlindPP() or Deblock().
How compares this with MCTD deblocking ( Deblock + Deblock QED) ?
MCTD deblocking is a simple call to Deblock or Deblock_QED...
But using it inside of MCTD helps to retain more details than using it outside, try and pick the best for you ;)
Yobbo
30th January 2010, 19:14
Crash only in Avsp?
AvsP and MPC-HC.
v1.4.08 doesn't crash it now, but I get "Script error: there is no function named MCTemporalDenoise".
Any idea what is going on? Everything was working fine until I upgraded to 1.4.07.
LaTo
30th January 2010, 20:37
AvsP and MPC-HC.
v1.4.08 doesn't crash it now, but I get "Script error: there is no function named MCTemporalDenoise".
Any idea what is going on? Everything was working fine until I upgraded to 1.4.07.
It's a problem on your side, try to reinstall avisynth and/or clean your plugins folder...
Yobbo
31st January 2010, 04:17
I've done that, LaTo. Reinstalled avisynth, also cleaned out plugins folder and added things back one by one. Added all the correct MCTD dependencies, but as soon as I add the MCTD.avsi I hit problems.
As I said, 1.4.07 crashed avisynth. 1.4.08 doesn't bomb out however I get the "there is no function blah blah" message.
I have no idea what's up!?
Can I possibly get access to a pre-1.4.07 MCTD to see if that works?
LaTo
31st January 2010, 08:26
I've done that, LaTo. Reinstalled avisynth, also cleaned out plugins folder and added things back one by one. Added all the correct MCTD dependencies, but as soon as I add the MCTD.avsi I hit problems.
As I said, 1.4.07 crashed avisynth. 1.4.08 doesn't bomb out however I get the "there is no function blah blah" message.
I have no idea what's up!?
Can I possibly get access to a pre-1.4.07 MCTD to see if that works?
Please, give me a list of files in your plugins folder.
And, you have installed MT avisynth or avisynth?
Yobbo
31st January 2010, 08:56
AddGrainC.dll
DctFilter.dll
deblock.dll
Deblock_QED.avsi
EEDI2.dll
ffms2.dll
ffmsindex.exe
FFT3DFilter.dll
gradfun2db.dll
GradFun2DBmod.avsi
LSFMod.avsi
MCTemporalDenoise.avsi
mt_masktools-26.dll
mvtools2.dll
RemoveGrainSSE2.dll
Repair.dll
SangNom.dll
TTempSmooth.dll
I have Avisynth 2.60 Alpha 2 (not MT)?
LaTo
31st January 2010, 09:16
Why do you use v2.60 alpha 2 ? It's a development version, so just for testing...
Try with v2.5.8 please.
Yobbo
31st January 2010, 10:38
LaTo, I'm so sorry for wasting your time. Everything's working now. I stuffed up with selecting all your script and saving it. I'm a klutz.
Thanks for your ongoing development with this!
gigantibyte
1st February 2010, 05:04
I was using RemoveNoiseMC with LimitedSharpenFaster, but wasn't getting the best results. Tried MCTemporalDenoise() (with no parameters) and was very impressed! It took a bit of setup to get all the plugins and scripts required, but it was well worth it. Your work on this filter is appreciated.
mozzle
2nd February 2010, 20:27
I am getting the following error in MeGUI with 1.4.08:
AviSynth script error:
'mode' have not a correct value! [1,2,3]
(GradFun2dBmod.v.1.5.avsi, line 175)
(MCTemporalDenoise.v.1.4.08.avsi, line 1061)
(MCTemporalDenoise.v.1.4.08.avsi, line 1079)
(C:\PATH TO AVS SCRIPT)
My script:
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Documents and Settings\My Documents\VID\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
crop( 0, 62, 0, -66)
MCTemporalDenoise(settings="very low", chroma=true)
I am using MeGUI 0.3.3.2 and Avisynth 2.5.8
Running Windows XP SP3 / Intel Core2 Quad 6600 2.4Ghz / 3.2 GB RAM / Nvidia GEForce 8600GTS
Any help would be appreciated. :thanks:
LaTo
2nd February 2010, 20:57
I am getting the following error in MeGUI with 1.4.08:
My script:
I am using MeGUI 0.3.3.2 and Avisynth 2.5.8
Running Windows XP SP3 / Intel Core2 Quad 6600 2.4Ghz / 3.2 GB RAM / Nvidia GEForce 8600GTS
Any help would be appreciated. :thanks:
Re-download GradFun2DBmod v1.5! (here (http://forum.doom9.org/showthread.php?p=1358005#post1358005))
mozzle
2nd February 2010, 21:17
Re-download GradFun2DBmod v1.5! (here (http://forum.doom9.org/showthread.php?p=1358005#post1358005))
That did the trick!
:thanks:
Emulgator
6th February 2010, 14:18
Many, many thanks to LaTo for a great script !
Boulder
7th February 2010, 22:59
Are the older versions available somewhere? I'd like to test versions from v1.3.0.0 on to see whether my odd x264 crashes are due to MCTD. It is pretty much the only thing that I have changed recently and debugging x264 pointed the error to be related to Avisynth.
crasus
8th February 2010, 02:23
What's the proper way of using MT with MCTemporalDenoise? (tsp's dll or MT avisynth 2.5.8 / mode 2 or 3 etc.)
My line :
MCTemporalDenoise(settings="very high", twopass=false, useTTmpSm=true, gpu=true, sharp=false, adapt=false, deblock=true)
Thanks! :)
LaTo
8th February 2010, 07:31
Are the older versions available somewhere? I'd like to test versions from v1.3.0.0 on to see whether my odd x264 crashes are due to MCTD. It is pretty much the only thing that I have changed recently and debugging x264 pointed the error to be related to Avisynth.
Here v1.3.09 (http://latoninf.free.fr/d9/MCTD/MCTemporalDenoise.v1.3.09.avsi) ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.