Page 1 of 1

Get audio level & cut/delete clip using API

PostPosted: Sat Jan 14, 2023 12:52 am
by birdus
In the Scripting readme file, I don't see how I can get the audio level of a frame of audio or how I can cut a clip at a specified frame or how I can delete clips from a track. Am I missing those things somewhere in there?

Thanks,
Jay

Re: Get audio level & cut/delete clip using API

PostPosted: Sat Jan 14, 2023 2:16 pm
by roger.magnusson
Unfortunately those types of operations aren't supported at this time.

Re: Get audio level & cut/delete clip using API

PostPosted: Sat Jan 14, 2023 6:25 pm
by birdus
Thanks for the reply.

Jay

Re: Get audio level & cut/delete clip using API

PostPosted: Sun Mar 05, 2023 1:43 am
by Haku78649767
birdus wrote:In the Scripting readme file, I don't see how I can get the audio level of a frame of audio or how I can cut a clip at a specified frame or how I can delete clips from a track. Am I missing those things somewhere in there?

Thanks,
Jay


Is it supported now? I want to automate some processes for cutting.

Re: Get audio level & cut/delete clip using API

PostPosted: Mon Mar 06, 2023 7:30 pm
by roger.magnusson
There have been very few updates to the public API in recent years. Point releases of Resolve like the one released today usually don't have any scripting updates at all. Maybe when the next minor or major version is released we'll see something new.

Re: Get audio level & cut/delete clip using API

PostPosted: Tue Mar 07, 2023 7:38 am
by Anthony Lunt
I have really enjoyed this thread and discussion by the people.

Re: Get audio level & cut/delete clip using API

PostPosted: Fri Mar 10, 2023 11:23 am
by mazz23
Hi

I too would like to automate certain edit functions and have looked in vain at using the API for this. Anyone has any suggestions on how to achieve these actions for a specific placement of the playhead on the edit page

- cut all video tracks
- set keyframes on first frame of newly created clips for transform and crop
- set different clip attributes a number of frames later and set easy-in/out for these

My use case is multicam editing where I need different tracks in various PIP composits and smooth transitions between them.

I can't see how to do in with scripting. I've toyed with keyboard maestro on mac (or could us autohotkey on windows), but that seems quite difficult as well as you can't map everything to shortcuts (setting keyframes and transform values for instance) and mouse events are difficult to rely on as dependent on GUI and screen.

Any suggestions most welcome

Re: Get audio level & cut/delete clip using API

PostPosted: Fri Mar 10, 2023 4:09 pm
by roger.magnusson
Unfortunately it's not possible to do any of that through the public Resolve API at this time.

Fusion compositions can be scripted completely, but not Resolve timelines.

Re: Get audio level & cut/delete clip using API

PostPosted: Sun Mar 12, 2023 8:13 am
by mazz23
Thanks for your reply, Roger. I sincerely hope they'll open up the API for this (or that someone somewhere figured another way).

Re: Get audio level & cut/delete clip using API

PostPosted: Thu Apr 06, 2023 12:05 pm
by frstrtWNLEs
So you can't do this with Premier Pro, You can't do this with Resolve, You can't do this with Final Cut Pro,

Do the people that make this software understand that that is the WORST part of editing a video?
And It might be the EASIEST to fix?

I mean look at Timebolt ... Its a complete piece of crap thanks to its lousy user experience/interface, and its But it is on to something.

Same thing with Recut. I feel for one of the posters in here who is doing multicam stuff as that is what I do as well. Going through Both Video and cutting them (based on the same audio time track is a waste of time).

It sounds like if I develop a web based app that would cut a timeline, and find some way to auto add smooth transitions, Zooms, Pans, etc I have at 8 least customers ...

Re: Get audio level & cut/delete clip using API

PostPosted: Wed Oct 04, 2023 9:10 am
by andreasvoss
+1

I also need to cut and trim clips using API. I'm adding Voice-Overs to interviews using Python. Sometimes there are large gaps between spoken phrases and then I need to cut and trim to reduce these.

Thanks,
Andreas