Log in

View Full Version : Multithread problem


Mikassi
23rd March 2013, 03:52
Hi, I'm using avs2yuv and x264 to encode but when I try to use multithread, using SetMT and adding Distributor() in the script, avs2yuv crashes. How can I solve this?

Blue_MiSfit
23rd March 2013, 05:19
Multithreaded AviSynth is extraordinarily finicky and picky. I'd suggest avoiding it as a rule, and instead suffering through single threaded encoding to a lossless intermediate.

Poutnik
23rd March 2013, 10:04
Hi, I'm using avs2yuv and x264 to encode but when I try to use multithread, using SetMT and adding Distributor() in the script, avs2yuv crashes. How can I solve this?

Do not give up too early, possible gain is high and singlethreaded speed of demanding scripts even over SD content can be very pathetic.
Try other encoding solutions, e.g. MeGUI.

Review used MT version ( the ones based on A2.5x are obsolete,
recomended is SET's one based on A 2.6beta3 (I am using) or current based on beta 4 ), that are are said much more stable.

http://forum.doom9.org/showthread.php?t=148782

Review also QTGMC Deinterlacing Script (v3.32) (http://forum.doom9.org/showthread.php?t=156028)thread,
there are recompiled plugins packages, being more MT safe. Personally, even if A MT is 2.6 based,
I recommend modded package for 2.5x

I am using MTed QTGMC and MCTD without problems.

Review also used SetMTmodes

SetMemoryMax(N) # may be needed
SetMTMode(3)
source_filter()
SetMTMode(2)
processing_filters()

-------
BTW, I fully understand it is matter of developer resources and backward plugin compatibility....
...but singlethreaded 32bit avisynth seems to me blind evolution way, breathing heavily over HD content.
Let hope 4k/8k UHDTV will not come to ST32 end users to process.... :)

Mikassi
23rd March 2013, 18:19
Thank you both for reply. I'm using SET's MT already. I'll read those 2 threads and see if I can find a solution.