Use the command line to submit compressor jobs – Apple Compressor (4.1.2) User Manual
Page 101

Chapter 6
Work smarter
101
Manually configure SMB file sharing
Important:
If you’ve already set up your own file sharing system, you can skip this task and go to
the next one.
1
In Mac OS X, choose Apple menu > System Preferences.
2
Click Sharing.
3
In the Sharing preferences pane, select the File Sharing checkbox on the left to turn on file sharing.
You can confirm that SMB sharing is on by clicking the Options button and verifying that the
“Share files and folders using SMB” checkbox is selected.
Manually mount the SMB volume you enabled
For each computer in your shared computer group, or for any computer you wish to have access
to the shared volume, do the following:
1
In OS X Finder, choose Go > Connect to Server.
2
In the window that appears, enter the server address for the SMB volume that you want to
mount, and then click Connect.
For example, you could enter “smb://MySuperServer.”
3
In the window that appears, select an authentication method, enter appropriate credentials to
access the shared volume, and click Connect.
4
In the window that appears, select the volume that you want to mount and click OK.
If you are using one computer for submitting Compressor batches and another computer
for file sharing, be sure to mount the shared volume on the computer you’re using to submit
Compressor batches.
Use the command line to submit Compressor jobs
Shell commands overview
If you are accustomed to doing your work from Terminal shells, you can run the Compressor
application from the command line using the
Compressor
command. There are a number of
command-line options for submitting jobs.
In the command-line descriptions in this section, angle brackets < > indicate a mandatory
argument in a command, and brackets [ ] indicate an optional argument.
Synopsis
Below is a synopsis of the command for submitting a job to a cluster. The
Compressor
command is located in <PATH>/Compressor.app/Contents/MacOS.
Important:
The command below must be executed on one line.
Compressor [-computergroup <name>] [-batchname <name>]
[-priority <value>] -jobpath <file>[?frameRate=<frame rate>
|?audio=<file>|?frameRate=<frame rate>\&audio=<file>]
-settingpath <setting> -locationpath <file>
[-info <xml>] [-scc <file>] [-startoffset <hh:mm:ss:ff>]
[-in <hh:mm:ss:ff> [-out <hh:mm:ss:ff> [-annotations <file>]
[-chapters <file>]
Compressor -checkstream <file>
Compressor -findletterbox <file>
Compressor -help
67% resize factor