2
Table Of Contents
- Compressor User Manual
- Contents
- An Introduction to Compressor
- Getting Started Quickly
- The Basic Transcoding Workflow
- The Compressor Interface
- Importing Source Media Files
- Creating, Previewing, and Modifying Settings
- Creating Jobs and Submitting Batches
- Assigning Settings to Source Media Files
- Assigning Destinations to Source Media Files
- Submitting a Batch
- About the History Drawer
- Resubmitting a Batch
- Saving and Opening a Batch File
- Submitting a Final Cut Pro Project for Transcoding
- Resubmitting a Final Cut Pro Project
- Transcoding Different Clips From One Source Media File
- Creating Dolby Digital Professional Output Files
- Creating H.264 DVD Output Files
- Creating MPEG-1 Output Files
- Creating MPEG-2 Output Files
- Creating MPEG-4 Output Files
- Creating QuickTime Movie Output Files
- Creating QuickTime Export Component, AIFF, and TIFF Files
- Adding Filters to a Setting
- Adding Frame Controls, Geometry, and Actions to a Setting
- Using the Preview Window
- Creating and Changing Destinations
- Using Droplets
- Customer Support
- Command-Line Usage
- Index
248 Appendix B Command-Line Usage
Example of Compressor Command XML
The code below is an example of XML code for submitting a Compressor command.
Notice that because it needs to be entered as one command line, every character after
-options that isn’t alphanumeric must be preceded with a backslash (\).
./Compressor -clusterid tcp://127.0.0.1:51737 -batchname myBatch -jobpath /Volumes/
Source/ShortClips/NTSC24p.mov -settingpath /Users/stomper10/Library/Application\
Support/Compressor/PhotoJPEG.setting -destinationpath /Users/machinename/
Movies/myDestinationFilename.mov.
This command has the following elements:
 Cluster address is tcp://127.0.0.1:51737.
 Batchname is myBatch.
 Job path is /Volumes/Source/ShortClips/NTSC24p.mov.
 Setting path is /Users/stomper10/Library/Application\ Support/Compressor/
PhotoJPEG.setting.
 Destination path is /Users/machinename/Movies
Shell Commands for Monitoring Batches
You can use the Batch Monitor command, Batch\ Monitor, with a number of command-
line options for monitoring 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 monitoring batches. The Batch\ Monitor
command is located in /Applications/Utilities/Batch Monitor.app/Contents/MacOS.
Batch\ Monitor [-clustername <name>] [-clusterid <user name:password@IP address:port
number>] [-jobid <identifier> -batchid <identifier>] [-timeout <seconds>] [-query
<seconds>] [-help]
To cancel a job or batch:
m Batch\ Monitor [-clustername <name>] [-clusterid <IP address> <port number>
<user name> <password>] -kill -jobid <identifier> -batchid <identifier>