Skip to main content
Participant
May 20, 2023
Answered

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

  • May 20, 2023
  • 1 reply
  • 325 views

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

This topic has been closed for replies.
Correct answer Bruce Bullis

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

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
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.