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

Communicating with AME

Participant ,
Jul 18, 2016 Jul 18, 2016

Using the HTML Panels/JS, not the SDK.

Is there API Access to communicate with Media Encoder through AFX? Events, methods, something?

I've looked through the app connection in ESTK and don't see anything.

I want to reliably communicate, not just say "send to Media Encoder."

I want to communicate about a specific AME Job ID that I might have, get the status, and perform an action whenever that job is finished.


Is this possible?

TOPICS
Scripting
1.6K
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 Correct answer

Advocate , Jul 20, 2016 Jul 20, 2016

Todd gave an official answer here a little over a year ago, saying:

Scripting in Adobe Media Encoder is not a supported feature.

Adobe Media Encoder & ExtendScript Toolkit

There are also script tools like AEmpeg that will do custom render outputs using ffmpeg.

AEmpeg - aescripts + aeplugins - aescripts.com

My guess though is that you have a pipeline already in place using AME, so it would be a better solution if you had direct access to AME though ExtendScript. Unfortunately, it may be some time befo

...
Translate
Advocate ,
Jul 20, 2016 Jul 20, 2016

Todd gave an official answer here a little over a year ago, saying:

Scripting in Adobe Media Encoder is not a supported feature.

Adobe Media Encoder & ExtendScript Toolkit

There are also script tools like AEmpeg that will do custom render outputs using ffmpeg.

AEmpeg - aescripts + aeplugins - aescripts.com

My guess though is that you have a pipeline already in place using AME, so it would be a better solution if you had direct access to AME though ExtendScript. Unfortunately, it may be some time before any real ExtendScript control for AME comes to light.

With that said, I tried a few things and found some ExtendScript code for AME, BUT, as it states in the "ExtendScript Toolkit ReadMe.pdf" under the 3.1 Cross-Suite Script Debugging Not Supported section:

Although it is possible to target a non-Creative application and run it from the ESTK CC, such a cross-suite scripting workflow is not supported. The script may or may not execute as expected within the target application.

So while you may be able to target AME within ESTK, it may or may not work like you want it to. Also these are undocumented by Adobe, so they may disappear at any point, and will never be supported by Adobe. SO you're not gonna find much help from them on this either.
I ran alerts of the reflection object to gather possible properties and methods from AME CC2014. There could be more than what I found. I have not tested any of these, nor do I take any responsibility for them. !!!!!USE AT YOUR OWN RISK!!!!!!
BASE PROPERTIES AND METHODS

NaN

Infinity

undefined

app

$

Math

encodeURI()

encodeURIComponent()

decodeURI()

decodeURIComponent()

escape()

eval()

uneval()

isFinite()

isNaN()

parseInt()

parseFloat()

unescape()

localize()

isXMLName()

setDefaultXMLNamespace()

alert()

confirm()

prompt()

Object()

Function()

File()

Folder()

Array()

Boolean()

Date()

Error()

Number()

RegExp()

String()

APP PROPERTIES AND METHODS

app.launchTime

app.assertToConsole()

app.renderFrameSequence()

app.getEncoderHost()

app.getExporter()

app.quit()

app.getBuildNumber()

app.simulateUIEvents()

app.scheduleTask()

app.cancelTask()

app.wait()

app.getWatchFolder()

app.getFrontend()

app.toLocaleString()

app.hasOwnProperty()

app.propertyIsEnumerable()

app.isPrototypeOf()

app.toSource()

app.unwatch()

app.watch()

HELPER PROPERTIES AND METHODS

$.error

$.version

$.build

$.buildDate

$.global

$.stack

$.level

$.flags

$.strict

$.locale

$.localize

$.decimalPoint

$.memCache

$.appEncoding

$.screens

$.os

$.fileName

$.line

$.hiresTimer

$.dictionary

$.engineName

$.includePath

$.about()

$.toString()

$.write()

$.writeln()

$.bp()

$.getenv()

$.setenv()

$.sleep()

$.colorPicker()

$.evalFile()

$.list()

$.listLO()

$.summary()

$.gc()

MATH PROPERTIES AND METHODS

Math.E

Math.LN10

Math.LN2

Math.LOG2E

Math.LOG10E

Math.PI

Math.SQRT1_2

Math.SQRT2

Math.abs()

Math.acos()

Math.asin()

Math.atan()

Math.atan2()

Math.ceil()

Math.cos()

Math.exp()

Math.floor()

Math.log()

Math.max()

Math.min()

Math.pow()

Math.random()

Math.round()

Math.sin()

Math.sqrt()

Math.tan()

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
Participant ,
Jul 20, 2016 Jul 20, 2016

Thanks, David.

We've actually moved on from attempting to communicate with Media Encoder, as it is a very barren landscape.
But thanks for taking the time to put that together, it'll be great reference.

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
Contributor ,
Jul 21, 2016 Jul 21, 2016
LATEST

Great work and appreciated as always, David

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