GetMediaStorage() -> MediaStorage # Returns the media storage object to query and act on media locations. As with the resolve object, each object is inspectable for properties and functions.įusion() -> Fusion # Returns the Fusion object. Some commonly used API functions are described below (*). However, the various scripting APIs will continue to work as expected. When DaVinci Resolve is launched using this option, the user interface is disabled. A notable scriptable object above is fusion - it allows access to all existing Fusion scripting functionality.ĭaVinci Resolve can be launched in a headless mode without the user interface using the -nogui command line option. In Lua and dir, help etc in Python (among other methods). As a native object, it can be inspected for further scriptable properties - using table iteration and "getmetatable" The resolve object is the fundamental starting point for scripting via Resolve. ProjectManager.CreateProject("Hello World") ProjectManager = resolve.GetProjectManager() Resolve = dvr_script.scriptapp("Resolve") Import DaVinciResolveScript as dvr_script This example Python script creates a simple project:
For more information on how to use the Console, please refer to the DaVinci Resolve User Manual. The console accepts commands in Python 2.7, Python 3.6Īnd Lua and evaluates and executes them immediately. The interactive Console window allows for an easy way to execute simple scripting commands, to query or modify properties, and to test scripts. Specific user: $HOME/.local/share/DaVinciResolve/Fusion/Scripts All users: /opt/resolve/Fusion/Scripts (or /home/resolve/Fusion/Scripts/ depending on installation) Specific user: %APPDATA%\Roaming\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts All users: %PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Fusion\Scripts 1 /Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts Modules for scripting access (DaVinciResolve.py) and some representative examples.įrom v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. Apart from this README.txt file, this package contains folders containing the basic import In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio.