Apple Compressor (4.1.2) User Manual
Page 102

Chapter 6
Work smarter
102
Compressor [-resetBackgroundProcessing [cancelJobs]]
[-sharing <on|off>] [[-requiresPassword <password>]
| [-noPassword]] [-instances <value>]
[-networkInterface <bsd name>] [-portRange <starting port>
<count>]
These three arguments are the minimum required to submit a batch:
Compressor -jobpath <path> -settingpath <path> -locationpath <path>
Command options
This table shows the most used command options for submitting jobs:
Submission command option
Description
-computergroup <name>
Specifies the name of the group of shared computers.
-batchname <name>
Specifies the name of the batch.
-priority <value>
Specifies the priority level for a job.
-jobpath <url>
Specifies the location of the source file.
-settingpath <url>
Specifies the location of the settings for the job.
-locationpath <url>
Specifies the destination file URL for the job.
This table shows command options for configuring shared computers:
Submission command option
Description
-resetBackgroundProcessing [cancelJobs]
Resets background processing and optionally cancels
queued jobs.
-requiresPassword [password]
Requires a password to share this computer.
-noPassword
Turns off the password requirement.
-sharing <on | off>
Turns sharing of this computer on or off.
-instances <number>
Enables additional Compressor instances.
-networkInterface <bsdname>
Specifies which network interface is used. If “all” is
specified as a
<bsdname>
, all available network
interfaces are used.
-portRange <startNumber> <count>
Specifies the starting port range and the number of
ports to use.
Example: Compressor commands
The following are examples of code used for submitting common Compressor commands.
Important:
If you’re using an image sequence as a source file, you must use a URL for the path
in -jobpath.
Submit a job
The following command submits a job.
Important:
The command below must be executed on one line.
/Applications/Compressor.app/Contents/MacOS/Compressor
-batchname "My First Batch" -jobpath ~/Movies/
MySource.mov -settingpath ~/Library/Application\
Support/Compressor/Settings/Apple\ Devices\ HD\ \
(Custom\).cmprstng -locationpath ~/Movies/MyOutput.m4v
67% resize factor