beautypg.com

Example: compressor commands – Apple Compressor (4.0) User Manual

Page 208

background image

Chapter 7

Advanced functions

208

Submission command option

Description

‑clusterid

address:port number>

Optionally, you can use

‑clusterid

to enter the

cluster ID (IP address) and port number instead of
using

‑clustername

. (When you enter the cluster

ID and port number, less time is required to find the
cluster on the network.) Enclose the IP address and
port as follows:

"tcp://:"

Also, if your cluster requires a password,
you must supply a password that is set for
QuickClusters in the Apple Qmaster Sharing
window in Compressor, or for manually created
clusters, in Apple Qadministrator. The format is

‑clusterid [username:password]@

address>:

. The user name is not checked,

so it can be any user name, but the password
must be valid. You can also use

‑password

with

‑clusterid

as follows:

‑clusterid @:

‑password

Use

Compressor

‑show

to see a cluster’s IP address and port number

(clusterid).

‑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.

‑destinationpath

Specifies the destination file URL for the job.

‑info

Gives detailed information for a batch or a job.

‑timeout

Use to specify the number of seconds before
Compressor can quit when looking for a cluster.
The default value is 30. A value of 0 puts no limit on
the timeout and allows Compressor to browse the
network for as long as it needs to find the cluster.

‑show

Shows the ID information for the cluster specified
with

‑clustername

or

‑clusterid

, or for all

clusters if no cluster is specified.

‑help

Displays information regarding the required
parameters for the

Compressor

command.

Example: Compressor commands

Following are examples of code for submitting common Compressor commands.

Cluster names and IDs on a local network
The following command lists all of the cluster names and IDs on the local network.

/Applications/Compressor.app/Contents/MacOS/Compressor ‑show ‑timeout 10

This command has the following elements:

Identifies where Compressor is located (the quotation marks are used because of the space in
“Final Cut Pro”).

Shows all cluster names and IDs found.

Sets the command to time out after 10 seconds.