Log in

View Full Version : Hi, I will have questions about MTMode.


HknDkmn
7th January 2011, 23:25
I shared in the forum for AviSynth 2.5.8 MT of downloaded files.
Rar from inside the "avisynth.dll" file in the system32 folder, I threw.
"mt.dll" Load Plugin file did.
And I got the following error.

You, MTMode, how do you use?

I use Google Translate, translation errors has happened I'm sorry.

Gavino
7th January 2011, 23:37
Are you running 64 bit Windows?
If so, avisynth.dll should be installed in the C:\Windows\SysWoW64 folder.

Possibly, it is easier to use Atak_Snajpera's installer:
http://forum.doom9.org/showthread.php?p=1412274#post1412274

HknDkmn
8th January 2011, 00:01
Are you running 64 bit Windows?
If so, avisynth.dll should be installed in the C:\Windows\SysWoW64 folder.

Possibly, it is easier to use Atak_Snajpera's installer:
http://forum.doom9.org/showthread.php?p=1412274#post1412274
Thanks a lot, are excellent:)
Atak_Snajpera you are...:)

HknDkmn
8th January 2011, 11:06
Are you running 64 bit Windows?
If so, avisynth.dll should be installed in the C:\Windows\SysWoW64 folder.

Possibly, it is easier to use Atak_Snajpera's installer:
http://forum.doom9.org/showthread.php?p=1412274#post1412274

The first 2 lines of AVS Script:
SetMTMode (2.8)
LoadPlugin ("C: \ Program Files (x86) \ AviSynth 2.5 \ plugins \ MT.dll")

But I have a problem.
"Bitrate Calc" set to 350 Mb.
But the 980 Mb of output.

Gavino
8th January 2011, 12:10
Avisynth has nothing to do with bitrate, as it delivers uncompressed video.
This is a problem with your encoder (or its settings).

Also - perhaps a typo in your post, but first line should be SetMTMode(2, 8), not SetMTMode(2.8).

Motenai Yoda
8th January 2011, 17:27
also he must import/load the plugin first call the setmt function.

Gavino
8th January 2011, 18:37
also he must import/load the plugin first call the setmt function.
No, SetMTMode() does not come from the plugin, it is built into the amended avisynth.dll.
In fact you only need the plugin if you are going to call the MT() function (or one of its relatives like MTi()).

HknDkmn
9th January 2011, 14:16
Hi friends, thank you for your help.
However, the error is MeGUI 2nd pass.

http://img441.imageshack.us/img441/1213/meguierror.th.png (http://img441.imageshack.us/i/meguierror.png/)

At first, I thought MTMode returns an error. AVS Script took MTMode..
Still has failed ..

Still Waiting for your help:)
Thank you.

Motenai Yoda
9th January 2011, 14:58
No, SetMTMode() does not come from the plugin, it is built into the amended avisynth.dll.
In fact you only need the plugin if you are going to call the MT() function (or one of its relatives like MTi()).
but if u load a dll on setmtmode, it shouldn't load it n times?
(where n is the threads number)

@HknDkmn try to set 4 thread in xvid settings

Gavino
9th January 2011, 15:44
but if u load a dll on setmtmode, it shouldn't load it n times? (where n is the threads number)
No, LoadPlugin is a compile-time command and doesn't contribute to the filter chain (it is not a filter).

HknDkmn
9th January 2011, 16:23
but if u load a dll on setmtmode, it shouldn't load it n times?
(where n is the threads number)

@HknDkmn try to set 4 thread in xvid settings
Okay, I'm trying.

HknDkmn
15th April 2013, 22:09
Hi, i have a problem MTMode.

Computer : Xeon E3-1240v2 (http://ark.intel.com/tr/products/65730/Intel-Xeon-Processor-E3-1240-v2-8M-Cache-3_40-GHz)- 32 GB Ram

Source : 1280x544 x264
Rip : 640x352 XviD

MeGUI 2341
K-Lite Codec Pack
ffdshow - Haali

No filter.
Here's avs:
SetMTMode(threads=8)
DirectShowSource("source.mkv")
Spline36Resize(640,272)

First Pass : 300 ~ 310 FPS (%80 CPU)
Second Pass : 80 ~ 90 FPS (%50 CPU)

I try other computer:
Computer 2 : i5-2400 (http://ark.intel.com/tr/products/52207/Intel-Core-i5-2400-Processor-6M-Cache-up-to-3_40-GHz?q=i5-2400) - 16 GB Ram

Same Codec Pack, GUI, AVS, Source

First Pass : 160 FPS (%90 CPU)
Second Pass : 120 FPS (%98 CPU)


How can I speed up the 2nd pass the first computer?
Thanks.
Bye.

steptoe
16th April 2013, 10:50
The 1st is to work out what can be achieved with the bitrate, the 2nd pass is where is alters it and does a bit more work so that's why its slower

If you installed the MT patch of avisynth, then you don't need to have the SetMTMode(threads=8), as it automatically sets the number of threads to how many cores you have

You could try MT("spline36resize(640,272)") as suggested in a few places I've just quickly looked at to speed up the spline resizers

Or this is supposed to be the better way, and apparently increases the resizers final quality while speeding it up

mt("spline36resize(640,last.height)")
mt("spline36resize(last.width,272)",splitvertical=true)

Which is the same as Spline36resize(640,272)

Groucho2004
16th April 2013, 11:30
If you installed the MT patch of avisynth
MT patch??? Are you talking about mt.dll? How can you even suggest that if you don't know what version of Avisynth he is using?

Anyway, there is no need to speed up the resizer (at least not with the CPU he is using). Look at the numbers for the first pass.

Groucho2004
16th April 2013, 11:39
How can I speed up the 2nd pass the first computer?
The frame serving is not your problem since the first pass runs very fast and has an even higher CPU usage than the second pass.
Looks like Xvid cannot utilize your CPU with 8 logical cores efficiently in the second pass. Try to play with the number of threads in the Xvid settings.