ng25550016
New Here
ng25550016
New Here
Activity
‎Mar 19, 2025
01:39 PM
Hi Dan, Thank you for the reply! I tried the code you linked to and I see that the subsequence created (newSequence) does preserve the audio tracks, which is great! I have two follow-up questions: 1. I'm trying to create a new sequence from a few such clips/subsequences using the createNewSequenceFromClips method. When I try the below (with just one subsequence, newSequence), I only get 1 audio track in "newsequence 0" even though newSequence does have all 3 audio tracks: var subsequenceProjectItem = newSequence.projectItem; app.project.createNewSequenceFromClips("newsequence 0", subsequenceProjectItem) Here's a screenshot of newSequence (which was created using createSubsequence), and the "newsequence 0" sequence that was created from newSequence's projectItem. My hope is to have many projectItems (each corresponding to a sequence created using createSubsequence) to be combined via app.project.createNewSequenceFromClips. Maybe this isn't the best way to do this? 2. Another issue I'm seeing is that the actualSequence from which newSequence was created behaves a bit differently. When I play actualSequence, I hear audio track A3. But when I play newSequence, even though A3 is present, I do not hear it. Here's a screenshot of the two of them. None of the tracks are muted. The actualSequence clip is multicam so I'm not sure if that's the reason they look/behave different. Thanks for your help! Nirmal
... View more
‎Mar 18, 2025
07:39 PM
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
... View more