Is Adobe Media Encoder scriptable with ExtendScript?

extendscript

Solution

Adobe media encoder is 'officially' not scriptable but we can use extend script API for scripting AME. Below functions are available through extend script

1.Adding a file to batch

Encode progress

host = App.GetEncoderHost (); 

enc = EHost.CreateEncoderForFormat ( "QuickTime");

flag = Enc.LoadPreset ( "HD 1080i 29.97, H.264, AAC 48 kHz"); 
an if (flag) { 
f = enc.encodeEncodeProgress 
= function (progress) { 
$ .writeln (progress); 
} 
eHost. enc.encode ("/ Users / test / Desktop / 00000.MTS", "/Users/test/Desktop/0.mov"); 
} else { 
alert ("The preset could not be loaded "); 
} 

encode end

ehost = App.GetEncoderHost (); 
enc = EHost.CreateEncoderForFormat ( "QuickTime"); 
flag = Enc.LoadPreset ( "HD 1080i 29.97, H.264, AAC 48 kHz"); 
an if (flag) { 
f = enc.onEncodeFinished 
= function (success) { 
if (success) { 
alert ("Successfully encoding has ended "); 
} Else { 
Alert (" failed to encode "); 
} 
} 
EHost.RunBatch (); 
} Else { 
Alert (" preset could not be read "); 
} 

2.Start batch

eHost = app.getEncoderHost (); 

eHost.runBatch (); 

3.Stop batch

eHost = app.getEncoderHost ();

eHost.stopBatch (); 

4.Pause batch

eHost = app.getEncoderHost (); 

eHost.pauseBatch ();

5.Getting preset formats

EHost = App.GetEncoderHost (); 

List = EHost.GetFormatList (); 

6.getting presets

eHost = app.getEncoderHost (); 

enc = eHost.createEncoderForFormat ("QuickTime"); 

list = enc.getPresetList (); 

and many more...

The closest bits of info I've found are: http://www.openspc2.org/book/MediaEncoderCC/

The latter resource is actually good, if you can read japanese, or at least use the Chrome built-in translate function, then you can see it has resources such as this one:

http://www.openspc2.org/book/MediaEncoderCC/easy/encodeHost/009/index.html

We can perform almost all basic functionalities through script.

Problem

Is Adobe Media Encoder (AME) Scriptable? I've heard people mention it was "officially scriptable" but I can't find any reference to its scriptable object set. Has anyone had any experience scripting AME?

Original source