Need help with project.db file

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

vladn2012

  • Posts: 3
  • Joined: Tue Apr 27, 2021 5:26 pm
  • Real Name: Nestor Petrovich

Need help with project.db file

PostFri May 14, 2021 5:39 pm

Hi Everybody,

We are trying to automate some of Davinci projects functionality by working with project.db file directly rather than doing it manually in Resolve.

Currently we re-time a lot of the videos, which involves manually adding Speed Points and changing speed between those Speed Points - there can be quite a few of the 'segments' that need re-timing, so it is a lot of manual labor, also prone to errors.

Project.db is a SQLite DB and the idea is to create a process that will modify (insert or update) records in relevant tables to achieve the same that is currently done manually.

We have reviewed all 145 tables in the project.db, but can't seem to be able to identify which table (or tables) hold the data for Speed Points or re-timing information.

Would highly appreciate if you can point me in the right direction!

Thank you for your help !
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 2730
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Need help with project.db file

PostMon May 17, 2021 1:03 am

Hi

We strongly urge you not to work with the underlying database files - it is unsupported and can lead to data corruption. The .db files are specifically made to be Resolve-specific with its internal structures changing often for new features and optimisations.

Any secondary access will be at the risk of corrupting your projects. Please also see the concurrent access warnings here:
viewtopic.php?f=21&t=90190#22
accessing disk databases simultaneously using more than one software (including file-syncing services like DropBox) may compromise the integrity of the underlying project and configuration data.


Regards
Shrinivas
Offline

vladn2012

  • Posts: 3
  • Joined: Tue Apr 27, 2021 5:26 pm
  • Real Name: Nestor Petrovich

Re: Need help with project.db file

PostFri May 21, 2021 4:50 pm

Shrinivas Ramani wrote:Hi

We strongly urge you not to work with the underlying database files - it is unsupported and can lead to data corruption. The .db files are specifically made to be Resolve-specific with its internal structures changing often for new features and optimisations.

Any secondary access will be at the risk of corrupting your projects. Please also see the concurrent access warnings here:
viewtopic.php?f=21&t=90190#22
accessing disk databases simultaneously using more than one software (including file-syncing services like DropBox) may compromise the integrity of the underlying project and configuration data.


Regards
Shrinivas


Hi Shrinivas,

Thank you for the information - is there an alternative solution you can recommend ? Is there a way to "automate" speed points and retiming ? An API functionality in development ?

Thanks!

Return to DaVinci Resolve

Who is online

Users browsing this forum: anuctal, ghost355, Google [Bot] and 257 guests