Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

[Feature Requests] For Inserting/Moving/Removing Clips

$
0
0

Hello,

 

Reading through forum posts I've seen a few times where a moderator has added to feature requests.  I'm not sure if there is an official place to make them, but I'd love to see these features:

 

insertClip() :  add a bool to the existing method which ripple shifts all tracks (I'd also like to add my vote for the ability to insert just the audio or just the video)

removeClip() :  method to remove a clip from a sequence

moveClip() :  method to move a clip already in a sequence to a new start time and/or track number

 

and/or this could be useful:

nestClips() : create a sequence from the selected clips (although if I could delete clips I could just ignore channel mappings with createSubsequence() and then re-import the new Sequence with insertClip(), I think.

 

Also, I'm a few hundred lines of code into scripting a custom panel to use in my day job as a video editor, and I've already made workarounds for the following things that I thought should be pretty simple but couldn't find in the API:

 

projectItem.Bin :  the bin that a project item is in (useful for cloning or importing into the same bin)

project.allItems :  a collection of all project items (or something like project.sequences for bins, files, etc; useful for iterating)

 

If there are any known workarounds for the inserting, moving, or removing clips, I'd love to hear them!  Otherwise I will have to set this script aside for now since I can't get it working with the API as is, though I'll begin working on other scripts for the panel.  Essentially, this script is a version-maker, where an existing sequence is cloned and renamed any number of times (according to check boxes), replacing certain clips each time with clips in the same drive folder (all identified by a standard naming convention).  Unfortunately, certain versions need title and end slates, and the end slates aren't a problem, but trying to add the title slates breaks the edit because it misaligns the target track from all other tracks. 

 

Thanks!


Viewing all articles
Browse latest Browse all 53010


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>