beautypg.com

Shell commands for submitting compressor jobs, Synopsis – Apple Compressor 3 User Manual

Page 362

background image

To change the cluster storage path to an Xsan volume

µ

Enter the following:

qmasterprefs -cluster off storagepath /Volumes/XsanVol

To change the number of Compressor Processing services from 2 to 4

µ

Enter the following:

qmasterprefs -service "Compressor Processing" off sharing on instances 4

To turn off the Rendering service

µ

Enter the following:

qmasterprefs -service Rendering off

To turn on unmanaged services for Compressor Processing

µ

Enter the following:

qmasterprefs -service “Compressor Processing” on unmanaged on

To configure a service-only node

µ

Enter the following:

qmasterprefs -stopSharing -sharingType servicesOnly -startSharing

To create a QuickCluster

µ

Enter the following:

qmasterprefs -stopSharing -sharingType servicesAndQuickCluster -startSharing

Shell Commands for Submitting Compressor Jobs

You can run the Compressor application from the command line using the

Compressor

command, with a number of command-line options for submitting jobs.

In the command-line descriptions below, 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 /Applications/Compressor.app/Contents/MacOS/.

Compressor [-clustername ][-clusterid

] [-batchfilepath ] [-batchname

] [-priority ] [-jobpath ] [-settingpath ]

[-destinationpath ] [-info ] [-timeout ] [-help] [-show]

In this example,

-jobpath

,

-settingpath

, and

-destinationpath

can be repeated as

many times as the number of jobs you want to submit.

Note: Not all the options are necessary. For example, you can specify the cluster either
by its

-clustername

or by its

-clusterid

. You do not need to specify both. If both are

specified, only

-clusterid

is used.

362

Appendix C

Using the Command Line