Updated as of 08 March 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last Updated: 28 October 2024 | |
----------------------------- | |
In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import | |
modules for scripting access (DaVinciResolve.py) and some representative examples. | |
From v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. 1 <= nodeIndex <= total number of nodes. | |
Overview | |
-------- | |
As with Blackmagic Fusion scripts, user scripts written in Lua and Python programming languages are supported. By default, scripts can be invoked from the Console window in the Fusion page, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"clipname": { | |
"description": "The unique identifier for a product", | |
"type": "string" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:local w = tonumber( comp:GetPrefs("Comp.FrameFormat.Width")) | |
local h = tonumber(comp:GetPrefs("Comp.FrameFormat.Height")) | |
-- add the colon at the start of first line to allow multiline expression | |
if (w / h) > 1 then return Point(0.0, 0.0) | |
elseif (w / h) < 1 then return Point(0.5, 0.5) | |
else return Point(1, 1) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
// 2022-11-04 | |
// returns target of front window if no actual selection | |
// prints the active Finder selection as POSIX paths, | |
// separated by newlines, ready to be eaten up by some other process | |
// I use in Fish shell like: | |
// for f in (finderselection.js) … etc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# demo code for youtube tutorial (https://youtu.be/9SrJ3mznVlY) | |
# note: tweaked for Python2 compatibility | |
# only works on a mac | |
# should be saved here: | |
# /Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Deliver | |
import os | |
# edit this variable so that it points to the sound you'd like to play | |
PATH_TO_SOUND = "~/macossounds/AIFF/Wild Eep.aiff" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csvjson IAN\'S\ Scavenger\ hunt\ data\ merge\ -\ August\ 10\ update.csv > data.json | |
echo -n "Converting to json - " | |
node index.js > br.json | |
echo -n "Delete data.json" | |
echo -n "Converting to CSV - " | |
json2csv -i br.json > yay.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/zsh | |
# choice script by IAN | |
function prores() { | |
select choice in proxy LT regular HQ; do | |
case $choice in | |
proxy) | |
echo Setting profile to proxy | |
profile=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// auto fade text, IN | |
// http://ianhaigh.com/ | |
try { | |
var fadeDuration = effect("fade duration")("Slider"); | |
} catch(e) { | |
var fadeDuration = 1; | |
} | |
ease(time, inPoint, inPoint + fadeDuration, 100, -100); |
NewerOlder