Setting generation duration with OpenFX api

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Rafadess

  • Posts: 8
  • Joined: Mon Apr 02, 2018 4:33 pm
  • Real Name: Rafael Dessotti

Setting generation duration with OpenFX api

PostMon Apr 02, 2018 5:03 pm

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
Rafael Dessotti
BRAZIL
Offline

Rafadess

  • Posts: 8
  • Joined: Mon Apr 02, 2018 4:33 pm
  • Real Name: Rafael Dessotti

Re: Setting generation duration with OpenFX api

PostTue Apr 03, 2018 9:57 pm

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)
Rafael Dessotti
BRAZIL
Offline

Rafadess

  • Posts: 8
  • Joined: Mon Apr 02, 2018 4:33 pm
  • Real Name: Rafael Dessotti

Re: Setting generation duration with OpenFX api

PostMon Jun 18, 2018 4:17 pm

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.
Rafael Dessotti
BRAZIL

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Josef Pöllmann, Mads Johansen, Shrinivas Ramani and 228 guests