sepviz

Q: Is it possible to export Motion parameter default values in .fcpxml metadata files?

When creating a generator with Motion 5, its default value is written in the corresponding .motn file. When I use this generator in FCP X and then export the metadata in a .fcpxml file, I get two different behaviors, depending on whether I modified the value of the parameter in FCP X or not:

 

- not modified: the value is not in the .fcpxml file, and I have to find and parse the .motn file to get it

- modified: the value is saved in the .fcpxml file

 

From the perspective of the metadata file consumers, it would be simpler if all values could be exported in the .fcpxml file, even if a parameter value has not been modified.

 

Since it is a generator that I coded myself, I tried to save explicitly the parameter value in the finishInitialSetup function, but it fails with the following comment in the console:

 

Setting parameter values from a non-main thread is not allowed.

Please do not attempt to set parameter values from within -renderOutput, or

another method that may be called on a non-main thread.

Setting parameters should typically be done in response to -parameterChanged, or

in response to interactions with a custom UI or onscreen control.

For more information, consult the FxPlug documentation.

 

 

Is there a way to get this behavior ?

MacBook Pro, OS X Mavericks (10.9.4)

Posted on Sep 3, 2014 1:24 AM