Posted By

sq1labs on 08/12/11


Tagged

batch Processing utility os x compressor


Versions (?)

Apple Compressor Command Line Batch Submission


 / Published in: Bash
 

cd into sourcepath directory and then run command. destpath must have same tree structure as sourcepath

Crawls a directory and submits all .mov files encountered to Compressor command line, needs same tree structure at destination (Compressor 4) - example is prores hq setting

  1. cd sourcepath
  2.  
  3. find . -maxdepth 4 -type f -name "*.mov" -print0 | xargs -0 -I MYFILES /Applications/Compressor.app/Contents/MacOS/Compressor -clustername "mymachine cluster" -batchname "MYFILES" -jobpath MYFILES -settingpath /Applications/Compressor.app/Contents/Resources/Settings/ProRes/proResHQName.setting -destinationpath /destpath/MYFILES -timeout 5

Report this snippet  

You need to login to post a comment.