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

Media Encoder and Node.js

Community Beginner ,
Aug 14, 2024 Aug 14, 2024

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.

 

 

TOPICS
Export or render , How to , Import

Views

104

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

Community Beginner , Aug 16, 2024 Aug 16, 2024

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

Votes

Translate

Translate
Community Beginner ,
Aug 16, 2024 Aug 16, 2024

Copy link to clipboard

Copied

LATEST

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

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