Skip to main content
Inspiring
May 7, 2020
Question

Not able to encode After effects composition using Media encoder Bridgetalk

  • May 7, 2020
  • 0 replies
  • 506 views

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.

This topic has been closed for replies.