Welcome to WSL!

New to the forum? Please read this and this.

Resolve python API to update clips in timeline tracks

User avatar
prabu_7
Posts: 8
Joined: Sat Jul 21, 2018 4:21 am

Resolve python API to update clips in timeline tracks

#1

Post by prabu_7 »

Is there a way in Davinci Resolve to update timeline tracks like creating a new track or delete an existing track in the timeline, move a clip to the given start position in the timeline, update the track file path using Python API?

User avatar
AustinWitherspoon
Posts: 1
Joined: Thu Dec 10, 2020 11:56 am

Re: Resolve python API to update clips in timeline tracks

#2

Post by AustinWitherspoon »

There is not yet, unfortunately. Best option in my opinion would be to maybe use something like OpenTimelineIO:
https://github.com/PixarAnimationStudios/OpenTimelineIO

and build an XML/AAF manually through that, and then import it as a new sequence?

I've been doing editorial pipeline tools at a VFX company and would LOVE more control over the timeline in resolve, but they've been super slow to add anything relevant

User avatar
Igor Ridanovic
Posts: 49
Joined: Mon Apr 16, 2018 11:17 pm
Location: Los Angeles
Contact:

Re: Resolve python API to update clips in timeline tracks

#3

Post by Igor Ridanovic »

Someone was asking for a similar thing on the BMD forum the other day. Like Austin says, but I may add that you don't even need OTIO. You can just iterate the items in a current timeline, create a new timeline and append items back in the order you need. It's not an elegant solution.