Undocumented Resolve API functions

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

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Undocumented Resolve API functions

PostWed May 06, 2020 1:24 pm

Note!
If you're using 18.5 Beta 3, all the functions listed below have been disabled.
In 18.5 Beta 4, the Timeline and MediaPool functions were enabled again and are now officially documented.


---

I had a look at the Resolve executable and found some API functions that aren't yet listed in the API documentation.

After some trial and error I was able to work out the parameters needed.
  • Resolve
    • bool GetShowAllVideoFrames()
    • bool SetShowAllVideoFrames(bool enable)
    • bool GetSourceViewerMode()
    • bool SetSourceViewerMode(string mode)
      The modes I've been able to find so far are "source" and "multicam". I thought "audiotrack" would be there too but it's not.
  • Project
    • int GetPlaybackSpeed()
      I don't know how this one works. I only tried it in the console where this command won't execute until playback is stopped. So mostly it returned 0 except for a single time when it returned 1.

    • timeline GetTimelineFromUniqueId(string uniqueId)
  • Timeline
    • bool AddTrack(string trackType, string audioChannelSubType) Documented in v18.5
    • bool DeleteTrack(string trackType, int index) Documented in v18.5
    • bool SetTrackEnable(string trackType, int index, bool enable) Documented in v18.5
    • bool GetIsTrackEnabled(string trackType, int index) Documented in v18.5
    • bool SetTrackLock(string trackType, int index, bool lock) Documented in v18.5
    • bool GetIsTrackLocked(string trackType, int index) Documented in v18.5
    • bool SetClipsLinked(table items, bool link) Documented in v18.5
    • bool DeleteClips(table items) Documented in v18.5
  • TimelineItem
    • bool GetClipEnabled() Documented in v18.5
    • bool SetClipEnabled(bool enable) Documented in v18.5
    • bool SetNodeLocked(int nodeIndex, bool lock)
    • bool ResetCurrentVersion()
    • bool ResetNode(int nodeIndex)
    • bool SetNodeActive(string nodeLabel)
  • MediaPool
    • table TimelineItem AppendToTimeline(table clipInfo)
      In addition to the documented clipInfo properties; mediaPoolItem, startFrame, endFrame and mediaType, it also accepts trackIndex and recordFrame. This means we can finally place clips anywhere on the timeline!
      Documented in v18.5

It all seems to work just fine (except for where noted with newly discovered functions added later to this post), but since it's not documented you should probably expect changes in later releases.

Here's the same list in a similar form as the API readme (including the possible values for trackType and audioChannelSubType that I could find):
Code: Select all
Timeline
  AddTrack(trackType, audioChannelSubType)        --> Bool               # Adds a track of the given type ("audio", "video" or "subtitle") to the timeline. The audioChannelSubType is only needed for audio tracks and is one of "mono", "stereo", "5.1", "5.1film", "7.1", "7.1film", or "adaptive1" to "adaptive24".
  DeleteTrack(trackType, index)                   --> Bool               # Deletes a track of the given type at the specified index (int). 1 <= index <= GetTrackCount(trackType)
  SetTrackEnable(trackType, index, enable)        --> Bool               # Enables or disables the given track. The enable parameter is a boolean value.
  GetIsTrackEnabled(trackType, index)             --> Bool               # Returns whether a track is enabled or not.
  SetTrackLock(trackType, index, lock)            --> Bool               # Locks or unlocks the given track. The lock parameter is a boolean value.
  GetIsTrackLocked(trackType, index)              --> Bool               # Returns whether a track is locked or not.
  SetClipsLinked([items], link)                   --> Bool               # Links or unlinks the given clips (TimelineItem objects). The link parameter is a boolean value.

TimelineItem
  GetClipEnabled()                                --> Bool               # Returns whether a clip is enabled or not.
  SetClipEnabled(enable)                          --> Bool               # Enables or disables a clips. The enable parameter is a boolean value.
  SetNodeLocked(nodeIndex, lock)                  --> Bool               # Locks or unlocks a Color page node at the given nodeIndex (int). The lock parameter is a boolean value.

Updated for DaVinci Resolve 18.5
Last edited by roger.magnusson on Thu Jun 15, 2023 10:02 am, edited 9 times in total.
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve v16.2.1 API functions

PostWed May 06, 2020 2:16 pm

Very interesting!
Thanks for sharing.
By the way I was using your class browser the other day. It was a great help.
Cheers


Sent from my iPhone using Tapatalk
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve v16.2.1 API functions

PostWed May 06, 2020 7:04 pm

I'm glad you've found it useful!
Offline

BrettRayner

  • Posts: 10
  • Joined: Tue Oct 03, 2017 1:57 pm

Re: Undocumented Resolve v16.2.1 API functions

PostSat May 23, 2020 11:48 am

This is awesome, thank you! Is there any chance you could explain how you found these functions? Or is it too complex to get into
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve v16.2.1 API functions

PostSat May 23, 2020 3:09 pm

Not complex at all, I just looked at the executable in a hex viewer. I searched for existing functions and next to them I found some that weren't documented.
Offline

dduffy

  • Posts: 5
  • Joined: Wed Aug 26, 2020 10:04 am
  • Real Name: Darragh Duffy

Re: Undocumented Resolve v16.2.1 API functions

PostWed Aug 26, 2020 3:23 pm

roger.magnusson wrote:Not complex at all, I just looked at the executable in a hex viewer. I searched for existing functions and next to them I found some that weren't documented.



Great post - Thanks!

Have you found the function to set a track that clips will be added to? The equivalent to selecting V1/V2 etc.

Can you explain what executable you looked at here to search for functions?
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve v16.2.1 API functions

PostWed Aug 26, 2020 6:26 pm

I don't think they've added that yet.

On Windows the executable is %ProgramW6432%\Blackmagic Design\DaVinci Resolve\Resolve.exe.
On macOS it's /Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/MacOS/Resolve.
Offline
User avatar

Igor Riđanović

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

Re: Undocumented Resolve v16.2.1 API functions

PostWed Aug 26, 2020 7:14 pm

Excellent. Thank you.
www.metafide.com - DaVinci Resolve™ Apps
Offline

dduffy

  • Posts: 5
  • Joined: Wed Aug 26, 2020 10:04 am
  • Real Name: Darragh Duffy

Re: Undocumented Resolve v16.2.1 API functions

PostThu Aug 27, 2020 9:28 am

roger.magnusson wrote:I don't think they've added that yet.


That's a pity - but I'll keep digging.

I was hoping that because there is a SetTrackName() function to change the track name, that there may be a sister GetTrack() or SetTrack() function - but nothing!
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve v16.2.1 API functions

PostThu Aug 12, 2021 10:03 pm

It seems I flew too close to the sun. :lol:
In the Resolve 17 executable on Windows it's no longer possible to easily "spy" on which API functions are available by simply looking at the file.
On Windows...
Offline

Terry000

  • Posts: 5
  • Joined: Tue Sep 14, 2021 9:00 am
  • Real Name: Terry Born

Re: Undocumented Resolve v16.2.1 API functions

PostWed Sep 15, 2021 2:36 pm

You are a hero!
BTW, do you know the way to move a clip to the given start position in the timeline?
Offline

Terry000

  • Posts: 5
  • Joined: Tue Sep 14, 2021 9:00 am
  • Real Name: Terry Born

Re: Undocumented Resolve v16.2.1 API functions

PostWed Sep 15, 2021 3:17 pm

are the functions still available in v17?
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve v16.2.1 API functions

PostThu Sep 16, 2021 1:40 am

Terry000 wrote:You are a hero!
BTW, do you know the way to move a clip to the given start position in the timeline?

Timeline editing/navigation through scripting isn't implemented yet. You can however create a new timeline from an EDL using MediaPool.ImportTimelineFromFile(filePath, {importOptions}). See details in the BMD documentation.

Terry000 wrote:are the functions still available in v17?

Yes, they worked in v17 the last time I checked, I think it was 17.2 or 17.3.
Offline
User avatar

SeldomSeenKid

  • Posts: 390
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: Undocumented Resolve v16.2.1 API functions

PostThu Dec 02, 2021 1:27 pm

Mr. Magnusson you made my day!
Now I can start to script some procedure to synchronize the audio track selection between DVR and my midi controller.
The only thing that is still missing is a way to output the sound level of the selected track so I can fire up my level meter :twisted:
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostThu Dec 08, 2022 2:56 pm

In Resolve 18 I've found that you can no longer use "adaptive" for audioChannelSubType when adding an audio track.
bool AddTrack(string trackType, string audioChannelSubType)

You have to specify "adaptive1" up to "adaptive24" (or "mono", "stereo", "5.1film", "7.1film" like before).
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostThu Dec 08, 2022 8:41 pm

I just added this to the first post.
table TimelineItem AppendToTimeline(table clipInfo)

In addition to the documented clipInfo properties; mediaPoolItem, startFrame, endFrame and mediaType, it also accepts trackIndex and recordFrame. This means we can finally place clips anywhere on the timeline!
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve API functions

PostThu Dec 08, 2022 9:03 pm

Wow! Really?
Gonna have to try it…
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve API functions

PostFri Dec 09, 2022 8:57 am

Yes, it works!
This is awesome, good work Roger!
I found that it won’t add to a track that is occupied by a clip but you can add it to a track above it.

This opens so many possibilities.
First thing for me to do is to update my mixdown script.

Thanks again
Offline

xintongW

  • Posts: 2
  • Joined: Fri Feb 25, 2022 9:54 am
  • Real Name: Xintong Wei

Re: Undocumented Resolve API functions

PostTue Feb 07, 2023 8:10 am

MediaPool
table TimelineItem AppendToTimeline(table clipInfo)
In addition to the documented clipInfo properties; mediaPoolItem, startFrame, endFrame and mediaType, it also accepts trackIndex and recordFrame. This means we can finally place clips anywhere on the timeline!


Does this function also work on placing .exr files onto specific track and time?
I've tried this on .mov files and they worked fine. Somehow it did not do anything with .exr files...
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostWed Feb 08, 2023 10:26 pm

I haven't tried it, but I would assume it should work as long as the EXR sequence is correctly imported as a clip to the media pool.
Offline

UserNoah

  • Posts: 458
  • Joined: Fri Oct 04, 2019 3:32 pm
  • Location: Germany
  • Real Name: Noah Hähnel

Re: Undocumented Resolve API functions

PostSat Feb 18, 2023 4:50 pm

I previously posted that I was also stuck on EXRs. But I figured it out on my end. I actually just made a mistake previously which meant that I didn't get the MediaPoolItem itself but a list in which it was.

Anyone else who has issues: Besides the one deprecated function in the Add Subclips example, it is working with exrs too.

I'll post it here for easier access, I already changed the deprecated function to the current one.

Code: Select all
--[[
Example DaVinci Resolve script:
Adds subclips [frame 0 .. 23] to current timeline for all media pool root folder clips
--]]

resolve = Resolve()
projectManager = resolve:GetProjectManager()
project = projectManager:GetCurrentProject()
mediaPool = project:GetMediaPool()
rootFolder = mediaPool:GetRootFolder()
clips = rootFolder:GetClipList()

for clipIndex in pairs(clips) do
  clip = clips[clipIndex]
  videoCodec = clip:GetClipProperty()["Video Codec"]
  print(videoCodec)
  if videoCodec ~= "" then
    subClip = {}
    subClip["mediaPoolItem"] = clip
    subClip["startFrame"] = 0
    subClip["endFrame"] = 23

    if mediaPool:AppendToTimeline({ subClip }) then
      print("added subclip (first 24 frames) of \"" .. clip:GetName() .. "\" to current timeline.")
    end
  end
end

Offline

jlewis_y

  • Posts: 3
  • Joined: Fri Feb 10, 2023 3:57 am
  • Real Name: James Lewis

Re: Undocumented Resolve API functions

PostSat Feb 25, 2023 8:38 am

Roger, can you confirm if these functions work for Resolve 16 as well?

I have a client that just had to downgrade from v18 to v16 because of some bugs. And the scripts that were previously working now seem to be broken on these functions specifically:

AddTrack(string trackType, string audioChannelSubType)

TimelineItem AppendToTimeline(table clipInfo) >>specifically using the new arguments from the original post (trackIndex, recordFrame)

If they do work, do you have an example of how the syntax is different compared to v18?

Thank you!

(Apologies if this is a double post, I have another account for which posts never seem to go through)
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostMon Feb 27, 2023 6:52 pm

AppendToTimeline using clipInfo was introduced with 16.2 according to the documentation. Before that you could only append using clip objects.

I suspect the same is true for AddTrack as I was using 16.2.1 when I found it.
Offline

jlewis_y

  • Posts: 3
  • Joined: Fri Feb 10, 2023 3:57 am
  • Real Name: James Lewis

Re: Undocumented Resolve API functions

PostTue Feb 28, 2023 12:32 am

Thank you!! Worked like a charm (I was on Resolve 16.0).

To echo the sentiment of many others on this thread, such a wildly helpful post. Really expands the scripting ability. Thanks for sharing.
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 13852
  • Joined: Wed Aug 22, 2012 7:08 am

Re: Undocumented Resolve API functions

PostTue Feb 28, 2023 12:35 am

jlewis_y wrote:Roger, can you confirm if these functions work for Resolve 16 as well?


(Apologies if this is a double post, I have another account for which posts never seem to go through)


Your other account doesn’t have your full real name so I delete the posts if the name isn’t updated.
DaVinci Resolve Product Manager
Offline

arildj78

  • Posts: 9
  • Joined: Mon Nov 28, 2022 12:22 am
  • Real Name: Arild M Johannessen

Re: Undocumented Resolve API functions

PostSun Apr 02, 2023 11:25 am

This works
Code: Select all
                newClip = {
                    "mediaPoolItem" : mediaList[2],
                    "startFrame" : 1500,
                    "endFrame" : 2500,
                    "trackIndex" : 4,
                }
                mediaPool.AppendToTimeline( [newClip] )   


This don't work
Code: Select all
                newClip = {
                    "mediaPoolItem" : mediaList[2],
                    "startFrame" : 1500,
                    "endFrame" : 2500,
                    "trackIndex" : 4,
                    "recordFrame" : 12
                }
                mediaPool.AppendToTimeline( [newClip] )


Does anyone know why? I've tried many different versions of variables, all work until I insert "recordFrame" : XX or "recordFrame" : "XX"

I'm on DaVinci Resolve Studio v18.1 build 16
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostMon Apr 03, 2023 7:06 pm

You need to take into account the start timecode of the timeline. For example, if it's a 25fps timeline starting at 01:00:00:00, the 13th frame would be 90012. You can get the start frame from the current timeline using timeline.GetStartFrame().

Code: Select all
newClip = {
    "mediaPoolItem" : mediaList[2],
    "startFrame" : 1500,
    "endFrame" : 2500,
    "trackIndex" : 4,
    "recordFrame" : 90012
}
mediaPool.AppendToTimeline( [newClip] )
Offline

arildj78

  • Posts: 9
  • Joined: Mon Nov 28, 2022 12:22 am
  • Real Name: Arild M Johannessen

Re: Undocumented Resolve API functions

PostTue Apr 04, 2023 9:35 pm

Thanks!
This solved it. BTW, is it possible to set the starting timecode from the API?
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostTue Apr 04, 2023 10:06 pm

The starting timecode of the timeline? Yes, using a timecode string, not frames.
Code: Select all
timeline.SetStartTimecode(timecode)
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostSun Apr 09, 2023 4:04 am

Some new toys to play with.

  • Resolve
    • bool GetShowAllVideoFrames()
    • bool SetShowAllVideoFrames(bool enable)
    • bool GetSourceViewerMode()
    • bool SetSourceViewerMode(string mode)
      The modes I've been able to find so far are "source" and "multicam". I thought "audiotrack" would be there too but it's not.
  • Project
    • int GetPlaybackSpeed()
      I don't know how this one works. I only tried it in the console where this command won't execute until playback is stopped. So mostly it returned 0 except for a single time when it returned 1.

    • timeline GetTimelineFromUniqueId(string uniqueId)
  • Timeline
    • bool DeleteClips(table items)
  • TimelineItem
    • bool ResetCurrentVersion()
    • bool ResetNode(int nodeIndex)
    • bool SetNodeActive(string nodeLabel)
Last edited by roger.magnusson on Mon May 08, 2023 10:53 am, edited 1 time in total.
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostMon Apr 17, 2023 11:37 am

We can scratch GetClipEnabled and SetClipEnabled off the list as those are now in the 18.5 Beta 1 scripting documentation.

While there are some more new documented functions in 18.5, I haven't found any undocumented functions that weren't already there in 18.
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostWed May 24, 2023 7:24 pm

It was fun while it lasted but all of these functions are disabled in Resolve 18.5 Beta 3.
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve API functions

PostWed May 24, 2023 7:54 pm

Oh man, all of them?!
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostWed May 24, 2023 7:56 pm

Yes, unless I made some mistake. They're still there but they don't do anything and they don't return anything.
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve API functions

PostWed May 24, 2023 8:08 pm

That’s a total bummer.

I'm nearly done with this complex script that's using the append to timeline (insert) on 18.1.3.

Guess I'm gonna have to wait till they officially release the update. Really, this should've been sorted out ages ago.
Offline
User avatar

Igor Riđanović

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

Re: Undocumented Resolve API functions

PostWed May 24, 2023 8:20 pm

I wonder why these were undocumented in the first place and why are they now disabled. Some are quite useful and I have definitely used them since Roger has discovered them. I'd love to see them back in the API.
www.metafide.com - DaVinci Resolve™ Apps
Offline

UserNoah

  • Posts: 458
  • Joined: Fri Oct 04, 2019 3:32 pm
  • Location: Germany
  • Real Name: Noah Hähnel

Re: Undocumented Resolve API functions

PostWed May 24, 2023 8:38 pm

Ah damn. I created a script using an undocumented function. I assumed it could change at some point and I need to update my code but this just means I’ll avoid upgrading for now on my workstation. The script just saves too much time.
Hopefully they’ll get reintroduced soon and are no longer undocumented.
Offline
User avatar

SeldomSeenKid

  • Posts: 390
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: Undocumented Resolve API functions

PostThu May 25, 2023 7:30 am

This time we were definitely flying to close to the sun, what a pity.
Now I need to check my scripts, because I am sure I used one or the other function.
Looks like I'll stay with DR17 forever.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline

Steve Alexander

  • Posts: 4490
  • Joined: Mon Mar 23, 2015 2:15 am

Re: Undocumented Resolve API functions

PostThu May 25, 2023 12:52 pm

Disappointed that BMD doesn't engage with this group of enthusiasts. Maybe there is a better place to discuss this with their development team? Anyone know?
Time Traveller
Resolve Studio 18.6.5 | Fusion Studio 18.6.5 | Win 11 Pro (22H2) | i9-7940x, P4000 (536.96, 8GB VRAM), 64GB RAM, M.2 boot, SSD scratch, RAID10 data | (laptop) 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sonoma 14.3.1
Offline

SplitGuy

  • Posts: 2
  • Joined: Thu Jun 01, 2023 10:06 am
  • Real Name: Mike Novak

Re: Undocumented Resolve API functions

PostThu Jun 01, 2023 10:25 am

God... I spent hours and hours on my script and was finally happy with it. Tuns of features that helped me edit a lot faster, even different profiles for different clients. Creating custom timecode sync etc... Now everything adds to the end of the timeline... What a shame. I must stay at DVR 18 or spend 2x or 3x editing time. I know it wasn't official, but it could have been added. Since it was just emulating the "Place on Top" function which already is on the speed editor and as a shortcut. I would love to see some new similar thing instead. But I don't think that API is a priority... Well, back to AHK scripting...
Offline

francisqureshi

  • Posts: 12
  • Joined: Wed Dec 23, 2020 2:49 pm
  • Real Name: Francis Qureshi

Re: Undocumented Resolve API functions

PostSat Jun 03, 2023 9:25 pm

I would also love to see all these officially implemented, they are so useful!!
System:
Intel 14900K | RTX 4090 24GB | Asus z790 ProArt | Mellanox CX6 | Ultrastudio 4k Mini TB3 | Rocky 9.3
Offline

TiDa

  • Posts: 28
  • Joined: Mon Mar 25, 2013 1:05 pm

Re: Undocumented Resolve API functions

PostMon Jun 05, 2023 2:17 pm

Yep, AppendToTimeline doesn’t work with trackIndex and recordFrame anymore. Hope this was a mistake by BMD and it gets reactivated in the official version or they implement a documented code like InsertToTimeline.
Offline
User avatar

roger.magnusson

  • Posts: 3343
  • Joined: Wed Sep 23, 2015 4:58 pm

Re: Undocumented Resolve API functions

PostThu Jun 15, 2023 10:08 am

Thanks to the devs and people giving feedback many of the functions are back in 18.5 Beta 4.

All the Timeline and MediaPool functions are now documented in the BMD readme.

Hopefully some of the remaining useful functions can be re-enabled in the future. Like Project.GetTimelineFromUniqueId() and TimelineItem.SetNodeActive().
Offline

UserNoah

  • Posts: 458
  • Joined: Fri Oct 04, 2019 3:32 pm
  • Location: Germany
  • Real Name: Noah Hähnel

Re: Undocumented Resolve API functions

PostThu Jun 15, 2023 10:26 am

That’s fantastic news! Thank you so much for starting this thread in the first place!
Offline
User avatar

iddos-l

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

Re: Undocumented Resolve API functions

PostThu Jun 15, 2023 12:44 pm

Fantastic!
Thank you BMD team for officially bringing them back.

And thank you Roger as always.
Offline
User avatar

Igor Riđanović

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

Re: Undocumented Resolve API functions

PostFri Jun 16, 2023 12:36 am

It's great to have those back!
www.metafide.com - DaVinci Resolve™ Apps
Offline
User avatar

SeldomSeenKid

  • Posts: 390
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: Undocumented Resolve API functions

PostFri Jun 16, 2023 7:32 am

This is great news - indeed. Thanks a lot.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline

francisqureshi

  • Posts: 12
  • Joined: Wed Dec 23, 2020 2:49 pm
  • Real Name: Francis Qureshi

Re: Undocumented Resolve API functions

PostSun Jun 25, 2023 7:11 pm

Yay! Thats so very cool!!! Excited to share what I've been cooking up!
System:
Intel 14900K | RTX 4090 24GB | Asus z790 ProArt | Mellanox CX6 | Ultrastudio 4k Mini TB3 | Rocky 9.3

Return to DaVinci Resolve

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], David E King, Google [Bot], greenfun2, ThomasHansen and 109 guests