Log in

View Full Version : avs2yuv doesn't work with mt avisynth?


Chengbin
7th November 2009, 23:38
I just moved to 64 bit computing, and I'm using avs2yuv.

It seems that no matter what value of x I use in setmtmode(2,x), the speed and CPU usage is the same. If I don't use avs2yuv, the speed and CPU usage does change accordingly (and also stopping the encode because I went over 2GB of RAM).

I thought avs2yuv just takes an avs, turn it into yuv, and give it to an encoder.

Gavino
8th November 2009, 00:15
Try adding this line to the end of your script:
distributor()

Chengbin
8th November 2009, 00:20
Try adding this line to the end of your script:
distributor()

Ahhhhh, that does the trick!

Just another question, 32 bit programs can only use 2GB of RAM, why is avisynth crying out of RAM when it only used 1.3GB according to task manager?

Boolsheet
8th November 2009, 00:32
Just another question, 32 bit programs can only use 2GB of RAM, why is avisynth crying out of RAM when it only used 1.3GB according to task manager?

I think this is because the task manger only shows the actual physical RAM being used by the process. The virtual memory reaches the limit earlier.
You can use Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx) to get more information about a process.