ホーム 暮らし [DaVinci Resolve Quick Tips #007] Where are the project files located?

[DaVinci Resolve Quick Tips #007] Where are the project files located?

雨宮 千夏 雨宮 千夏 • 更新: • 公開: • 読了約 18 分
目次

For this 7th installment, here are some notes on the location of project files.

In any tool, if you are editing on a project-by-project basis, there should be a project file that saves the settings for each project.

DaVinci Resolve should be no exception, but I had a bit of trouble finding them. This is because the storage location and method have likely changed depending on the version, and in the current version 20, it seems to have changed to a structure where there is a folder to hold project settings rather than a single project file.

When I was reading a book based on version 18, it stated that there was a file called ".drp", but when I searched for ".drp" on my Mac, nothing came up at all. However, it did describe how to open the location where the project files are, so I followed those steps and arrived at something that looked like it.

How to get to the project file storage location

ncb07ee0dcbeb

To get to the storage location, first open the Project Manager. There, select the Local tab, and you will see an 'i' mark to the right of the 'Local Database' display; click on it.

This will display the information for the 'Local Database'. The Location and Status are shown, along with buttons for Back Up, Duplicate, and Reveal in Finder.

Here, if you click 'Reveal in Finder' (my favorite), it will open the location of the link written in Location in Finder.

Although the Location is abbreviated in the display, the full path is

/Users/[USERNAME of Mac]/Library/Containers/com.blackmagic-design.DaVinciResolveLite/Data/Library/Application Support/Resolve Project Library/Resolve Projects

It was as follows. 'Reveal in Finder' takes you all the way here.

What is here are three items: Settings, SoundLib.db, and Users. Settings and Users are directories, and I suspect that each project is clearly placed inside Users. However, there is only a directory called 'guest' inside Users.

...Hmm, /Users/guest? Does this mean the DaVinci Resolve user is 'guest'? There is no other path to take, so I will proceed to Users/guest for now, but if I log in as a user on DaVinci Resolve, will a directory other than 'guest' be created and saved there, and will the files I saved in 'guest' until now become invisible to DaVinci Resolve? I will investigate a little more when that time comes.


Under this 'guest' directory, there are three directories: Configs, ProjectMetadataCache, and Projects, as well as a DB file called User.db. Since what I want now is the project file, I proceed to Projects, and finally, there are directories for each project, where there was a 'Batch Renders' directory and a 'Project.db' file.

Could this be the main body?

Contents of the project file

I want to see the contents of this 'Project.db' file. I don't really need to open it just to edit videos, but as a programmer, I'm curious.

Now, let me briefly organize how to check it.

  1. Check the type of the Project.db file

  2. Find out how to open the file

  3. Check the contents

I suppose it would be something like this.

1. Check the type of the Project.db file

For 1, run the following in the terminal.

file <file path>

Run it.
Enter 'file' followed by a space, and you can easily input the filename by dragging and dropping the target file from Finder.

When I ran it, the following appeared.

SQLite 3.x database, last written using SQLite version 3033000, file counter 120, database pages 710, 1st free page 89, free pages 23, cookie 0x30a, schema 4, UTF-8, version-valid-for 120

It seems to be SQLite 3.x.

2. Find out how to open the file

It seems there are dedicated tools for SQLite, but I heard you can open it by installing an extension in Visual Studio Code, or VSCode for short, so I will give that a try.

If you haven't installed VSCode, install it from the link below.
It used to be different, but currently Azure seems to have a big presence... but you can still use VSCode itself for free. You can ignore Azure for now.

By the way, I think VSCode is useful even if you aren't a developer, just for writing simple scripts, so I personally think it would be good to install it as an editor, though I honestly don't know if that's useful advice for non-developers...

Once I opened VSCode, I searched for "SQLite" in the extensions screen and installed the extension called "SQLite IntelliView," which seemed like the best one for now.
It has a low number of installs, but I chose it based on intuition.

The extension installation finished quickly, so I just dragged and dropped the Project.db file.

Then, the contents of the database were displayed!

3. Check the contents

Let's take a look at the database.
"SQLite IntelliView" displays the table list, schema for each table, queries, data, and even generates and displays an ER diagram.

Tracing the detailed structure would probably be quite difficult unless Blackmagic Design discloses the specifications, but for now, if you open the tables one by one in the Data tab, you can check the data inside.
Looking through them in order, I found things like thumbnail images and file paths existing as data, so I assume this is indeed the project file.

Also, there is a table called "database_upgrade_log" at the very end, and since it seems to record something like an update log for this database, this also seems to support the idea that this is a project file.

I would like to dig deeper, but since I plan to eventually touch on DaVinci Resolve scripts and such, I feel like I will naturally encounter situations where I have to deal with it.

Summary

I would like to look at the database more and investigate various things, but since that would take me off-topic, I will wrap things up now.

Location of each project file in DaVinci Resolve 20

/Users/[USERNAME of Mac]/Library/Containers/com.blackmagic-design.DaVinciResolveLite/Data/Library/Application Support/Resolve Project Library/Resolve Projects/Users/guest[likely DaVinci Resolve username]/Projects/[Project Name]/Project.db

I cannot rule out the possibility that there are differences depending on the environment.

How to get there
  1. Open the Project Manager

  2. Select the Local tab

  3. Click the 'i' icon to the right of the 'Local Database' display

  4. Press the 'Reveal in Finder' button

  5. In Finder, navigate to Users/guest[likely DaVinci Resolve username]/Projects/[Project Name]/

I feel that this method is likely valid in many environments, provided they are not very old versions.

Which one is the project file?

Project.db
The content is an SQLite3 db file

There is no '.drp' file
I imagine it might have been used in older versions but was switched to Project.db

With that, I plan to upload the next one loosely on Thursday.

Supplementary note

Environment:
DaVinci Resolve 20 (Beginner) (Using the English version)
MacBook Pro (2023)
+Background knowledge in web and software development

同じカテゴリの記事

雨宮 千夏
デジタルマーケター 雨宮 千夏
プロフィールを見る →

アイドルと音楽シーンの取材を担当。公式サイトの公演情報、リリース告知、公開チャートを照合してから構成しています。

おすすめの関連記事