Copy link to clipboard
Copied
I need to find a track item through the QE functions. I saw that getItemAt (number) exists but I didn't understand exactly what number to pass to the function.
var num = (mainSeq.videoTracks.numTracks)-1;
var insertedSub = main.getVideoTrackAt(num).getItemAt(???????);
Or is there another particular way to find a track item or an array of track items in QE?
With the basic functions I would use:
var insertedSub = mainSeq.videoTracks[0].clips;
but I need to work with QE for this operation.
Thanks a lot.
> I need to find a track item through the QE functions.
As previously stated, the QE DOM is officially unsupported, and not recommended.
Copy link to clipboard
Copied
> I need to find a track item through the QE functions.
As previously stated, the QE DOM is officially unsupported, and not recommended.
Copy link to clipboard
Copied
Using QE DOM you must know that clips and gaps in tracks are the same. For example, if your sequence contents only one trackitem at TC (00:00:01:00 - 00:00:04:00), its index is 1, and index 0 has gap at TC (00:00:00:00 - 00:00:01:00). You must create the function for translating clip indexes into QE DOM clip indexes. It's not difficult.
Copy link to clipboard
Copied
Thank you!