Avisynth MT (for multiple cores, and its fucking awesome!)
- Sereenie
- Joined: Sat Jun 28, 2003 8:11 pm
- Location: The City Fun Forgot
Yes, but my point was, how do you know whether or not a filter works? Sure, you can try them all one by one, but that will be quite time-consuming. Thus, my question wondering if documentation would (should?) specify that the filter works on all the image.Pwolf wrote:well you can do something like
enable MT
run filter that works
disable MT
run filter that doesn't
enable MT
run filter that works
change MT mode
run filter that works better in this mode
disable MT
S.
- Pwolf
- Friendly Neighborhood Pwaffle
- Joined: Thu May 03, 2001 4:17 pm
- Location: Some where in California, I forgot :\
- Contact:
that i don't know and from what i do know, there is no documentation of what works and doesn't. When i do my testing i'll be documenting what works with what modes.Sereenie wrote:Yes, but my point was, how do you know whether or not a filter works? Sure, you can try them all one by one, but that will be quite time-consuming. Thus, my question wondering if documentation would (should?) specify that the filter works on all the image.Pwolf wrote:well you can do something like
enable MT
run filter that works
disable MT
run filter that doesn't
enable MT
run filter that works
change MT mode
run filter that works better in this mode
disable MT
S.
So far decimate() works... very well
Pwolf
- Ayanefan
- Joined: Mon Oct 24, 2005 10:17 am
- Ayanefan
- Joined: Mon Oct 24, 2005 10:17 am
I managed to get 7-8fps with this script! It used to be 3fps.
An 800mb +/- 20mb was done in 2 minutes!!!
SetMTMode(2)
MPEG2Source("C:\AMV_Project\FireFight\VOBs\K_S_Vol1\K_S_Vol1.d2v", cpu=6)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll")
TFM().TDecimate(mode=1)
MT("""Deen("a3d",4,10,12).TFM().TDecimate(mode=1).vmToon(strength=164).Crop(8,0,-8,-0).UnDot().Tweak(cont=1.1,sat=1.05,bright=0, hue=.2).TemporalSoften(4,4,8,15,2)""")
An 800mb +/- 20mb was done in 2 minutes!!!
SetMTMode(2)
MPEG2Source("C:\AMV_Project\FireFight\VOBs\K_S_Vol1\K_S_Vol1.d2v", cpu=6)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll")
TFM().TDecimate(mode=1)
MT("""Deen("a3d",4,10,12).TFM().TDecimate(mode=1).vmToon(strength=164).Crop(8,0,-8,-0).UnDot().Tweak(cont=1.1,sat=1.05,bright=0, hue=.2).TemporalSoften(4,4,8,15,2)""")
- Ayanefan
- Joined: Mon Oct 24, 2005 10:17 am
Woops! Made a mistake with the TFM(), I've got it in twice.ayanefan wrote:I managed to get 7-8fps with this script! It used to be 3fps.
An 800mb +/- 20mb was done in 2 minutes!!!
SetMTMode(2)
MPEG2Source("C:\AMV_Project\FireFight\VOBs\K_S_Vol1\K_S_Vol1.d2v", cpu=6)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll")
TFM().TDecimate(mode=1)
MT("""Deen("a3d",4,10,12).TFM().TDecimate(mode=1).vmToon(strength=164).Crop(8,0,-8,-0).UnDot().Tweak(cont=1.1,sat=1.05,bright=0, hue=.2).TemporalSoften(4,4,8,15,2)""")
There, 946.51mb of uncompressed output took- 2:37.
At approx 7 or 8 fps.
- Ayanefan
- Joined: Mon Oct 24, 2005 10:17 am
This test, without MP()
MPEG2Source("C:\AMV_Project\FireFight\VOBs\K_S_Vol1\K_S_Vol1.d2v", cpu=6)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll")
Deen("a3d",4,10,12).TFM().TDecimate(mode=1).vmToon(strength=164).Crop(8,0,-8,-0).UnDot().Tweak(cont=1.1,sat=1.05,bright=0, hue=.2).TemporalSoften(4,4,8,15,2)
3-4fps , 4:52.
946.51mb
MT is AWSOME!
MPEG2Source("C:\AMV_Project\FireFight\VOBs\K_S_Vol1\K_S_Vol1.d2v", cpu=6)
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth.dll")
Deen("a3d",4,10,12).TFM().TDecimate(mode=1).vmToon(strength=164).Crop(8,0,-8,-0).UnDot().Tweak(cont=1.1,sat=1.05,bright=0, hue=.2).TemporalSoften(4,4,8,15,2)
3-4fps , 4:52.
946.51mb
MT is AWSOME!
- Ayanefan
- Joined: Mon Oct 24, 2005 10:17 am
I've tried different SetMTmodes 1-6, they all took the filters but didn't make much of a speed difference in the processing. Only Mode 1 made a slight difference, going up to 9 fps once in a while, but only made about 5 seconds difference.
I'd stick to mode 2 because it goes frame by frame rather than 1/2 frames.
I'd stick to mode 2 because it goes frame by frame rather than 1/2 frames.
- BasharOfTheAges
- Just zis guy, you know?
- Joined: Tue Sep 14, 2004 11:32 pm
- Status: Breathing
- Location: Merrimack, NH