View Single Post
Old 26th July 2011, 00:57   #13  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,389
Quote:
Originally Posted by Groucho2004 View Post
FYI - Vdub will apply "Distributor()" if it hasn't been called in the script.
I know that Distributor is applied automatically when VfW is used. That's why I did not use it in the script.

Also,
Quote:
Originally Posted by Groucho2004
I tested this once and the number of created threads was the same with or without "Distributor()" in the script.
this I cannot confirm. Script like posted below, without Distributor, opened in Vdub: Taskmanager reports 12 Threads by Vdub. Same script with Distributor: 48 Threads by Vdub. Big difference!


(@tritical)
Today, first I was struggling to reproduce yesterday's crashmania: everything rock stable...
But then I could narrow it down to a small syntax detail ...

This works:
Code:
setmtmode(5,6)
SetMemoryMax(1000)

mpeg2source("1080i.d2v")

tfm().tdecimate()

SetMTMode(2)
super = MSuper(planar=true)

... rest of MDegrain3 stuff ...

#distributor()
return(last)

In contrast, this crashes very early: (often immediately)
Code:
setmtmode(5,6)
SetMemoryMax(1000)

mpeg2source("1080i.d2v")

tfm.tdecimate()

SetMTMode(2)
super = MSuper(planar=true)

... rest of MDegrain3 stuff ...

#distributor()
return(last)
HARRRGH! I thought the empty-parentheses-thingy had been sorted long time ago!?!

This was with SEt's 2.60.MT (Aug 13 2009) version, btw. Didn't try the recent one, yet.


Bottomline: Problem solved. Just be a good boy and always write the parentheses.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote