eric-with-a-c / resolve-otio

An OpenTimelineIO plugin for DaVinci Resolve
Apache License 2.0
23 stars 3 forks source link

resolve-otio

An OpenTimelineIO plugin for DaVinci Resolve Studio. This is a just a simple project used to get familiar with the Python API in Resolve.

Currently only exporting is supported as the Resolve API doesn't have a way of laying out clips on the timeline.

Tested with Resolve 17.4.3.

Installation

Usage

DaVinci Resolve

In DaVinci Resolve, open a Python console from Workspace > Scripts > Console and run the script with exec(open("/PATH/TO/otio.py", "rb").read()). This will open a window with two buttons. The first allows for selecting the export destination and the second performs the export.

DaVinci Resolve Studio

From the DaVinci Resolve Studio menu select Workspace > Scripts > otio. This will open a window with two buttons. The first allows for selecting the export destination and the second performs the export.

Limitations

Using Python 3.6

I found the easiest way to use Python 3.6 with Resolve is to use the installer from python.org but do a custom install and only install the framework. I use a conda Python 3.6 environment for installing pip packages and just make sure to append the site-packages from the conda environment to the path in any scripts I run in Resolve

I wouldn't consider it ideal, but it works.