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

Launching Media Encoder via a Script not working

Explorer ,
Jun 12, 2023 Jun 12, 2023

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.

496
Translate
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 Pinned Reply

Adobe Employee , Jun 12, 2023 Jun 12, 2023

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

Translate
Adobe Employee ,
Jun 12, 2023 Jun 12, 2023

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

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio
Translate
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
Explorer ,
Jun 12, 2023 Jun 12, 2023

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.

Translate
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
Adobe Employee ,
Jun 13, 2023 Jun 13, 2023

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

Kevin Monahan - Sr. Community & Engagement Strategist – Pro Video and Audio
Translate
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
Adobe Employee ,
Jun 13, 2023 Jun 13, 2023

Specifically, how are you attempting to launch AME, 'via script'?

Translate
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
Explorer ,
Jun 13, 2023 Jun 13, 2023

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).


Translate
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
Adobe Employee ,
Jun 13, 2023 Jun 13, 2023

Confirming: app.encoder.launchEncoder() returns a job ID, on your system?

Translate
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
Explorer ,
Jun 13, 2023 Jun 13, 2023

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.

 

Translate
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
Adobe Employee ,
Jun 13, 2023 Jun 13, 2023

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? 

Translate
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
Adobe Employee ,
Jun 14, 2023 Jun 14, 2023

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?

Translate
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
Explorer ,
Jun 14, 2023 Jun 14, 2023
LATEST

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. 

Translate
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