Log in

View Full Version : AVIsSynth and Multi-Core CPUs


arrirc
3rd November 2007, 13:20
Hello

I have recently switched to Intel's Core2Duo family of CPUs. I generally use AVISynth scripts to convert AVI files to MPEG2 using external encoders like HCEnc. Though I must point out that I have very recently started using AVS scripts and I am not that experienced.
To extract the complete advantage of a multi core CPU is there any line that need to be added in AVi Scripts? If yes, please let me know which one and any other necessary details.

Thank you.

Spuds
4th November 2007, 01:36
Read this thread (http://forum.doom9.org/showthread.php?t=94996)

arrirc
4th November 2007, 05:56
Thanks Spuds

I got two zip files now:

one named MT_07.zip and the other is mvtoolsMTcomp2.zip.
Please tell me:

1. Which one of the two is to be used?
2. Where should I place these? In AVISynth installation folder?
3. What do I enter in the script?

I know all these questions might have already been answered in the above thread, but I got bit lost in that 37 pages of the thread and I am not that sound (yet) with AVISynth to exactly understand its use.

tsp
5th November 2007, 23:40
MT_07.zip: extract avisynth.dll to windows\system32 overwriting the existing avisynth.dll. Extract mt.dll to your avisynth 2.5\plugins folder
mvtoolsMTcomp2.zip: extract mvtools.dll to your avisynth 2.5\plugins folder

place the filter
SetMTmode(2)
as the first line in your script before anything else

R3Z
6th November 2007, 07:03
MT_07.zip: extract avisynth.dll to windows\system32 overwriting the existing avisynth.dll. Extract mt.dll to your avisynth 2.5\plugins folder
mvtoolsMTcomp2.zip: extract mvtools.dll to your avisynth 2.5\plugins folder

place the filter
SetMTmode(2)
as the first line in your script before anything else

Awesome work by the way :)

arrirc
6th November 2007, 19:32
Thanks very much tsp :)

You have really made things crystal clear for me.

arrirc
7th November 2007, 05:31
Hello tsp

Report: used as you said and CCE encoded a Video Only file from XviD (about 1 hour duration) less than 1 hour with 8 programs running at the background.

CCE used full CPU cycles effectively.

So thanks again tsp. :)

Though there is a little worry..I think using this dll means I have to revert back to 2.5.7, unless it is made compatible with the latest 2.5.8 (still in Alpha stage I believe)

tsp
7th November 2007, 22:32
arrirc: You don't need to revert back to 2.5.7 (or rather you did revert back when you replaced avisynth.dll with my version(that are a modified 2.5.7 version) as the avisynth program "hides" inside avisynth.dll).

R3Z: thanks

arrirc
8th November 2007, 07:08
Hello tsp

Thank you very much for responding. You did a fabulous job with your filter. :)

I hope you are planning to upgrade it to the upcoming AVISynth release?

Adub
8th November 2007, 08:21
Are you talking 2.5.8 or 2.6, as I believe 2.6 will have it natively and 2.5.8 might soon as well for all I know.

arrirc
9th November 2007, 05:15
I am talking about 2.5.8. The last time I have seen that at SourceForge page, it was in ALPHA2 stage. I have not seen/heard about 2.6 version yet.