Skip to main content
Participating Frequently
October 13, 2023
Answered

Editing with multicam via script

  • October 13, 2023
  • 1 reply
  • 2224 views

Hi I'm writing a small script that cuts together clips on a sequence via extendscript. I'm having trouble figuring out how to do this with multicam -- as I'd like to ensure that I'm editing with a multicam clip so that I have access to all of the angles. Is this feasible and how?

 

Or - worst case scenario - is there a workaround (e.g. cut with the primary clip, and then option replace with a multicam sequence later. I tried dragging and dropping with the option key,  but it doesn't seem like the original timecodes of the edit are retained).

This topic has been closed for replies.
Correct answer Bruce Bullis

As you've found, a multicam sequence can be cut into another sequence. There is no supported API for getting/setting the currently active camera, within a multicam sequence. 

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
October 13, 2023

As you've found, a multicam sequence can be cut into another sequence. There is no supported API for getting/setting the currently active camera, within a multicam sequence. 

dt3792439Author
Participating Frequently
October 13, 2023

Hi - thank you for the quick response!  That is good to know about setting the active camera within the multicam sequence. I need to clarify my original question though:

 

Can I definitively cut a multicam clip into a sequence using APIs.  For some reason I haven't been been able to determine how to best script this. 

Bruce Bullis
Community Manager
Community Manager
September 3, 2024

Hi Bruce - returning to this. I am using insertClip on my existing multicam sequence (currentSequence.projectItem listed below).  However, once in there, I can't seem to access the other angles. I righ click, multicam, enable - and I get diff "angles" but 1 refers to the actual current angle, the other two actually refer to the original name of the sequence). Any tips?

 

trackItem.insertClip(
currentSequence.projectItem,
startTime,
k,
0
);

I have no direct experience with that, but have no reason to doubt your testing. 🙂