Page 1 of 1

Setting generation duration with OpenFX api

PostPosted: Mon Apr 02, 2018 5:03 pm
by Rafadess
Hi everyone.

I’m trying to develop a bunch of plugins to standardizing the work done by some teams. Some plugins must to have a specific duration. For example a lower third that must have 3 seconds. I notice that always when a generator is dropped on time line in resolve it attribute 5 seconds of duration. O guess it is changeable by the user, but here is my question:

Can I set the generator duration inside my plugin in a way that the user doesn’t need to change it by himself?

I’m using OpenFX api and a wrapped app called Tuttle. Is that possible using these tools? Is there any other way to create plugins for DaVinci Resolve?

Any help will welcome. Thanks so much!

Rafael

Re: Setting generation duration with OpenFX api

PostPosted: Tue Apr 03, 2018 9:57 pm
by Rafadess
Hi everyone.

I found the way to change the default generator duration. It in preferences, user, editing. Davinci Store the user’s configuration data in a xml file, config.user.xml in programData folder. I was trying to make my plugin to change the default duration through this file. But I realize that davinci read this file once, on start up. So even if I change it davinci won’t read the new duration until it restart.

Is that possible force davinci read that config.user file programmatically? Or can my plugin access this default generation duration and changes it? (I imagine this is store in same variable)

Re: Setting generation duration with OpenFX api

PostPosted: Mon Jun 18, 2018 4:17 pm
by Rafadess
Just to close this topic.

I forget about trying to create openfx. It's to difficult. Instead of them I'm creating fusion title with DVR15. It's much easier and fast.