Launching Media Encoder via a Script not working
Copy link to clipboard
Copied
I launch media encoder via script. It says it's launched but in fact it is not. I submit .epr to render as mp4. It works on one computer but does not on another and render .aac instead.
Mod note: Edited for content. Please abide by Adobe Community Guidelines. These are user-to-user forums.
1 Pinned Reply
Hi,
Thanks for the note. It sounds like you are having trouble with your script, which does not work on some computers. I suggest you reach out directly to support here: https://www.adobe.com/about-adobe/contact.html
Perhaps also we can get help from engineering management to help you with your script. @Bruce Bullis might be able to assist you. I hope so.
Thanks,
Kevin
Copy link to clipboard
Copied
Hi,
Thanks for the note. It sounds like you are having trouble with your script, which does not work on some computers. I suggest you reach out directly to support here: https://www.adobe.com/about-adobe/contact.html
Perhaps also we can get help from engineering management to help you with your script. @Bruce Bullis might be able to assist you. I hope so.
Thanks,
Kevin
Copy link to clipboard
Copied
Your support is clueless and @bruce never responded to any of my questions in a way that was helpful. It is either condescending or useless. So it is just a waste of time. I don't know why I even write something here. Nevermind.
Copy link to clipboard
Copied
Sorry about that. I'm afraid scripting might be beyond the scope of the assisted support organization. I will let the team know. Perhaps @eckiAMETeam can comment. I do hope you find a solution. Good luck.
Thanks,
Kevin
Copy link to clipboard
Copied
Specifically, how are you attempting to launch AME, 'via script'?
Copy link to clipboard
Copied
specifically using your example from the Samples git repo
app.encoder.launchEncoder();
it returns success and job id but in fact does nothing (does not start and does not rendre if it is already open).
Copy link to clipboard
Copied
Confirming: app.encoder.launchEncoder() returns a job ID, on your system?
Copy link to clipboard
Copied
no, app.encoder.launchEncoder() returns success true but does not start media encoder. When I add a job to queue it returns job id but there is nothing in the queue.
Copy link to clipboard
Copied
I've confirmed that PProPanel's "Render active sequence in AME" button works correctly on MacOS X, with current PPro and AME.
Does queueing to AME work correctly on your system, when invoked from within an unmodified copy of PProPanel?
Copy link to clipboard
Copied
Hello Yashkovskiy,
I am sorry that this is not working on your computer. I can well understand how frustrating that is. But there may be something I can help with. I looked in the documentation https://ppro-scripting.docsforadobe.dev/general/encoder.html
and it says, "Returns a job ID as a string for the render job that was added to the AME queue, or 0 if it was unsuccessful."
So if you get 0, it means the job was not successful. Can you please check this?
Copy link to clipboard
Copied
It gets exhausting to explain the same thing over and over. It returns a VALID ID. Don't treat your developers community as stupid. I can distinguish a 0 from a string. And it WORKS on MY computer. It DOESN'T on multiple computers of our customers (your customers as well). It's impressive that you cannot make a button to "generate report" and stop torturing people with your questions. There are also things like auto-tests.

