Skip to main content
Inspiring
November 10, 2022
Question

How to Queue premiere project on media encoder in another PC over LAN.

  • November 10, 2022
  • 1 reply
  • 492 views

Hi there,

I have premeire project to render and i have jsx file which contains below contents to queue in media encoder.

/////////////////////////////////////////queue.jsx/////////////////////////////////////

var ProjPath="\\\\192.168.150.8\\AB_Matte_Renders\\CBSE12MAT11\\AHB\\PP\\CBSE12MAT11ST006IA009.prproj";
var presetpath_4k="\\\\192.168.150.8\\AB_Matte_Renders\\PP_automate\\presets\\4k_ahb_cbr75.epr";
var outpath="\\\\192.168.150.8\\AB_Matte_Renders\\PP_automate\\out\\myout.mp4";
var guid="aa14ef49-55e8-4034-97ac-282aad4d564a";
var format="H.264";
app.getFrontend().addDLToBatch(ProjPath,format, presetpath_4k, guid, outpath);
 
//////////////////////////
 
Now am using bat file below to queue in media encoder.
////////////////run.bat//////////////////
"C:\Program Files\Adobe\Adobe Premiere Pro 2022\Adobe Premiere Pro.exe" --console es.processFile "queue.jsx"
///////////////////////
When media encoder is closed and run the bat file it works fine and queues it.
When media encoder is already open and run the bat, it doesn't queue and error pops up crashes.
//////////////////////
My main objective is to queue in media encoder in another PC over lan.
I thought i ll use thinkbox deadline to execute the bat file in another pc so that it queues in media encoder there.
Its working fine again when media encoder is closed and run bat file but crashes when media encoder is already open and run the bat file.
/////////////
Is there any other method to acheive the same?
This topic has been closed for replies.

1 reply

Participant
January 16, 2023

I have the same issue on a Mac. Sending a second --console .es.processFile command tries to launch a second copy of AME which crashes because shared resources are locked for the running instance. I haven't found a solution yet. 

Inspiring
January 17, 2023

I solved it by creating a listner script to run in render machines AME.

 

Process is like below.

First script is to create wrapper object from premiere pro and save as or keep overwriting file lets say myEdit_wrapper.

 

Second script will be running in time loop at render machine AME and it checks for the latest myEdit_wrapper object file and if its latest than last checked then that wrapper object will be queued.