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

Not able to encode After effects composition using Media encoder Bridgetalk

Participant ,
May 07, 2020 May 07, 2020

Copy link to clipboard

Copied

Hi,

We are trying to render After effects composition with some specific presets using Media Encoder by using BridgeTalk to pass the composition to AME. When calling the addDLToBatch function we are getting Bad digit in number error.

We think its due to the dynamicLinkGUID we are passing to AME.

function CreateBridgeTalkMessage() { 
var bt = new BridgeTalk(); 
bt.target = "ame"; 
var GUID=app.project.items[2].dynamicLinkGUID;
var myScript = "addToQueue = " + addToQueue.toSource() + "\r"; 
myScript += "addToQueue("+GUID+");"; 
bt.body = myScript; 

bt.onResult = function(resObj) {

}
bt.onError = function(msg) { 
alert("error");
}
bt.send(100); 
}

function addToQueue(guid) { 
var fe=app.getFrontend();
fe.addDLToBatch("test.aep","AVI","custom.epr",guid,"new.avi");
}

Can you please give your suggestions on this problem.

TOPICS
How to , Import and export , SDK

Views

443

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
no replies

Have something to add?

Join the conversation