Page 1 of 1

X-Raym Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Thu Jan 27, 2022 10:30 am
by X-Raym
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!

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Thu Jan 27, 2022 9:39 pm
by Igor Riđanović
Nice. Thanks!

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Fri Jan 28, 2022 5:55 am
by iddos-l
Very nice.
Thank you for sharing.


Sent from my iPhone using Tapatalk

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Fri Feb 24, 2023 10:32 pm
by AssistantEditor1
Very cool stuff!

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Sun Jun 01, 2025 12:03 pm
by daxliniere
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.

Re: My Free DaVinci Resolve Scripts (GitHub Repo)

PostPosted: Sun Jun 01, 2025 1:10 pm
by Marek2189
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? :)

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

PostPosted: Mon Jun 02, 2025 9:44 am
by X-Raym
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).

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

PostPosted: Mon Jun 02, 2025 3:24 pm
by Robin Doelly
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