beautypg.com

Apple Compressor (4.1.2) User Manual

Page 102

background image

Chapter 6

Work smarter

102

Compressor [-resetBackgroundProcessing [cancelJobs]]
[-sharing ] [[-requiresPassword ]
| [-noPassword]] [-instances ]
[-networkInterface ] [-portRange
]

These three arguments are the minimum required to submit a batch:

Compressor -jobpath -settingpath -locationpath

Command options

This table shows the most used command options for submitting jobs:

Submission command option

Description

-computergroup

Specifies the name of the group of shared computers.

-batchname

Specifies the name of the batch.

-priority

Specifies the priority level for a job.

-jobpath

Specifies the location of the source file.

-settingpath

Specifies the location of the settings for the job.

-locationpath

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

Turns sharing of this computer on or off.

-instances

Enables additional Compressor instances.

-networkInterface

Specifies which network interface is used. If “all” is
specified as a

, all available network

interfaces are used.

-portRange

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