• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to find a trackitem with QE scripting

Contributor ,
Oct 17, 2021 Oct 17, 2021

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.

TOPICS
How to , SDK

Views

289

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Oct 17, 2021 Oct 17, 2021

> I need to find a track item through the QE functions.

 

As previously stated, the QE DOM is officially unsupported, and not recommended.

 

 

Votes

Translate

Translate
Adobe Employee ,
Oct 17, 2021 Oct 17, 2021

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.

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 02, 2021 Nov 02, 2021

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 02, 2021 Nov 02, 2021

Copy link to clipboard

Copied

LATEST

Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines