Simple2Ad

Q: Compressor Command Line with Automator

Hello, I was wondering if anyone knows if it's possible to attach an automator action to a job when submitted via command line.

 

It seems like the only parameter that could possibly work is the -info <xml> parameter, but there is no documentation on what to put in this field.

 

If anyone can help it would be greatly appreciated.

 

I tried some things such as this, but I am not submitting what it wants, and it returns errors:

/Applications/Compressor.app/Contents/MacOS/Compressor -batchname "1" -jobpath "/VOLUMES/storage/RENDERME.motn" -settingpath "~/Library/Application Support/Compressor/Settings/MP4.cmprstng" -locationpath "/VOLUMES/storage/RENDERME.mp4" -info "&lt;post-process&gt;&lt;jobAction kind="automator" name="Automator" flags="1" job-count="1" default-title="" fileURL="file:///Users/user1/Desktop/dostuff.workflow" isWorkflow="true"/&gt;&lt;/post-process&gt;"

 

Just rendering the file alone works fine:

/Applications/Compressor.app/Contents/MacOS/Compressor -batchname "1" -jobpath "/VOLUMES/storage/RENDERME.motn" -settingpath "~/Library/Application Support/Compressor/Settings/MP4.cmprstng" -locationpath "/VOLUMES/storage/RENDERME.mp4"

 

 

Thanks!

Posted on Dec 23, 2015 7:24 AM

Close

Q: Compressor Command Line with Automator

  • All replies
  • Helpful answers

  • by Die Fledermaus,

    Die Fledermaus Die Fledermaus Dec 28, 2015 12:52 PM in response to Simple2Ad
    Level 1 (0 points)
    Dec 28, 2015 12:52 PM in response to Simple2Ad

    Sadly no, automator has to be added within the gui, Apple has entered it into their system as a feature enhancement.  There are many things you can do from the gui that should be scriptable from the command line but are not.  Also the use of Applescript dictionaries would be helpful but I digress.