Get audio level & cut/delete clip using API

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

birdus

  • Posts: 55
  • Joined: Fri Dec 21, 2018 6:54 am
  • Real Name: Jay Williams

Get audio level & cut/delete clip using API

PostSat Jan 14, 2023 12:52 am

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
Offline
User avatar

roger.magnusson

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

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

PostSat Jan 14, 2023 2:16 pm

Unfortunately those types of operations aren't supported at this time.
Offline

birdus

  • Posts: 55
  • Joined: Fri Dec 21, 2018 6:54 am
  • Real Name: Jay Williams

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

PostSat Jan 14, 2023 6:25 pm

Thanks for the reply.

Jay
Offline

Haku78649767

  • Posts: 2
  • Joined: Sun Mar 05, 2023 1:40 am
  • Real Name: Yugo Harago

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

PostSun Mar 05, 2023 1:43 am

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.
Offline
User avatar

roger.magnusson

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

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

PostMon Mar 06, 2023 7:30 pm

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.
Offline

Anthony Lunt

  • Posts: 10
  • Joined: Wed Feb 22, 2023 6:11 am
  • Location: United States
  • Real Name: Anthony Lunt

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

PostTue Mar 07, 2023 7:38 am

I have really enjoyed this thread and discussion by the people.
Offline

mazz23

  • Posts: 9
  • Joined: Sat Feb 06, 2016 12:33 pm
  • Real Name: Mads Astvad

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

PostFri Mar 10, 2023 11:23 am

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
Offline
User avatar

roger.magnusson

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

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

PostFri Mar 10, 2023 4:09 pm

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.
Offline

mazz23

  • Posts: 9
  • Joined: Sat Feb 06, 2016 12:33 pm
  • Real Name: Mads Astvad

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

PostSun Mar 12, 2023 8:13 am

Thanks for your reply, Roger. I sincerely hope they'll open up the API for this (or that someone somewhere figured another way).
Offline

frstrtWNLEs

  • Posts: 2
  • Joined: Wed Mar 15, 2023 1:15 pm
  • Real Name: Derek W West

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

PostThu Apr 06, 2023 12:05 pm

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 ...
Offline

andreasvoss

  • Posts: 3
  • Joined: Sat Jan 14, 2023 9:33 am
  • Location: Germany
  • Real Name: Andreas Voss

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

PostWed Oct 04, 2023 9:10 am

+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

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 13 guests