4.1.2
Table Of Contents
- Contents
- Chapter 1: What’s new in Compressor?
- Chapter 2: Compressor basics
- Chapter 3: Simple transcoding
- Chapter 4: Advanced adjustments
- Chapter 5: Advanced tasks
- Chapter 6: Work smarter
- Glossary
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>
Species the name of the group of shared computers.
-batchname <name>
Species the name of the batch.
-priority <value>
Species the priority level for a job.
-jobpath <url>
Species the location of the source le.
-settingpath <url>
Species the location of the settings for the job.
-locationpath <url>
Species the destination le URL for the job.
This table shows command options for conguring 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 o the password requirement.
-sharing <on | off>
Turns sharing of this computer on or o.
-instances <number>
Enables additional Compressor instances.
-networkInterface <bsdname>
Species which network interface is used. If “all” is
specied as a
<bsdname>, all available network
interfaces are used.
-portRange <startNumber> <count>
Species 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 le, 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










