Avisynth MT (for multiple cores, and its fucking awesome!)

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Wed Jul 25, 2007 4:26 pm

Looks like I've got some playing around for the next couple of days. :)
Image
Image

User avatar
Sereenie
Joined: Sat Jun 28, 2003 8:11 pm
Location: The City Fun Forgot
Org Profile

Post by Sereenie » Wed Jul 25, 2007 4:32 pm

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
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.

S.

User avatar
Pwolf
Friendly Neighborhood Pwaffle
Joined: Thu May 03, 2001 4:17 pm
Location: Some where in California, I forgot :\
Contact:
Org Profile

Post by Pwolf » Wed Jul 25, 2007 4:38 pm

Sereenie wrote:
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
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.

S.
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.

So far decimate() works... very well :P


Pwolf

User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Wed Jul 25, 2007 4:42 pm

http://avisynth.org/mediawiki/MT_support_page

Hopefully this will help in my future endeavors.
Image
Image

User avatar
Sereenie
Joined: Sat Jun 28, 2003 8:11 pm
Location: The City Fun Forgot
Org Profile

Post by Sereenie » Wed Jul 25, 2007 4:45 pm

Sweet! Thanks, guys!

S.

User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Sun Jul 29, 2007 9:32 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)""")
Image
Image

User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Sun Jul 29, 2007 9:37 am

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)""")
Woops! Made a mistake with the TFM(), I've got it in twice.

There, 946.51mb of uncompressed output took- 2:37.
At approx 7 or 8 fps.
Image
Image

User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Sun Jul 29, 2007 9:40 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!
Image
Image

User avatar
Ayanefan
Joined: Mon Oct 24, 2005 10:17 am
Org Profile

Post by Ayanefan » Sun Jul 29, 2007 10:54 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.
Image
Image

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Post by BasharOfTheAges » Sun Jul 29, 2007 2:59 pm

Well, there are some things that mode 2 an do that mode 1 can't, so =/
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

Locked

Return to “AviSynth Help”