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
Zep
12th January 2012, 18:36
So I'm using this filter for an 1080p encode on a low setting and for one it runs at 1 fps and two to fix that 1 fps I tried using MTMode. However when I use MT it encodes the first 8 frames and the rest is black. So can anyone recommend a plugin or something that will allow me to encode at a decent rate, or help me with MT? Here is my script:
Should be SetMTMode(2,8)
if your eight core monster handles it.
Some encoding frontends prefer
Distributor()
at the end of the script.
But for Virtualdub and MeGui this is a NoNo.
And maybe try another decoder...
Which Avisynth MT version?
yeah all good tips from Taurus. I will add get rid of
SetMemoryMax(1024)
the defaults are more than enough. Using 1024 is gonna cause low memory crashes and huge slow down if you are lucky not to crash. For me the 2.6 MT latest build by SET is the best. For me setting the number of cores to the number of REAL cores you have works best. Do you have 8 real cores?
An IP BreAKDoWN
12th January 2012, 19:13
Should be SetMTMode(2,8)
if your eight core monster handles it.
I thought i had to set the speed then the cores as stated here (http://forum.doom9.org/showthread.php?t=148782). And why 2, I thought I have to do 5?
Should be [COLOR="Red"]
Is this your real path?
And maybe try another decoder...
No of course not :P I have a working path. And for the decoder which one would you recommend?
Should be [COLOR="Red"]
Which Avisynth MT version?
2.6 MT (http://forum.doom9.org/showthread.php?t=148782)
I will add get rid of
SetMemoryMax(1024)
the defaults are more than enough. Using 1024 is gonna cause low memory crashes and huge slow down if you are lucky not to crash.
I'm going to comment it out and see what will happen. However I have 16 gigs of RAM and when I encode I barely use 20% total (including all other programs and OS). Should I still leave it out?
For me the 2.6 MT latest build by SET is the best. For me setting the number of cores to the number of REAL cores you have works best. Do you have 8 real cores?
Yes I have a FX8150 that has 8 cores, not threads, nor hyperthreading, 8 cores. That's why I think I should be able to get more encoding time.
Thanks for the quick responses please keep them coming!
Gavino
12th January 2012, 19:32
I thought i had to set the speed then the cores as stated here (http://forum.doom9.org/showthread.php?t=148782). And why 2, I thought I have to do 5?
The first call to SetMTMode is the one that sets the cores (or more exactly, the number of threads to be used). The mode (the first parameter to SetMTMode) should be set to 5 for AVCSource(), then changed to 2 for the other filters, so your script should look like:
##Setting initial mode, and cores##
SetMTMode(5, 8)
##Source Video##
AVCSource("G:\%PATH%\video.dga")
##Setting mode for filters##
SetMTMode(2)
##Decimate for timecodes##
...
Didée
12th January 2012, 20:15
Don't put a frame decimator in an MT-enabled section. The better case is that it pulls the whole thing down to 1-threaded speed. The worse case is that it creates other, more serious problems.
Taurus
12th January 2012, 20:37
Don't put a frame decimator in an MT-enabled section.
I knew there was something wrong :mad:
Could not get in to my head for this.
Maybe clogged synapses on my side.
But Didée is here for the rescue.
Didée
12th January 2012, 20:41
Keep the SetMTmode(5) at the start. (There's a recommendation to use mode=3 instead, but I've had some probs with 3 that I never have with 5)
Put the SetMTmode(2) later in the script, after the Decimate call. I'd try putting it directly before MCTemporalDenoise.
- edit -
Oh, and for a start, try with SetMTmode(5,4) at the beginning. 8 Threads might be too much for MCTD, creating memory problems. 4 threads is much easier to get running.
An IP BreAKDoWN
12th January 2012, 20:46
Don't put a frame decimator in an MT-enabled section. The better case is that it pulls the whole thing down to 1-threaded speed. The worse case is that it creates other, more serious problems.
Makes sense, however I already made the timecodes without the MT. So I deleted it.
Keep the SetMTmode(5) at the start. (There's a recommendation to use mode=3 instead, but I've had some probs with 3 that I never have with 5)
Put the SetMTmode(2) later in the script, after the Decimate call. I'd try putting it directly before MCTemporalDenoise.
So this would be my script: (?)
##Setting Memory (HW has 16 GB)##
#SetMemoryMax(1024)
##Plugins##
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb521VFR1.3_P4-Athlon.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.v1.4.21.avsi")
##Setting Speed##
SetMTMode(5)
##Source Video##
AVCSource("G:\%PATH%\video.dga")
##Crop Before Filters to Reduce Times##
crop(244, 4, -244, -4)
##Some Tweaking##
Spline36Resize(960,720)
##Them Good Ole' Watermarks##
textsub("C:\Program Files (x86)\AviSynth 2.5\plugins\BreAKDoWN.ssa")
##Setting Cores? I have an 8 core processor##
SetMTMode(2)
##Filtering##
MCTemporalDenoise(settings="low")
An IP BreAKDoWN
12th January 2012, 21:02
I tried using that script and if the setting is on low I can queue it, encoding it now. However when I try to queue the same script with the very high setting on the Temp Denoiser it crashes MeGUI when I try to queue it. I wonder why its doing that.
Taurus
12th January 2012, 21:25
I tried using that script and if the setting is on low I can queue it, encoding it now. However when I try to queue the same script with the very high setting on the Temp Denoiser it crashes MeGUI when I try to queue it. I wonder why its doing that.
Are you sure you are using exactly the plugins Lato mentioned in the readme part of his script?
I dont use MCTemporalDenoise but made a little test with it.
Runs rockstable with a Core2duo. About 10fps at SD content with MT enabled.
No, and I dont use MeGui and would never even bother to try the "very high" settings in MCTemporalDenoise.
Leave some dirt in the movie and enjoy the show :p
An IP BreAKDoWN
12th January 2012, 21:50
Are you sure you are using exactly the plugins Lato mentioned in the readme part of his script?
I dont use MCTemporalDenoise but made a little test with it.
Runs rockstable with a Core2duo. About 10fps at SD content with MT enabled.
No, and I dont use MeGui and would never even bother to try the "very high" settings in MCTemporalDenoise.
Leave some dirt in the movie and enjoy the show :p
I have all the plugins and all the other stuff. Just double checked. However I did get this to queue and encode:
##Setting Memory (HW has 16 GB)##
SetMemoryMax(1024)
##Plugins##
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb521VFR1.3_P4-Athlon.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.v1.4.21.avsi")
##Setting Speed##
SetMTMode(5)
##Source Video##
AVCSource("G:\%PATH%\video.dga")
##Decimate for timecodes##
#Decimate(timecodes="G:\%PATH%\timecodes.txt",
#\vfrstats="G:\%PATH%\timecodes.vfrstats")
##Crop Before Filters to Reduce Times##
crop(244, 4, -244, -4)
##Some Tweaking##
Spline36Resize(960,720)
##Them Good Ole' Watermarks##
textsub("C:\Program Files (x86)\AviSynth 2.5\plugins\BreAKDoWN.ssa")
##Setting Cores##
SetMTMode(8)
##Filtering##
MCTemporalDenoise(settings="very high")
but not:
##Setting Memory (HW has 16 GB)##
SetMemoryMax(1024)
##Plugins##
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGAVCDecode.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\gradfun2db.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.v1.4.20.avsi")
##Setting Speed##
SetMTMode(5)
##Loading Original Video##
AVCSource("G:\%PATH%\00012.dga")
##Cropping Before Filter to Reduce Time##
crop(240, 0, -240, -0)
##Them Good Ole' Watermarks##
#textsub("C:\Program Files (x86)\AviSynth 2.5\plugins\breakdown Don't use.ssa")
##Setting Cores##
SetMTMode(8)
##Processing Filters##
MCTemporalDenoise(settings="very high")
Only difference is the length of the video. First one is a 23 minute show, other is a 45 second clip. They are untouched from two separate BDs. Could that be the issue?
Didée
12th January 2012, 22:09
I'm too lazy to make a practical test, AVCsource I haven't used in ages (it's depreciated and buggy, use ffmpegsource (from *.mkv, not from *.m2ts) or DGDecodeNV instead), and MCTemporalDenoise I don't use either.
However, now you have this SetMTmode(8) -thing in the script, again. Concentration please, it should be SetMTmode(2).
'Untouched' can be a dangerous word, btw.
Taurus
12th January 2012, 23:23
There is no SetMTMode(8) as far as I remember.
Maybe just read the Avisynth MT doc's...
Edit: Didée was faster
An IP BreAKDoWN
13th January 2012, 00:12
However, now you have this SetMTmode(8) -thing in the script, again. Concentration please, it should be SetMTmode(2).
Ok I misinterpreted the SetMTMode function, I thought the second was to set the number of cores. Major facepalm. And I wouldn't have to claim the number of again if I change it to SetMTmode(2) would I?
Didée
13th January 2012, 00:46
Yes. The number of threads is defined only by the very first call of setmtmode. Later on, you can change the "mode", but not the number of threads.
Example script.
(1) SetMTmode(5,4)
(2) Mpeg2source("source.d2v")
(3) Filter1()
(4) SetMTmode(2)
(5) Filter2()
(6) return(last)
(1) - Define that the script will use 4 threads for mutlithreading. However, don't actually use multithreading now (mode=5), because source filters usually don't like that
(2) - source filter, using only one thread (we're in "mode=5")
(3) - a processing filter, using only one thread (we're still in "mode=5") - perhaps a GPU-assisted filter, these filters don't like multithreading either
(4) - now switch the multithreading on. It will activate mode=2, and (inherently) use 4 threads (as defined in the very 1st call)
(5) - a processing filter, this one now runs in mode=2, using 4 threads
(6) - end of story, erh, script
If in (4) you would write SetMTmode(2,6) (mode=2, threads=6), then it'll switch to mode 2, but still use only 4 threads (as defined at the beginning)
An IP BreAKDoWN
13th January 2012, 01:33
Ok I really appriciate the help guys alot; however I'm still having problems with this. Here is new modified script that should implement all the suggesting everyone's posted. Here is my script:
##Setting Memory (HW has 16 GB)##
SetMemoryMax(1024)
##Plugins##
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\gradfun2db.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.v1.4.20.avsi")
##Setting Modes And Cores##
#SetMTMode(5,4)
##Loading Original Video##
FFVideoSource("G:\TEST\T1_Video - .mkv", track = -1, cache = true, cachefile = "G:\TEST\T1_Video - .ffindex", fpsnum = -1, fpsden = 1, pp = "", threads = -1, timecodes = "G:\TEST\test timecodes.txt", seekmode = 1, rffmode = 0, width = -1, height = -1, resizer = "BICUBIC", colorspace = "", utf8 = false)
##Cropping Before Filter to Reduce Time##
crop(240, 0, -240, -0)
##Them Good Ole' Watermarks##
#textsub("C:\Program Files (x86)\AviSynth 2.5\plugins\breakdown Don't use.ssa")
##Changing Modes##
SetMTMode(2)
##Processing Filters##
MCTemporalDenoise(settings="very high")
It still crashes MeGUI when I load it into queue (but loads video preview just fine :confused:)
Zep
13th January 2012, 17:02
Keep the SetMTmode(5) at the start. (There's a recommendation to use mode=3 instead, but I've had some probs with 3 that I never have with 5)
Put the SetMTmode(2) later in the script, after the Decimate call. I'd try putting it directly before MCTemporalDenoise.
- edit -
really you have had crashes or some other decimate problem?
I always use 3 and never had a problem. Note i only use 3 cause SET said 3 was better and i only use 3 with HIS Builds.
yeah for sure no decimate at level 2. that always is crash for me i just leave it at 3 and it works fine in the SET builds.
Zep
13th January 2012, 17:20
[QUOTE=An IP BreAKDoWN;1551042
I'm going to comment it out and see what will happen. However I have 16 gigs of RAM and when I encode I barely use 20% total (including all other programs and OS). Should I still leave it out?
[/QUOTE]
how much ram you have access to depends on the OS version and avisynth version you have installed and a few other things. IIRC since SET only makes 32 bit builds the most you have access to is 4 gigs on a 64 bit OS. Even less if the "few other things" are not good to go :D
Zep
13th January 2012, 17:23
Ok I really appriciate the help guys alot; however I'm still having problems with this. Here is new modified script that should implement all the suggesting everyone's posted. Here is my script:
##Setting Memory (HW has 16 GB)##
SetMemoryMax(1024)
##Plugins##
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\gradfun2db.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MCTemporalDenoise.v1.4.20.avsi")
##Setting Modes And Cores##
#SetMTMode(5,4)
##Loading Original Video##
FFVideoSource("G:\TEST\T1_Video - .mkv", track = -1, cache = true, cachefile = "G:\TEST\T1_Video - .ffindex", fpsnum = -1, fpsden = 1, pp = "", threads = -1, timecodes = "G:\TEST\test timecodes.txt", seekmode = 1, rffmode = 0, width = -1, height = -1, resizer = "BICUBIC", colorspace = "", utf8 = false)
##Cropping Before Filter to Reduce Time##
crop(240, 0, -240, -0)
##Them Good Ole' Watermarks##
#textsub("C:\Program Files (x86)\AviSynth 2.5\plugins\breakdown Don't use.ssa")
##Changing Modes##
SetMTMode(2)
##Processing Filters##
MCTemporalDenoise(settings="very high")
It still crashes MeGUI when I load it into queue (but loads video preview just fine :confused:)
because you still have SetMemoryMax(1024) perhaps
Didée
13th January 2012, 17:40
That script doesn't even use multithreading. The initial SetMTmode is #commented, so it doesn't initiate the threading. The later SetMTmode is without effect, since you cannot initiate threading after a video object has been created.
No idea why it's crashing MeGUI, I never use it. (It's not even installed here.) But somehow I feel that "Avisynth script is crashing MeGUI!!!" is a frequent topic. Isn't it?
An IP BreAKDoWN
14th January 2012, 07:38
That script doesn't even use multithreading. The initial SetMTmode is #commented, so it doesn't initiate the threading. The later SetMTmode is without effect, since you cannot initiate threading after a video object has been created.
No idea why it's crashing MeGUI, I never use it. (It's not even installed here.) But somehow I feel that "Avisynth script is crashing MeGUI!!!" is a frequent topic. Isn't it?
Oh ha, that was an old test one. I don't have it commented out now. But I'll post there thanks.
Zep
14th January 2012, 16:57
That script doesn't even use multithreading. The initial SetMTmode is #commented, so it doesn't initiate the threading. The later SetMTmode is without effect, since you cannot initiate threading after a video object has been created.
No idea why it's crashing MeGUI, I never use it. (It's not even installed here.) But somehow I feel that "Avisynth script is crashing MeGUI!!!" is a frequent topic. Isn't it?
haha yeah i didn't notice he commented the MT out. proof that just quickly glancing at code is a bad mojo :D
However, my gut says he pasted bad code as there is no way not to notice MT off CPU wise.
UPDATE: it appears my gut was correct :P
nibus
14th February 2012, 14:53
LaTo - is there any advantage to running TTempSmooth inside MCTD rather than separately? I'd like to tweak the lthresh and cthresh parameters.
torwart
17th February 2012, 20:54
People help.
I want to make working this MCtemporal denoise. I have every plugin and avsi in one folder. my script is there too. when i drop in VD ERROR OCCURS!!!!!! /there is no function ff3dfilter/ I have fft3d system 32. everything is ok. all i need is to run that script. what to do????????????????????????
06_taro
17th February 2012, 21:55
Download: MCTDmod_v1.4.20mod4.2.rar (http://www.nmm-hd.org/upload/get~2CjpwHPhJhk/MCTDmod_v1.4.20mod4.2.rar)
Changelog ( I didn't post modded version in D9, until I see someone needed today. If you need previous versions, find them here (http://j.mp/MF-06_taro) ):
v1.4.20 mod4.2
-- fix documents and code comments of pMode
v1.4.20 mod4.1
-- recalculate motion vectors for the second pass if refine=True
-- recalculate motion masks and motion compensated frames of delta=1 for the second pass properly
-- try to use native MDegrainN when radius > 3, but still keep backward capability with official mvtools2
v1.4.20 mod4
-- rework on pMode's adaptive pre-filter, use [0:255 16:255 75:0 255:0] gradient mask map instead of [0:x bias:255 255:y](x=0 or y=0)
v1.4.20 mod3.8
-- only use the finest hierarchical level for MSuper when capable
-- added "refine" to recalculate super clip for more robust motion estimation
-- added "pMode" to use adaptviely pre-filtered or even range-expanded clip for motion search
-- added negative "sigma" value to use dfttest as a frequency-based adaptive pre-filter
-- separate "limitC" and "limitC2" from "limit" and "limit2" to define different limit value for chroma planes
-- added -2 for limit* to use luma-adaptive auto-limit mode
v1.4.20 mod3.7
-- bug fixes
-- added "ssource" as lsfmod's "source" clip
v1.4.20 mod3.6
-- adjusted merge16_8 usage to latest version of dither package
v1.4.20 mod3.5
-- now accept negative value of post as sigma ( was only used to define whether fixband is used on post-denoise, and must be used with custom "ppnr" )
-- added "useMMask" in MCTD to turn motion mask on/off for sharpen/stabilize/enhance
v1.4.20 mod3.4
-- fully supported Y/U/V in -65535~5 of MCPP_merge16_8, although MCTD_PP only needs value of 1/3
v1.4.20 mod3.3
-- added "stF" to allow custom stabilizing filter
v1.4.20 mod3.2
-- made lthresh/cthresh changeable
v1.4.20 mod3.1
-- added "useMMask" in MCTD_PP to turn motion mask on/off for sharpen/stabilize/enhance
-- changed the type of "sigma" from int to float
v1.4.20 mod3
-- fixed scene change frames not being filtered correctly with sharp/stabilize/enhance
-- added "pp" in MCTD to turn all post-processing in MCTD_PP off
-- supported stacked 16-bit output for custom "dbF" ( mainly implemented by SAPikachu )
v1.4.20 mod2
-- removed deblock mod16 warnings when deblock=true, pad and crop internally
-- updated Deblock_QED with custom bug fix
v1.4.20 mod
-- added "p1nr", "p2nr", "ppnr", "shF", "aaF", "dbF" to allow custom filters
Requirements pack(packed some days ago, should contained all the plugins/scripts, but I didn't check. MCTD uses some functions in other scripts, and I was not sure if I had splitted all these funcions out):
MCTDmod_Requirements.7z (http://www.nmm-hd.org/upload/get~QWy1xdGiHi0/MCTDmod_Requirements.7z)(edit: Dither package in requirements pack hasn't been updated, you need to manually update it to v1.15.0 or above)
Taurus
17th February 2012, 22:27
I have fft3d system 32. everything is ok
No, you have to put FFTW3.DLL in system32.
fft3dfilter.dll -> avisynth\plugins folder.
Please read the readme's and/or the html:
http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
Good luck.
MCTD is a little bastard, I won't use it:p:D
nibus
18th February 2012, 04:23
MCTD v1.4.20 mod 3.2
Download: MCTDmod_v1.4.20mod3.2.rar (http://www.nmm-hd.org/upload/get~jiGTwAFhlUE/MCTDmod_v1.4.20mod3.2.rar)
Changelog ( I didn't post modded version in D9, until I see someone needed today. If you need previous version, find it here (http://j.mp/MF-06_taro) ):
Thanks taro, I'll give your mod a shot. :cool:
torwart
18th February 2012, 08:57
Sorry. Ofcourse I have fftw3.dll in system 32 and the fft3dfilter.dll in plugins.........
StainlessS
18th February 2012, 13:10
People help.
I want to make working this MCtemporal denoise. I have every plugin and avsi in one folder. my script is there too. when i drop in VD ERROR OCCURS!!!!!! /there is no function ff3dfilter/ I have fft3d system 32. everything is ok. all i need is to run that script. what to do????????????????????????
FFT3DFilter. (EDIT: If that's not too obvious)
canuckerfan
5th March 2012, 05:44
MCTD v1.4.20 mod 3.3
Download: MCTDmod_v1.4.20mod3.3.rar (http://www.nmm-hd.org/upload/get~o_ydt3aaV00/MCTDmod_v1.4.20mod3.3.rar)
Changelog ( I didn't post modded version in D9, until I see someone needed today. If you need previous version, find it here (http://j.mp/MF-06_taro) ):
Requirements pack(packed some days ago, should contained all the plugins/scripts, but I didn't check. MCTD uses some functions in other scripts, and I was not sure if I had splitted all these funcions out):
MCTDmod_Requirements.7z (http://www.nmm-hd.org/upload/get~QWy1xdGiHi0/MCTDmod_Requirements.7z)
Those are some interesting modifications. How would I combine MCTDmod with the Dither package to perform post dithering on a clip?
Edit: Can MCTDmod output 16-bit like the modified dfttest can in the dither package?
06_taro
5th March 2012, 07:28
Example:
MCTD(enhance=true, dbF="GradFun3(lsb=true)")
In this way, output is stacked 16-bit.
Actually both stabilize and enhance period accept 16-bit process ( they share the same mask/merge ):
MCTD(stabilize=true, stF="dfttest(lsb=true)",
\ enhance=true, dbF="GradFun3(lsb=true, lsb_in=true)")
But be careful that if stabilize period outputs 16-bit clip, enhance filter should be able to accept 16-bit input.
And you can use MCTD(enhance=true, dbF="""dfttest(lsb=true).GradFun3(lsb=true, lsb_in=true)""") to do the same thing.
lansing
26th March 2012, 19:50
can MCTD be multithreaded? I'm currently trying to run it on my 100 minutes bluray anime movie, and it's going to take like 30 hours on my AMD 4 core, while only with 35% cpu usage. Is there a way to utilize all the cores?
rm2kpro
28th June 2012, 04:33
I am also interested in running MCTDMod with multiple threads. Can someone share their experience?
Yellow_
28th June 2012, 13:43
I'm running MCTD mod16 version with 2.58 32bit Avisynth vanilla on a dual Xeons with 2GB RAM (2 sticks are stuffed) on 64bit Linux via Wine and get 85% CPU usage on both processors and both virtual processors.
Not sure if that helps but I had thought on Windows you'd get all cores being used even with non MT version.
rm2kpro
28th June 2012, 23:39
I'm on 64-bit Windows 8. Vanilla 32-bit Avisynth 2.6 did not make MTCDmod use all my cores.
I later installed Avisynth 2.6 MT 2012.05.16 (http://forum.doom9.org/showthread.php?t=148782) and used Setmtmode(2). It works problem-free while using all my cores and providing a very nice speedup. That was simpler than I thought.
Though pipeling to x264 64-bit does no longer work. I have to use x264 32-bit instead.
Edit: I did one step too much. Just using Avisynth 2.6 MT is enough. Setmtmode is apparently not needed when the filters have built-in threading.
Now, pipelining works again.
lauguru
30th August 2012, 21:57
hello
someone could tell me, how to use the avs denoise filter and grain reduction.
Commands that must be put? in bdrebuilder
http://subir.cc/images/sinttugog.jpg
To do this:
http://latoninf.free.fr/d9/MCTD/300_0SRC.png http://latoninf.free.fr/d9/MCTD/300_3MCTDveryhigh.png
Required Filters:
http://avisynth.org/mediawiki/MCTemporalDenoise
Note: You do not necessarily need all of these filters for this script to function for you. There are special modes that enable the use of specific filters at specific times, but these are only used when necessary. Just to be safe, make sure you have all of the filters listed below in you "Plugins" folder.
MVTools (v2.5.10) http://avisynth.org.ru/mvtools/mvtools2.html#download
MaskTools (v2.0a43) http://manao4.free.fr/masktools-v2.0a48.zip
LSFmod (v1.9) http://avisynth.org/mediawiki/LSFmod
FFT3Dgpu (v0.8.2.7) or FFT3Dfilter (v2.1.1) http://avisynth.org.ru/fft3dfilter/fft3dfilter.html
TTempsmooth (v0.9.4) http://avisynth.org.ru/docs/english/externalfilters/ttempSmooth.htm
RemoveGrain + Repair (v1.0PR) http://home.arcor.de/kassandro/prerelease/RemoveGrain-1.0.rar
Deblock (v1.2) http://avisynth.org/mediawiki/DeBlock
Deblock_QED (25.may.2010) http://avisynth.org/mediawiki/Deblock_QED
DctFilter (v0.0.1.4) http://avisynth.org/mediawiki/DCTFilter
EEDI2 (v0.9.2) http://web.missouri.edu/~kes25c/EEDI2v092.zip
SangNom (v1.0beta) http://avisynth.org/mediawiki/SangNom
GradFun2DBmod (v1.5) http://avisynth.org/mediawiki/GradFun2DBmod
GradFun2db (v1.0) http://forum.doom9.org/showthread.php?t=108681
AddGrainC (v1.5) http://forum.doom9.org/showthread.php?t=111849
All-in-one installer beta: http://www.sendspace.com/file/1gggec
Thanks in advance for the help
zerowalker
2nd September 2012, 10:34
I get error about "ssource" with MCTD, it doesn´t know what it is:(
zerowalker
8th September 2012, 20:21
can´t anyone help me get MCTDmod to work please;S?
I don´t know what to do:(
I only get the error that it doesn´t know the command "ssource"
cobo
9th September 2012, 01:59
Look and find where in your script that "source" is mis-spelled as "ssource" and correct it by deleting the extra "s".
lauguru
9th September 2012, 09:21
could put a complete example of how to write the script, to remove grain?
I do not always load them I get error.
MCTemporalDenoise(settings="very high") ???
zerowalker
9th September 2012, 11:44
I don´t think, source is misspelled, it´s in the code of MCTD, something with lsfmod (i got that plugin;S).
I don´t know what to do, i downloaded the MCTD along with the requirements.
x265
6th February 2013, 18:35
is it safe to use settings="high" for animated DVD Footage?
Screenshot:
http://img687.imageshack.us/img687/3527/newfile016458.png
http://img40.imageshack.us/img40/2209/newfile007745ca.png
sinz718
12th February 2013, 01:43
If you don't mind detail loss sure it's fine.
If you want to remove only the noise you have to use specific settings.
^which would mean learn about the whole filter and what each settings do, I.E. trial and error.
Best with trial and error, also each script that works for one animated source WILL most likely NOT work with another.
x265
12th February 2013, 09:14
Won't there be anymore updates for this filter?
Mystery Keeper
12th February 2013, 14:32
Won't there be anymore updates for this filter?What kind of update do you need?
Poutnik
13th February 2013, 08:16
Won't there be anymore updates for this filter?
Sometimes there are no updates, as it is considered there is no need for updates. Solution has reached mature phase and the author is focusing to other things.
I agree some users can perceive it as possibly bad thing, like what if it is abandoned ?
Tempter57
14th February 2013, 10:43
Won't there be anymore updates for this filter?
MCTDmod_v1.4.20mod4.2 (http://www.nmm-hd.org/newbbs/viewtopic.php?f=7&t=475)
tartak
14th April 2013, 07:35
What kind of update do you need?
A real update would be to make MCTD compatible with avisynth 2.6, all the planar formats. It would work then with YUY2, which would be great for squeezing the maximum information from all those NTSC DV tapes (alas, we need to downsample 4:1:1 to YV12 now)
Mystery Keeper
14th April 2013, 10:41
A real update would be to make MCTD compatible with avisynth 2.6, all the planar formats. It would work then with YUY2, which would be great for squeezing the maximum information from all those NTSC DV tapes (alas, we need to downsample 4:1:1 to YV12 now)'Tis not up to the script at all. The plugins it uses are what need to be updated.
tartak
14th April 2013, 17:04
'Tis not up to the script at all. The plugins it uses are what need to be updated.
Many of the key plugins are fine already. MVTools, MaskTools, RemoveGrain/Repair, deblock, eedi, fft3d, GradFun2db... And some are probably fine with YUY2 at least.
The script could sure do a few things on its own with Planar2Interleaved/Interleaved2Planar funcs, like in QTGMC. Say, scripts Deblock_QED and GradFun2DBmod look like they can be updated that way. Not sure about LSFmod. Updating the rest of the plugins is a lot of work, perhaps they could be replaced with something similar?
TankTreads
16th June 2013, 17:27
May someone please do me a favor and incorporate MP_Pipeline (http://forum.doom9.org/showthread.php?t=163281) into the latest MCTDmod?
I am bottlenecking on a single core; MT() looks bad in high motion scenes, and I cannot guarantee that the individual strips are MOD4; I could never get setMTmode() to work on any reasonable setting I use. MP_pipeline is pretty stable, and I'm already using it. I would incorporate it directly into MCTDmod, but it's just too much code.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.