View Single Post
Old 21st March 2017, 06:39   #8  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,559
MT is complex but still it's working well in most cases. MP_Pipeline has some issues but I never use MP_Pipeline and MT at the same time anyway; one or the other.

Here we're talking about ScriptClip. We're not even talking about supporting any specific plugins... it's just that function that is broken.

If you want my opinion, it would be much better to implement conditional scripts at the script level, and not try to hack around and emulate it within a string. Plus, creating new plugin instances at every GetFrame isn't a good idea at all IMO. It's a performance killer. For something like KNLMeans that requires extensive initialization, don't even think about it. If it was handled by the language, then instances could be created and managed in a smarter way, and there would be no need to call Invoke within GetFrame.
MysteryX is offline   Reply With Quote