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

Is there a way can more fast importMGT() in Adobe CEP?

New Here ,
May 19, 2023 May 19, 2023

Copy link to clipboard

Copied

i used PProPanel in github (https://github.com/Adobe-CEP/Samples/tree/master/PProPanel)

and i try to insert more than thousand mogrt by importMogrt() because of subtitles.

but it's so slow in importMGT function because of load mogrt.

 

if (mogrtToImport) {
				var audTrackOffset = 0;
				var newTrackItem = activeSeq.importMGT(mogrtToImport.fsName, startTick, vidTrackOffset, audTrackOffset);
				if (newTrackItem) {
					var moComp = newTrackItem.getMGTComponent();
				}
}

this is my code that importMoGRT : function, and it require almost one mogrt as 2 seconds.

is there a way can more fast importMGT?

thank you

TOPICS
SDK

Views

142

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 , May 20, 2023 May 20, 2023

The speed of .mogrt import is dictated by the size and complexity of the .mogrt; there is no way around loading the .mogrt.

Votes

Translate

Translate
Adobe Employee ,
May 20, 2023 May 20, 2023

Copy link to clipboard

Copied

LATEST

The speed of .mogrt import is dictated by the size and complexity of the .mogrt; there is no way around loading the .mogrt.

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