Skip to main content
Inspiring
January 4, 2025
Question

Automation Blocks - Copying all video clips from one sequence to another.

  • January 4, 2025
  • 1 reply
  • 512 views

Hello @Mathias Moehl !

 

Over the last few months, you've been helping me create a suite of tools that duplicates a Primary Sequence and makes the necessary changes to that duplicate. This has allowed me to automate 11 deliverables!

Now, I've hit a wall and don't yet know how to get over it.

 

Some of my deliverable sequences have different audio settings than the Primary Sequence (multichannel instead of stereo).  Duplicating the stereo, Primary Sequence doesn't work when the deliverable sequence needs to be multichannel.

 

So I'm thinking I have two options...

-Add a function that changes the Sequence Audio Settings from Stereo to Multichannel (which I feel is impossible in Premiere without starting a new sequence).

-Copy all clips from the Stereo, Primary Sequence into a new or existing Multichannel Sequence.

So I guess that's my question - Do you have any resources to get me started on writing a script that copies all video clips from one sequence to another? It's proving difficult for me to figure out.

Hope that all makes sense!
Sam

1 reply

Mathias Moehl
Community Expert
Community Expert
January 4, 2025

Hi Sam,

copy sequence content

yes, this is suprisingly difficult to achieve. As far as I know, there is no API function to copy an entire clip including all the effects applied to it etc.
The best you can do is loop over the clips of one sequence and inserting the same project item into the new sequence and then set its in and out point. But if the clip has any effects, transitions or other modifications on it, those will not be on duplicate, unfortunately.

Sequence Audio Settings
Have you tried to set the audio channel type?


Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Inspiring
January 4, 2025

copy sequence content
Ah yes! Inserting clips using the in-out point and start-end time at sequence is something I've been experimenting with. I'm still trying to figure out how to get them inserted onto the proper tracks.

Sequence Audio Settings
I looked at that, as well. And I could only find Audio Channel type in the 'get property' block, not the 'set property' block. Am I missing something?

Mathias Moehl
Community Expert
Community Expert
January 5, 2025

Oh, yes, you are right! I just checked by directly using Premiere Pro's API function to change this setting:

 

 

Trying to set settings where the audioChannelType has been changed causes an error. That must also have been the reason why I removed it from Automation Blocks "set property" block. So unfortunately, it is read only.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects