ExtendScript createSubsequence does not preserve audio tracks
Hi - I'm trying to use createSubsequence on an existing sequence to get a sub sequence with specific in and out points. It seems to work fine except that it takes the video track but not all the audio tracks. It takes just one of the audio tracks associated with the original sequence.
Here is my code:
// given an actualSequence that exists
actualSequence.setInPoint(sourceIn);
actualSequence.setOutPoint(sourceOut);
app.project.createNewSequenceFromClips("actualsequence", actualSequence.projectItem) // just making sure this has all the audio tracks, and it does
newSequence = actualSequence.createSubsequence();
app.project.createNewSequenceFromClips("newsequence", newSequence.projectItem) // this has just one audio track along the video track
Am I doing something wrong or is this is a bug? If latter, is there another way to do what I'm trying to achieve - get a subclip with specific in and out points from a given sequence with all video/audio tracks from the original sequence?
Thanks!
Nirmal
