Copy link to clipboard
Copied
Hello,
I want to automate submitting files to AME and encoding them with a preset...when the job is complete I want to send a REST API command to a Autodesk Shotgrid server indicating the job is complete / succeeded.
I don't think I can send the REST command using ExtendScript so I have been trying to wrap the job in a node.js script and submit with a child_process.
I can set off the processing fine, no problem.
but I cannot get response from the event listener in ExtendScript back into node.js, the job completes inside AME, but the node.js script does not continue....the child_process never ends.
Is anyone doing AME -> Shotgrid another way ?
Has anyone succeeded in getting callbacks from ExtendScript back up to a parent process?
Not married to this approach if there is a better approach to this.
After testing,
Adobe Media Encoder doesn't support any return callbacks to parent process.
And there isn't any way to connect AME to Autodesk Shotgrid and update a status.
The work around you have to use is a python that creates a temp .jsx file and submits that to AME, python can watch the output folder till the file size stops changing and continue to post an update.
Cheers
Copy link to clipboard
Copied
After testing,
Adobe Media Encoder doesn't support any return callbacks to parent process.
And there isn't any way to connect AME to Autodesk Shotgrid and update a status.
The work around you have to use is a python that creates a temp .jsx file and submits that to AME, python can watch the output folder till the file size stops changing and continue to post an update.
Cheers