X-Raym Free DaVinci Resolve Scripts (GitHub Repo)

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

X-Raym

  • Posts: 153
  • Joined: Thu Apr 18, 2013 4:05 pm
  • Location: France
  • Real Name: Raymond Radet

X-Raym Free DaVinci Resolve Scripts (GitHub Repo)

PostThu Jan 27, 2022 10:30 am

Hi,

I want to share with the community the link to DaVinci Resolve Scripts GitHub Repository:
  • https://github.com/X-Raym/DaVinci-Resolve-Scripts


These are mostly in Lua, and apart few works in progress here and there, are polished enough for public usage. Anyway, even works in progress can be helpful for people who want to create mods.

Here a demo of one I wrote yesterday:

  • X-Raym_Resolve Script Name: Color video track clips randomly by columns.lua

Image
Use this with the Select clips by color feature on a sets of deactivated clips and you will have instant multitracks editing

And here is one with a GUI:
  • X-Raym_Color clips on chosen track from CSV;lua

Image
This one is used on my workflow for making tempo track in Resolve using subtitle items for music videos. The colored are extracted from REAPER.

Comparing to REAPER scripting, for which I have wrote more than 1000 scripts, DaVinci Resolve scripting has a lots of missing thing, mostly ways to handle undo points which is critically missing. Please bump FR (API) threads to get attention of blackmagic on these isssues, or if you are Studio user, to contact the support to tell them about these issue. This could help make DaVinci Resolve Scripting even better.

If you use these scripts, please consider making a donation! ❤


Enjoy!
Last edited by X-Raym on Mon Jun 02, 2025 9:52 am, edited 1 time in total.
My DaVinci Resolve Scripts: https://github.com/X-Raym/DaVinci-Resolve-Scripts
My Resolve Scripting API Doc: https://www.extremraym.com/en/resolve-api-doc-release/
Donation: https://paypal.me/extremraym
Offline
User avatar

Igor Riđanović

  • Posts: 1656
  • Joined: Thu Jul 02, 2015 5:11 am
  • Location: Los Angeles, Calif.

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostThu Jan 27, 2022 9:39 pm

Nice. Thanks!
www.metafide.com - DaVinci Resolve™ Apps
Offline
User avatar

iddos-l

  • Posts: 803
  • Joined: Sat Mar 30, 2019 7:55 pm
  • Real Name: iddo lahman

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostFri Jan 28, 2022 5:55 am

Very nice.
Thank you for sharing.


Sent from my iPhone using Tapatalk
Offline

AssistantEditor1

  • Posts: 108
  • Joined: Tue Jan 31, 2023 5:30 am
  • Real Name: Milton Breslin

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostFri Feb 24, 2023 10:32 pm

Very cool stuff!
Offline

daxliniere

  • Posts: 48
  • Joined: Thu Mar 14, 2019 11:45 am
  • Real Name: Dax Liniere

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostSun Jun 01, 2025 12:03 pm

Hey Raymond, what a surprise to see you here!
Ça va?

I recently posted here asking if there was a shortcut to extend a selected item's edge to the start of the next item on the same track. Seems it doesn't exist already, but someone mentioned scripting - I didn't even know DR supported scripting!
When I did some searches about it, your name came up and lead me to your website and this post. :)

My thought for the code was:
Check if there is a next clip on the same track after the selected clip,
If exists, set the clip-end-time of the selected clip to the clip-start-time of the next clip.

I wish DR had all the editing capabilites of our dear REAPER. I feel like that would save a lot of time in DR. but at least this script would get us closer.

Is it something you might consider writing?


All the best,
Dax.
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, FireFaceUCX]
Offline

Marek2189

  • Posts: 90
  • Joined: Thu Jun 10, 2021 1:28 pm
  • Real Name: Pasha Kravetz

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostSun Jun 01, 2025 1:10 pm

Hey! Is there a script that can in a certain way or/and randomly shuffle clips on a timeline? For example, if you have 50 clips from an event filmed in different locations, and you want to mix them up. In this repository or somewhere else? Or maybe you'd be interested in creating one? :)
Offline
User avatar

X-Raym

  • Posts: 153
  • Joined: Thu Apr 18, 2013 4:05 pm
  • Location: France
  • Real Name: Raymond Radet

Re: X-Raym Free DaVinci Resolve Scripts (GitHub Repo)

PostMon Jun 02, 2025 9:44 am

Hi Daw,
Small world ;)

The script API lacks of a easy to access Position / Duration property for media item in timeline

Media item positions can be only be defined by some kind of "appendtotimeline" method, a bit hacky and way less convenient than it should be

https://www.reddit.com/r/davinciresolve ... _position/

Worst, there is no API function to get which item is selected

viewtopic.php?f=21&t=134835

viewtopic.php?f=21&t=176545#p927706

Resolve API is extremly limited compated to REAPER one. There are some workaround and ways to get around, but it feels unefficient compared to what it should be, and require more time to put in place, so it is less possible to solve any request as a free service (as it basically take quite some time).
My DaVinci Resolve Scripts: https://github.com/X-Raym/DaVinci-Resolve-Scripts
My Resolve Scripting API Doc: https://www.extremraym.com/en/resolve-api-doc-release/
Donation: https://paypal.me/extremraym
Offline

Robin Doelly

  • Posts: 89
  • Joined: Mon Mar 28, 2016 10:34 pm

Re: X-Raym Free DaVinci Resolve Scripts (GitHub Repo)

PostMon Jun 02, 2025 3:24 pm

not exactly sure if this does what you were looking for Dax ... but I use the Q & W buttons mapped to extend edit... so I'm thinking ... arrow up to jump playhead to previous edit, with the clip selected hit Q ...and edit is extended back .. I use those two all the time
Robin

Return to DaVinci Resolve

Who is online

Users browsing this forum: Jim Simon, jmm123, MediaGary, panos_mts, visualfeast and 234 guests