Compressor 3 User Manual - Help Library

Add to my manuals
368 Pages

advertisement

Compressor 3 User Manual - Help Library | Manualzz

Compressor 3

User Manual

Copyright © 2010 Apple Inc. All rights reserved.

Your rights to the software are governed by the accompanying software license agreement. The owner or authorized user of a valid copy of Final Cut Studio or

Logic Studio software may reproduce this publication for the purpose of learning to use such software. No part of this publication may be reproduced or transmitted for commercial purposes, such as selling copies of this publication or for providing paid for support services.

The Apple logo is a trademark of Apple Inc., registered in the U.S. and other countries. Use of the “keyboard” Apple logo (Shift-Option-K) for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws.

Every effort has been made to ensure that the information in this manual is accurate. Apple is not responsible for printing or clerical errors.

Note: Because Apple frequently releases new versions and updates to its system software, applications, and

Internet sites, images shown in this manual may be slightly different from what you see on your screen.

Apple

1 Infinite Loop

Cupertino, CA 95014

408-996-1010 www.apple.com

Apple, the Apple logo, AppleScript, Apple TV,

DVD Studio Pro, Final Cut, Final Cut Pro, Final Cut Studio,

FireWire, iPod, iTunes, Logic, Logic Studio, Mac, Mac OS,

QuickTime, Soundtrack, and Xsan are trademarks of

Apple Inc., registered in the U.S. and other countries.

Finder, iPhone, and NetInfo are trademarks of Apple Inc.

AppleCare is a service mark of Apple Inc., registered in the

U.S. and other countries.

MobileMe is a service mark of Apple Inc.

“Dolby,” “Pro Logic,” and the double-D symbol are trademarks of Dolby Laboratories. Confidential

Unpublished Works, © 1992–1997 Dolby Laboratories, Inc.

All rights reserved.

UNIX is a registered trademark of The Open Group.

The YouTube logo is a trademark of Google Inc.

Other company and product names mentioned herein are trademarks of their respective companies. Mention of third-party products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the performance or use of these products.

Production stills from the film “Koffee House Mayhem” provided courtesy of Jean-Paul Bonjour. “Koffee House

Mayhem” © 2004 Jean-Paul Bonjour. All rights reserved.

http://www.jeanpaulbonjour.com

Production stills from the film “A Sus Ordenes” provided courtesy of Eric Escobar. “A Sus Ordenes” © 2004 Eric

Escobar. All rights reserved.

http://www.kontentfilms.com

Contents

Preface

Chapter 1

Chapter 2

Chapter 3

Chapter 4

9

10

9

9

Welcome to Compressor

About Compressor

About the Compressor Documentation

Additional Resources

11

11

12

16

23

Getting Started Quickly

Terms Used by Compressor

Quick and Easy Compressor Workflow: Batch Template Method

Quick and Easy Compressor Workflow: Manual Method

Optional Tasks You Can Perform Before Submitting a Batch

25

26

27

Ways to Use Compressor

Typical Compressor Scenarios

Compressor Features

29

29

32

34

35

37

37

The Basic Transcoding Workflow

Compressor Concepts and Terms

Preparing Compressor for Transcoding with Custom Settings

Choosing an Output Format

Creating a Compressor Batch

Viewing Transcoding Status

Optional Compressor Shortcuts

39

40

41

44

47

50

51

51

61

61

63

The Compressor Interface

Compressor Windows and the Transcoding Workflow

Creating and Managing Compressor Layouts

Working with the Compressor Windows

Batch Window

Settings Tab

Destinations Tab

Inspector Window

History Window

Preview Window

Batch Monitor

3

4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Chapter 10

64

64

66

Droplet Windows

About Changing Values and Timecode Entries

Keyboard Shortcuts

67

67

70

Setting Compressor Preferences

About Compressor Preferences

Using Compressor Preferences

75

75

77

86

89

Importing Source Media Files

About the Batch Window

Adding Source Media Files to a Batch to Create Jobs

Using the Inspector with Source Media Files

Tips on Importing Source Media Files

93

93

97

98

100

101

103

104

105

106

Creating, Previewing, and Modifying Settings

About the Settings Tab

Using the Inspector with Settings

Duplicating Settings

Creating a Setting from Scratch

Previewing a Setting

Deleting Settings

Creating Groups of Settings

Distributing and Sharing Settings

Example: Creating Custom Groups and Settings for DVD

109

109

114

116

119

126

131

Finalizing Jobs and Submitting Batches

Assigning Settings

Assigning Destinations

General Job and Target Information

General Batch Information

Using Final Cut Pro with Compressor

Using Distributed Processing with Compressor

133

133

134

134

135

136

136

Creating AIFF Files

Creating AIFF Output Files

About the AIFF Encoder Pane

About the Sound Settings Dialog

QuickTime Audio Sample Sizes and Rates

Choosing an Audio Codec for Distribution

Configuring AIFF Settings

137

138

144

Creating Dolby Digital Professional Output Files

About the Dolby Digital Professional Encoder Pane

General Information About Creating Dolby Digital Professional Files

Contents

Chapter 11

Chapter 12

Chapter 13

Chapter 14

Chapter 15

Chapter 16

Chapter 17

145

146

149

151

151

Converting Stereo Audio Files to Dolby Digital Professional Format

Assigning Files to Surround Sound Channels (Manual Method)

Assigning Files to Surround Sound Channels (Automatic Methods)

Assigning Files to Surround Sound Channels with Droplets

Options for Spatial Mixing

153

153

154

Creating DV Stream Output Files

About the DV Stream Encoder Pane

DV Transcoding Workflow

155

156

160

160

161

161

Creating H.264 for Apple Devices Output Files

About the H.264 for Apple Devices Encoder Pane

Chapter and Podcast Markers for Apple Devices

Aspect Ratios for Apple Devices

H.264 Workflows for Apple Devices

Configuring Settings for H.264 for Apple Devices Output Files

163

163

167

167

167

168

Creating H.264 for DVD Studio Pro Output Files

About the H.264 for DVD Studio Pro Encoder Pane

About the Frame Sync Setting

Using Multi-Pass for DVD Authoring

About the Bit-Rate Settings

H.264 Workflows for DVD

169

170

172

Creating H.264 for Blu-ray Disc

About the H.264 for Blu-ray Disc Encoder Pane

H.264 Workflows for Optical Disc

173

173

174

175

Creating Image Sequence Files

Creating Image Sequence Output Files

About the Image Sequence Encoder Pane

Configuring Image Sequence Settings

177

177

178

179

Creating MP3 Output Files

Common Uses for MP3

About the MP3 Encoder Pane

MP3 Transcoding Workflow

181

181

182

183

184

185

Creating MPEG-1 Output Files

Common Uses for MPEG-1

MPEG-1 Specifications

About the MPEG-1 Encoder Pane

About the MPEG-1 Video Tab

About the MPEG-1 Audio Tab

Contents

5

6

Chapter 18

Chapter 19

Chapter 20

Chapter 21

Chapter 22

186

186

188

189

190

191

193

About System and Elementary Streams

MPEG-1 Transcoding Workflow

Configuring the MPEG-1 File Format for Web Use

Configuring the MPEG-1 File Format for DVD Use

Creating the MPEG-1 Video for DVD Setting

Creating the MPEG-1 Audio for DVD Setting

Optional—Creating an MPEG-1 for DVD Group and Destination

195

195

196

196

197

208

213

219

Creating MPEG-2 Output Files

About Standard Definition MPEG-2

About High Definition Sources and MPEG-2

About Elementary, Transport, and Program Streams

About the MPEG-2 Encoder Pane

MPEG-2 Reference Information

MPEG-2 Transcoding Workflow

Example MPEG-2 Settings

221

221

222

226

227

230

233

Creating MPEG-4 Output Files

About MPEG-4 Part 2

About the MPEG-4 Part 2 Encoder Pane

Using Default MPEG-4 Part 2 Settings

Customizing MPEG-4 Part 2 Settings

Audio Podcasting Workflow

Adding Additional Settings and Presets

235

235

236

242

246

246

247

Creating QuickTime Movie Output Files

Creating QuickTime Output Files

About the QuickTime Movie Encoder Pane

QuickTime Transcoding Workflow

Understanding Codecs

QuickTime Video Codecs

QuickTime Audio Codecs

249

249

250

250

251

251

Creating QuickTime Export Component Files

Creating QuickTime Export Component Output Files

Installing QuickTime Export Component Plug-ins

About the iPod Plug-in

About the QuickTime Export Components Encoder Pane

Configuring Export Components Settings

253

253

255

256

Adding Filters to a Setting

Working with Filters

About the Filters Pane

Video Filters Tab

Contents

Chapter 23

Chapter 24

Chapter 25

Chapter 26

Chapter 27

Chapter 28

263

265

266

Audio Filters Tab

Color Tab

Adding Filters to a Setting

269

269

274

275

276

279

Working with Frame Controls

About the Frame Controls Pane

Adding Frame Controls to a Setting

About Deinterlacing

About Reverse Telecine

Using the Retiming Controls

283

283

285

290

Adding Geometry Settings

Working with Cropping, Scaling, and Padding

About the Geometry Pane

Making Geometry Adjustments to a Setting

293

293

293

297

Adding Actions

Working with Post-Transcoding Actions

Adding Setting Actions

Adding Job Actions

309

309

315

320

321

327

Using the Preview Window

About the Preview Window

Previewing a Clip

Transcoding a Portion of the Clip with the Preview Window

Adding Markers to a Clip

About the Preview Window Keyboard Shortcuts

329

330

332

333

335

336

337

Creating and Changing Destinations

About the Destinations Tab

Using the Inspector with Destinations

Creating a Destination

Warning Triangles

Deleting and Duplicating a Destination

Creating Destinations for Use with DVD Studio Pro

339

340

342

344

346

348

349

Using Droplets

Creating Droplets

About the Droplet Window

Checking Droplet Settings

Using a Droplet to Transcode Source Media Files

Using Droplets to Create Jobs and Settings in Compressor

Droplet Tips

Contents

7

Appendix A

Appendix B

Appendix C

351

351

352

Keyboard Shortcuts

General Compressor Keyboard Shortcuts

Preview Window Keyboard Shortcuts

353

353

353

358

Solving Problems

Resources for Solving Problems

Solutions to Common Problems

Contacting AppleCare Support

359

359

360

367

Using the Command Line

Installing Apple Qmaster from the Command Line

Using the Command Line for Distributed Processing

Using Scripts to Run Apple Qmaster, Compressor, and Batch Monitor

8

Contents

Welcome to Compressor

Compressor is an essential part of the video compression process. It makes compression fast, efficient, and convenient, giving you more options in your choices of compression settings and output formats.

This preface covers the following:

About Compressor

(p. 9)

About the Compressor Documentation

(p. 9)

Additional Resources

(p. 10)

About Compressor

Compressor is targeted at video postproduction professionals and compressionists who require high performance and maximum control over the final digital content for DVD authoring, streaming media servers, and wireless devices.

Compressor gives you resizing, cropping, image processing, encoding, and delivery options, and offers batch processing, VBR options, and H.264 encoding. You can also use

Droplets and AppleScript, specify and save transcode settings, use filters, specify destinations, and more. Compressor also provides a variety of output formats for Apple

Devices, DVD, web, CD, and kiosk.

About the Compressor Documentation

Compressor comes with various documents that will help you get started as well as provide detailed information about the application. (To access onscreen help for

Compressor, open Compressor and choose Help > Compressor Help.)

Compressor User Manual: This is a comprehensive document that describes the

Compressor interface, commands, and menus and gives step-by-step instructions for using Compressor and accomplishing specific tasks. It is written for users of all levels of experience.

9

Distributed Processing Setup Guide: This guide explains how to set up and maintain a distributed processing network for use with Compressor or digital visual effects software packages.

Batch Monitor User Manual: This brief document describes how to use the Batch Monitor to monitor the transcoding progress of batches and jobs.

Additional Resources

Along with the documentation that comes with Compressor, there are a variety of other resources you can use to find out more about Compressor.

Compressor Website

For general information and updates, as well as the latest news on Compressor, go to:

• http://www.apple.com/finalcutstudio/compressor

Apple Service and Support Websites

For software updates and answers to the most frequently asked questions for all Apple products, go to the general Apple Support web page. You’ll also have access to product specifications, reference documentation, and Apple and third-party product technical articles.

• http://www.apple.com/support

For software updates, documentation, discussion forums, and answers to the most frequently asked questions for Compressor, go to:

• http://www.apple.com/support/compressor

For discussion forums for all Apple products from around the world, where you can search for an answer, post your question, or answer other users’ questions, go to:

• http://discussions.apple.com

10 Preface

Welcome to Compressor

Getting Started Quickly

1

Compressor contains a number of preexisting settings that allow you to start transcoding immediately. You can begin transcoding media files as soon as you install Compressor, if you have one or more source media files and the preexisting Compressor batch templates or settings and destinations suit your transcoding needs.

This chapter covers the following:

Terms Used by Compressor

(p. 11)

Quick and Easy Compressor Workflow: Batch Template Method

(p. 12)

Quick and Easy Compressor Workflow: Manual Method

(p. 16)

Optional Tasks You Can Perform Before Submitting a Batch

(p. 23)

Terms Used by Compressor

There are a few terms used by Compressor that you should feel comfortable with before you begin using it.

A batch is the heart of the transcode process. It contains one or more source media files, which are the files you want to convert, or transcode, to another format. Each source media file creates its own job. This means that a batch can contain multiple jobs, with each job based on its own source media file.

Each job also has at least one target. The targets define what sort of output file should be created by the transcoding process and where it should be placed. You can have multiple targets assigned to a job, which means that you can easily create multiple output files, each with a different format.

Each target has three parts.

The setting: The setting part of a target defines the transcoding process, including the encoder format that is used as well as a variety of filters and geometry attributes.

The destination: The destination part of a target defines where the output file is saved.

It also defines the rules that are used to create the output filename. Compressor includes a preference setting that allows you to specify a default destination.

11

The output filename: You can edit the output filename part of the target if for some reason you do not want to use the name generated based on the destination.

Note: You can transcode a job only after it has at least one setting assigned to it.

If you need to create your own settings, or modify those that come with Compressor, see

The Basic Transcoding Workflow

and

Creating, Previewing, and Modifying Settings

.

Quick and Easy Compressor Workflow: Batch Template Method

Batch templates simplify and accelerate your transcoding workflow. The following workflow shows you a quick and easy way to use Compressor with batch templates.

Stage 1: Choosing a Batch Template

Stage 2: Adding a Source Media File

Stage 3: Submitting the Batch

Stage 4: Using Post-Transcoding Actions

Stage 5: Saving Custom Batch Templates—Optional

Stage 1:

Choosing a Batch Template

To use Compressor with this workflow, you must choose a batch template.

To open Compressor and choose a batch template

1

Double-click the Compressor icon in the Applications folder.

Compressor opens with the Batch Template Chooser and an empty untitled batch with a placeholder job.

12 Chapter 1

Getting Started Quickly

The Batch Template Chooser contains options for the standard Apple batch templates

(described in step 2).

You can also add custom batch templates. For more information, see

Creating a Custom

Batch Template

.

Note: To see the Compressor interface configured similarly to what is shown above, choose a Standard layout from the Layouts submenu of the Window menu. To prevent the Batch Template Chooser from opening when you open Compressor, click the “Don’t show this dialog again” checkbox, or, in Compressor Preferences, choose Show Blank

Template.

2

Click one of the options in the Batch Template Chooser to select it.

The standard Apple batch templates are listed below.

Create Audio Podcast: Use this template to create an AAC audio file suitable for podcasting and add it to the iTunes library.

Create Blu-ray: Use this template to create BD H.264 video and Dolby Digital Professional

(.ac3) audio files and automatically burn them to a Blu-ray disc or an AVCHD disc (AVCHD discs can be played in Blu-ray Disc players that are compatible with the AVCHD format).

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

Chapter 1

Getting Started Quickly

13

Create DVD: Use this template to create a standard definition DVD using MPEG-2 (.m2v) video and Dolby Digital Professional (.ac3) audio and automatically burn it to a disc.

Publish to Apple TV: Use this template to create a video file suitable for viewing on

Apple TV and add it to the iTunes library.

Publish to YouTube: Use this template to create a video file suitable for viewing on

YouTube and upload it to a YouTube account.

Publish to MobileMe: Use this template to create video files suitable for viewing on

MobileMe and upload them to a MobileMe account.

Create Web Reference Movie: Use this template to create a reference movie that enables a web browser and a server to automatically select the right movie for any device or connection speed, without requiring the viewer to make a choice.

Note: Your choice of a template should be based on the intended use of the output media file you are creating. If there is no obvious template for your intended workflow, you may want to try the manual method. For more information, see

Quick and Easy

Compressor Workflow: Manual Method . For information about creating custom templates,

see

Creating a Custom Batch Template .

3

Click Choose.

Compressor applies a target to the placeholder job. The target contains the appropriate transcoding setting (based on the template you chose), the default destination (Source), and a suggested output filename, based on the source filename and the name of the applied setting.

14

In the spirit of this simplified batch template workflow, it is recommended that you accept the default destination Source (the same folder as the source media files originated from) specified in the Destination column. For more advanced information about destinations, see

Creating and Changing Destinations

.

Stage 2:

Adding a Source Media File

Drag a source file from the Finder or the desktop to the placeholder job in the Batch window.

Chapter 1

Getting Started Quickly

Note: You can drag in only one source file because batch templates contain only one job. If you drag multiple files to the job, only the last file is added to this job and all other files are ignored.

Stage 3:

Submitting the Batch

Once the job includes a source media file, a setting, a destination, and an output filename, it is ready for processing.

To submit the batch for processing

µ

Click the Submit button to submit the batch containing your job.

A dialog appears where you can name this submission, choose whether to use distributed processing, and set the priority of this submission. In most cases you can leave the settings as they are and just click Submit.

For more details about this Submit dialog, see

Submitting a Batch

.

After you submit a batch, you can open the Compressor History window or the

Batch Monitor application so you can monitor the transcoding progress of your batch.

You can also set Compressor Preferences to open Batch Monitor automatically.

Stage 4:

Using Post-Transcoding Actions

Almost every batch template includes an automatic post-transcoding action. When

Compressor has completed transcoding one of these batch template jobs to an output media file, it will execute a corresponding automatic action, such as uploading the file to a YouTube account, running an Automator workflow, or burning a DVD.

For more information about job actions such as these, see

Job Action Tab

and

Adding

Actions

.

The following list indicates the default post-transcoding job action for each Compressor batch template.

Create Audio Podcast: Add to iTunes Library.

Create Blu-ray: Create Blu-ray Disc.

Chapter 1

Getting Started Quickly

15

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

Create DVD: Create DVD.

Publish to Apple TV: Add to iTunes Library.

Publish to YouTube: Publish to YouTube.

Publish to MobileMe: Publish to MobileMe.

Create Web Reference Movie: Create Web Reference Movie.

Stage 5:

Saving Custom Batch Templates—Optional

For information about the optional step of creating custom templates, see

Creating a

Custom Batch Template .

Quick and Easy Compressor Workflow: Manual Method

The following workflow shows you an easy way to manually build and process a batch in Compressor.

Stage 1: Adding Source Media Files

Stage 2: Assigning Settings and Destinations

Stage 3: Submitting the Batch

Stage 1:

Adding Source Media Files

To use Compressor, you must first add source media files to the Batch window.

To open Compressor and add source media files to the Batch window

1

Double-click the Compressor icon in the Applications folder.

16 Chapter 1

Getting Started Quickly

Compressor opens with the batch template chooser and an empty untitled batch with a placeholder job.

2

Since this workflow is focused on the manual method rather than the batch template method, click Cancel in the Batch Template Chooser to close it.

To prevent the Batch Template Chooser from opening in the future, select “Don’t show this dialog again,” or, in Compressor Preferences, choose Show Blank Template.

For information about the batch template method, see

Quick and Easy Compressor

Workflow: Batch Template Method .

The figure below shows the remaining windows in the Compressor interface.

Note: To see the Compressor interface configured similarly to what is shown above, choose a Standard layout from the Layouts submenu of the Window menu.

Chapter 1

Getting Started Quickly

17

3

Drag source files from the Finder or the desktop to the Batch window.

Note: If you drag multiple files to the thumbnail area (with the arrow in this example), only the last file is added to this job and all other files are ignored.

The thumbnail area of the job

New jobs are created for each source file you dragged to the batch.

Each source file creates a job in the batch.

Target area (empty in this case) of a job

See

About the Batch Window

for more information about the controls in the Batch window.

Stage 2:

Assigning Settings and Destinations

You need to assign at least one setting to each source media file job before you can submit the batch for processing, but you can also add multiple settings to the same job to transcode multiple versions of the media file. Each setting-destination pair is known in Compressor as a target.

18 Chapter 1

Getting Started Quickly

To assign a setting and a destination to a job

1

Choose a setting for your source media file jobs in any of the following ways.

To assign different settings to different jobs: Drag settings from the Settings tab to individual jobs in the Batch window.

To assign a single setting to multiple selected jobs: Select the jobs (source media files) in the Batch window and choose Target > New Target With Setting. This opens a settings selection dialog over the Batch window.

Chapter 1

Getting Started Quickly

19

Select the jobs in the Batch window.

20

Click Add to assign the settings to the selected jobs.

Select the settings to apply to the selected jobs.

Choose one or more settings, using the disclosure triangles to reveal individual settings, and click Add. The chosen settings are assigned to all the selected jobs.

The chosen settings are assigned as targets to the selected jobs.

You can also choose Edit > Select All to select all the jobs before applying the settings.

See

Creating, Previewing, and Modifying Settings

for more information on settings, and

Finalizing Jobs and Submitting Batches

for more information about working with jobs and targets.

The next step is to set the destination. By default, the destination is set to Source, which writes the output files to the same folder as the source files originated from. You can change the destination for organization purposes or to take advantage of larger and faster hard disks.

Note: You can choose a default destination from the Compressor Preferences window.

See

Setting Compressor Preferences

for more information.

You can set the destination for each individual target or for a selected group of targets.

Chapter 1

Getting Started Quickly

2

Choose a destination for your job’s targets in one of the following ways.

Do nothing: Accept the default destination Source (the same folder as the source media files originated from) specified in the Destination column.

Use the target’s shortcut menu to change one setting at a time: Control-click the target you want to change and then choose any of the preexisting destinations available to you from the Destination submenu.

Use the target’s shortcut menu to change the destination for the selected targets.

You can also choose Other from the shortcut menu to open a dialog to choose any location available to your computer as the destination.

Note: Choosing Other allows you to choose any location currently accessible from your desktop, including a mounted open volume. However, this volume must remain open until the batch has been transcoded.

You can select multiple targets and change all their destinations at once using the same method. You can also use the Destination submenu of the Target menu to choose a destination, or drag a destination from the Destinations tab to the target.

See

Creating and Changing Destinations

for more information on destinations.

3

You can name the batch, and save it, by choosing File > Save.

Stage 3:

Submitting the Batch

Once each media file has at least one setting and destination associated with it, it becomes a job, and your batch is ready to be submitted. Click the Submit button to submit your batch.

To submit a batch for processing

µ

Click Submit.

Chapter 1

Getting Started Quickly

21

A dialog appears where you can name this submission, choose whether to use distributed processing, and set the priority of this submission. In most cases you can leave the settings as they are and just click Submit.

For more details about this Submit dialog, see

Submitting a Batch

.

After you submit a batch, you can open Batch Monitor so you can monitor the transcoding progress of your batch. You can also set Batch Monitor to automatically open in the

Compressor Preferences window.

Note: You can always open Batch Monitor by double-clicking the Batch Monitor icon in the Utilities folder inside the Applications folder or by clicking its icon in the Batch window.

22 Chapter 1

Getting Started Quickly

You can also monitor the encoding progress in the History window.

See

Finalizing Jobs and Submitting Batches

for more information on jobs and batches.

Optional Tasks You Can Perform Before Submitting a Batch

The three stages described in the previous section show you the fastest way to transcode media files. Although you can modify your preexisting settings using this method, you can’t preview your files or fine-tune any settings.

The following chapters describe additional steps that can be performed on the setting of any job before it is submitted:

Creating, Previewing, and Modifying Settings

Finalizing Jobs and Submitting Batches

Adding Filters to a Setting

Working with Frame Controls

Adding Geometry Settings

Adding Actions

Using the Preview Window

Creating and Changing Destinations

The following chapters give a more detailed look at output format settings and various transcoding options:

Creating AIFF Files

Creating Dolby Digital Professional Output Files

Creating DV Stream Output Files

Creating H.264 for DVD Studio Pro Output Files

Creating H.264 for Apple Devices Output Files

Creating Image Sequence Files

Creating MP3 Output Files

Creating MPEG-1 Output Files

Creating MPEG-2 Output Files

Chapter 1

Getting Started Quickly

23

Creating MPEG-4 Output Files

Creating QuickTime Movie Output Files

Creating QuickTime Export Component Files

24 Chapter 1

Getting Started Quickly

Ways to Use Compressor

2

Compressor is a powerful and flexible tool that can be used in many different ways to achieve the results you want.

This chapter covers the following:

Typical Compressor Scenarios

(p. 26)

Compressor Features

(p. 27)

25

26

Typical Compressor Scenarios

The following are typical Compressor scenarios.

Converting source media to one or more different output formats: You can use Compressor to convert one or more media files to one or more different media file output formats.

See

Quick and Easy Compressor Workflow: Manual Method

for more information.

Source media or

Final Cut Pro project

H.264

MP3

AC-3

MP3

MPEG-1

MPEG-4

QuickTime

To web

AC-3

AIFF

H.264

MPEG-1

MPEG-2

AIFF

MP3

QuickTime

H.264

AC-3

Apple devices

Apple TV iPod iTunes

MobileMe

QuickTime movie

(for broadband and lowband)

DVD video

CD-ROM Blu-ray Disc

Exporting sequences or clips to one or more formats directly from other applications: You can use Compressor to convert sequences or clips to one or more file formats from within other applications, such as Final Cut Pro. This workflow is the same as described

in detail in Submitting a Final Cut Pro Project for Transcoding

.

This integration with Final Cut Pro and other applications makes transcoding (the process of converting files from their original format into output files ready for distribution in another format) faster and more convenient. Integration also saves hard disk space by eliminating the need to export intermediate media files before processing them. It also leverages the video processing technology of the other applications to do much of the work (therefore maximizing the quality of images that are encoded), and avoids degradation that can occur from multiple compression and decompression steps.

Chapter 2

Ways to Use Compressor

Creating DVD compliant files for use with DVD Studio Pro: Before you can convert your existing media files into DVD Studio Pro projects, you must convert the video into

MPEG-1 (SD projects only), MPEG-2 (SD and HD projects), or H.264 (HD projects only) files. Before importing one or more media files into DVD Studio Pro, Compressor transcodes the files into the correct format. Compressor can encode audio in the Dolby

Digital Professional format (also known as AC-3). Dolby Digital Professional is a very common compressed audio format for DVD-Video discs. Compressor also supports two specialized situations:

• For those situations in which you are editing high definition (HD) sources in

Final Cut Pro and want to create a standard definition (SD) DVD from them,

Compressor includes a high-quality down conversion capability. HD sources using

1080i or 720p resolutions use a high-quality transcoding process to create SD MPEG-2 video output files.

• For those situations in which you must fit the maximum video onto a DVD and do not require broadcast quality, Compressor includes the ability to export

DVD-Video-compatible MPEG-1 format files.

Compressor Features

Compressor can work as a standalone application or be integrated into the workflow of other applications, such as Final Cut Pro. To this end, Compressor accepts the same full range of source media file types that Final Cut Pro accepts. Compressor offers the following features.

Batch processing: This streamlined process allows you to create multiple output files from single source media files.

VBR options: Using the MPEG-2 encoder, you can set either a single- or dual-pass variable bit rate (VBR) for your output files, a setting that affects the video file image quality.

H.264 encoding: H.264 produces higher quality video at lower data rates for everything from mobile phones to High Definition (HD). H.264 works especially well with the Apple

QuickTime 7 media player. Compressor includes H.264 formats that specifically target

HD DVDs, iTunes, the iPod, and Apple TV.

Droplets: These standalone applications can be used for drag-and-drop transcoding operations straight from your desktop. Once created, Droplets simplify and automate the transcoding process and can be used even without opening Compressor.

Settings: Settings contain all necessary file format, filter, and geometry settings needed for transcoding. You can customize and modify the Apple-supplied settings or create new ones, making it possible to create a library of specialized settings that can be reused.

Chapter 2

Ways to Use Compressor

27

28

Filters: The selection of available Compressor filters gives you dynamic artistic control while you convert your source media to other formats and allows you to create a final product to your precise specifications. A selection of the available filters includes fade in/fade out, timecode overlays, gamma correction, noise removal, letterbox, watermark, color adjustment, and others. Additionally, there are audio filters for controlling dynamic range, peak levels, equalization, and fade in/fade out.

Previewing: You can preview your filter settings in real time using the Preview window as you adjust them in the Inspector window. This lets you tweak the settings to your satisfaction, before transcoding the source media file.

Destinations: You can create and save destinations for your output files, which can then be assigned to each output file’s target. You can even include FTP and iDisk locations.

A destination can also specify the filenaming convention to use.

Geometry: You can adjust your frame size using the geometry Inspector window controls and graphical controls in the Preview window. These features allow you to crop unwanted image areas of your source media file and reduce file size. Compressor also allows you to resize your image to other aspect ratios such as 4:3, 16:9, and 2.35:1 for delivery onto other platforms, such as DVD or iPod.

Publishing: You can use Compressor to upload output files to a QuickTime Streaming

Server or other locations for DVD authoring.

AppleScript usage: You can add specialized AppleScript information to any output file, which gives you the flexibility to automate and customize any post-encoding operations.

Interoperability: Compressor is an integral component of other Apple professional video applications such as Final Cut Pro and DVD Studio Pro. You can export sequences directly from Final Cut Pro into Compressor for transcoding and drag MPEG-2 files transcoded from Compressor into DVD Studio Pro to simplify the DVD authoring process.

Transcoding activity in the background: Compressor lets you begin transcoding a batch and then continues processing in the background, allowing you to perform other tasks at the same time.

Email notification: You can set up Compressor to send an email notification to any location to notify you when the batch transcode is complete.

Distributed processing: Compressor offers distributed processing, distributing the work to multiple computers that have been chosen to provide more processing power. The distributed processing feature is limited to computers that have either Final Cut Studio or DVD Studio Pro installed. For more details, see the Distributed Processing Setup Guide, available in Compressor Help.

Command-Line Features: Compressor has a number of command-line options for submitting jobs, enabling and disabling service node and cluster-controlling services, and monitoring batches.

Chapter 2

Ways to Use Compressor

The Basic Transcoding Workflow

3

Compressor makes it easy to transcode media into multiple formats. In addition,

Compressor is integrated into other applications, such as Final Cut Pro, Motion, and

Soundtrack Pro. And Compressor generates high-quality assets for use in DVD Studio Pro, providing seamless transcoding between media formats directly within one application.

For simple or repetitive workflows, you can also use the Share feature in Final Cut Pro and Motion. The Share feature is an easy “one-click” way to send your work to clients, friends, and other audiences without any advanced knowledge of transcoding, delivery file formats, or FTP protocols. From the Share window in Final Cut Pro and Motion, you can quickly create and deliver output media files in iPod, iPhone, Apple TV, MobileMe,

DVD, Blu-ray Disc, and YouTube formats without having to open any additional applications. For more information about the Share feature, see the Final Cut Pro

User Manual and the Motion User Manual.

This chapter covers the following:

Compressor Concepts and Terms

(p. 29)

Preparing Compressor for Transcoding with Custom Settings

(p. 32)

Choosing an Output Format

(p. 34)

Creating a Compressor Batch

(p. 35)

Viewing Transcoding Status

(p. 37)

Optional Compressor Shortcuts

(p. 37)

Compressor Concepts and Terms

This section covers some common terms that you may encounter as you use Compressor.

29

30

The following diagram illustrates how the standard Compressor transcoding process works. The largest transcoding component is a batch. The batch represents all the components needed to transcode your current media. It must contain one or more jobs.

A job consists of at least one source media file with one or more targets, each with a setting and a destination associated with it. After the transcoding process, the resulting file is known as the output media file. One output media file is created for each setting assigned to a source media file.

In the illustration below, the batch contains two source media files, each of which is a job containing two targets (sets of a setting and destination). The total number of output files created by transcoding this batch will be four: Job 1 will create two output media files, as will Job 2.

Batch

Job1

Source media file

1

Setting

Target 1

Destination

Setting

Target 2

Destination

Output media file

(Job 1, Target 1)

Output media file

(Job 1, Target 2)

Job 2

Source media file

2

Setting

Target 1

Destination

Setting

Target 2

Destination

Output media file

(Job 2, Target 1)

Output media file

(Job 2, Target 2)

Codec: Short for COmpression/DECompression. A mathematical model for reducing the data of a source media file.

File Format: The output format you use to transcode your source media file.

Group: Contains designated settings placed into a folder in the Settings tab. Groups help you organize your settings and can simplify the job creation process.

Transcoding: The process of converting files from their original format into output files ready for distribution in another format. Closely related terms include compression, which specifically refers to data reduction, and encoding, a term that is essentially synonymous with transcoding, but does not emphasize the conversion aspect.

Source media file: The transcoding process always starts with a source media file, which is the file intended for transcoding in its original form. Source media files are always one of the following.

Movies: Containing video, audio, and other data (such as markers)

Chapter 3

The Basic Transcoding Workflow

Stills: Used as part of a sequence of still images for certain video productions

QuickTime: QuickTime is cross-platform multimedia technology which allows Mac OS and Windows applications to capture and play back video, audio, and still-image files.

QuickTime files can contain many different kinds of media and codecs. Codecs give instructions to QuickTime on how to play back the media.

A typical Compressor transcoding process consists of the following components.

Setting: Once you have imported your source media file, you must assign one or more settings to it. A setting is a combination of transcode attributes, such as output format, filter, and geometry settings, that are applied to the source media file during the transcoding process.

Output (file) format: The encoder you choose to convert your source media file.

Choose one of the following output formats based on the intended playback method and environment of your transcoded media files: AIFF, Dolby Digital Professional, DV

Stream, H.264 for DVD Studio Pro, H.264 for Apple Devices (which contains settings for use with an iPod or Apple TV), Image Sequence (which supports TIFF and TARGA images), MPEG-1, MPEG-2, MPEG-4, QuickTime Movie, or QuickTime Export

Components.

Filters: Allow you to adjust different characteristics of your video such as color, brightness, and sharpness, to maximize your video quality as the file is compressed.

Geometry settings: Allow you to crop the image and adjust its frame size.

Actions settings: Allow you to create automatic post-transcoding actions and apply them to jobs and settings. Easily create and deliver output media files, send email notifications and execute post-transcoding tasks using Automator.

Chapter 3

The Basic Transcoding Workflow

31

32

Destination: A destination also needs to be assigned to the source media file. This is the location where your transcoded media file is stored. You can either use the default destination called Source (the same folder the source media file is in), or you can designate any location to which you have full access. You can also change the default destination in Compressor preferences. The destination also controls how the transcoded media file is named.

Target: A blueprint for creating an output media file containing a setting, a destination, and an output filename.

Job: Once you assign one or more targets to the source media file, it becomes a job, and is ready to be transcoded.

Batch: A batch consists of one or more jobs that are processed at one time. All jobs contained within the batch are submitted collectively when you click the Submit button.

Output media file: The transcoded media files created after the batch is submitted and processed are called output media files. An output media file is the result of a successfully transcoded source media file (containing one setting and destination). You can create as many output media files as there are different settings applied to the various source media files in the batch.

Preparing Compressor for Transcoding with Custom Settings

Compressor contains a number of preconfigured settings that allow you to start transcoding immediately. If you want to transcode your source media files immediately and don’t need to create your own settings, you can follow the steps described in

Quick and Easy Compressor Workflow: Batch Template Method

instead. Or if your workflow is not covered by any of the batch templates and you want to start transcoding immediately, you can also try the steps in

Quick and Easy Compressor Workflow: Manual Method .

However, if you want to create your own settings and destinations, and customize other attributes such as filters, cropping, frame resizing, and actions settings, you need to follow the steps outlined below. If the custom settings you create here can be used for all your transcoding needs, you won’t need to go through these steps again. However, if you need to create new settings and destinations for each transcoding project, you’ll need to repeat these steps each time.

Stage 1:

Creating a Setting

Unless you are using a preexisting setting or a batch template supplied with Compressor, you will need to create your own settings. This is done using the Settings tab and begins with choosing an output format from the File Format menu that opens when you click the Add (+) button. See

Choosing an Output Format

for more information. In addition, you also have the option of adding filters, geometry settings, and posttranscoding actions and then previewing your setting to ensure satisfaction. See

Creating a Setting from

Scratch

for more information.

Chapter 3

The Basic Transcoding Workflow

You can also streamline your workflow by putting your settings into groups. See

Creating

Groups of Settings

for more information.

After you have created a setting, you can further customize it with additional adjustments such as filters (to adjust image quality or add effects such as letterboxing), pixel size

(geometry values), and post-transcoding actions. These additional adjustments are all managed in the Inspector window. See

Adding Filters to a Setting

,

Working with Frame

Controls ,

Adding Geometry Settings , and

Adding Actions

for more information.

Stage 2:

Previewing the Setting

It’s a good time-saving measure to preview your setting before submitting the batch.

This can be done using the Preview window and ensures that the quality of the output media file is acceptable. The Preview window consists of a split screen displaying the content of your source media file in its original form in one half, and the content of your output media file in the other half.

From the Preview window, you can do any of the following:

• Play the media file.

• Dynamically preview effects (in real time).

• Modify the effects of the filters and geometry settings of your setting.

• Compare source or output versions.

• Crop the output file frame size.

• Change the aspect ratio.

• Add various markers (compression, chapter, or podcast).

Note: Frame Controls settings cannot be previewed in the Preview window. To preview

Frame Controls settings, do a test transcode of a small section of your source media file.

(See

Transcoding a Portion of the Clip with the Preview Window

for more information.)

See

Previewing a Setting

or

Using the Preview Window

for more information.

Stage 3:

Creating a Destination

By default, your transcoded file is saved in the same folder as your source media file

(Source). However, if you want to store your transcoded files in a different location, you can create a new destination in the Destinations tab. Using this tab, you can choose any folder, volume, or remote server for which you have permissions and access to be a destination, and add useful file identifiers for your transcoded output file. Once you have created sufficient destinations, you won’t need to open the Destinations tab again.

See

Creating and Changing Destinations

for more information.

Chapter 3

The Basic Transcoding Workflow

33

34

Choosing an Output Format

Selecting the relevant playback platform (Apple Devices, DVD, web, CD, and kiosk) is the first choice you need to make before you compress a source media file into a different output format. Once you have decided on the platform, you can choose the appropriate output format for that platform.

Choosing an output format is the first decision you need to make once you’ve decided to transcode a source media file. You choose an output format based on the intended playback method for the audience. Whatever the digital video format of your source media file, you can transcode it using one of the many encoders supplied with Compressor.

Compressor gives you access to the following industry-standard formats, all of which have their own particular attributes. (They are presented here in alphabetical order.)

AIFF: Intended for audio use (including DVD or CD authoring). For more details on the

AIFF format, see

Creating AIFF Files .

Dolby Digital Professional: Also known as AC-3. Usually intended for DVD authoring.

For more details on the AC-3 format, see

Creating Dolby Digital Professional Output

Files .

DV Stream: Common format used for SD projects. See

Creating DV Stream Output Files

for more information.

H.264 for Apple Devices: Intended for creating video files suitable for playback using iTunes, an iPod, and Apple TV. For more details on the H.264 for Apple Devices format,

see Creating H.264 for Apple Devices Output Files .

H.264 for Blu-ray: Intended for creating H.264 settings specifically configured for Blu-ray

Disc. For more details on the H.264 for Blu-ray Disc format, see Creating H.264 for Blu-ray

Disc

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

H.264 for DVD Studio Pro: Intended for a variety of uses including HD-DVD. For more details on the H.264 format, particularly for authoring HD-based DVDs, see

Creating

H.264 for DVD Studio Pro Output Files

.

Image Sequence: Compatible with a wide range of compositing and image processing applications. For more details see

Creating Image Sequence Files .

MP3: Intended for audio compression. The MP3 format creates audio files that are compatible with a wide variety of playback devices. For more details on the MP3 format, see

Creating MP3 Output Files

.

MPEG-1: Intended for Internet, CD-ROM, and specialized DVD use. For more details on the MPEG-1 format, see

Creating MPEG-1 Output Files

.

MPEG-2: Intended for standard and high definition DVD use. For more details on the

MPEG-2 format, see

Creating MPEG-2 Output Files

.

Chapter 3

The Basic Transcoding Workflow

MPEG-4, Part-2: Intended for a variety of uses including the web or wireless devices.

For more details on the MPEG-4 format, see

Creating MPEG-4 Output Files .

QuickTime Export Components: Leveraging the component plug-in architecture of

QuickTime, Compressor can output a variety of additional codec options and third-party formats such as Windows Media, RealPlayer, 3G, and AVI. The QuickTime Export

Components feature allows you to control the third-party encoding engine without having to open another application. For more details on QuickTime Export Components, see

Creating QuickTime Export Component Output Files .

QuickTime Movie: Intended for use with QuickTime in a variety of playback environments.

Because QuickTime is cross-platform multimedia technology, it allows Mac OS and

Windows applications to capture and play back video, audio, and still-image files. For

more details on the QuickTime format, see Creating QuickTime Movie Output Files .

Creating a Compressor Batch

This section describes the complete steps in manually creating and submitting a complete

Compressor batch. For a quicker and easier but more limited method, see

Quick and Easy

Compressor Workflow: Batch Template Method

.

Once you have the necessary settings and destinations available, you can begin to create your batch for transcoding. A batch contains one or more jobs. A job consists of one source media file with one or more targets, which contain the settings and destinations.

You can submit a batch for transcoding only after you have assigned at least one target

(setting and destination) to each job (source media file) in the batch. All jobs in the batch are submitted together. Think of batches as documents that can be saved, closed, and opened again. And much like a Final Cut Pro project, a separate tab (that can be torn off ) contains each Compressor batch.

Stage 1:

Importing Source Media Files into Compressor

You import source media files into a batch either by using the File Selection dialog or by dragging the files from the Finder to the Compressor Batch window. You can import source media files from any folder that you have access to.

See

Importing Source Media Files

for more information.

Stage 2:

Assigning a Setting

Once you have imported your source media file into the Batch window, you need to assign one or more settings to it. This makes it a job. A source media file can be transcoded only after it has at least one setting assigned to it, and you can add a setting to a source media file only after you have either selected a preexisting setting or created one. Your setting must have an output file format associated with it.

If you choose a preexisting setting: The output file format has already been assigned.

Chapter 3

The Basic Transcoding Workflow

35

36

If you create your own setting: You must choose an output file format from the file format menu that opens when you click the “Create a New Setting” button (+) in the Settings tab.

You can add one setting to multiple jobs in one step by selecting the jobs in the Batch window and choosing a setting from the dialog that appears when you choose Target >

New Target With Setting, or by Control-clicking one of the selected jobs and choosing a setting from the New Target With Setting submenu of the shortcut menu that appears.

If you have a favorite setting (preexisting or customized), you can streamline your workflow by creating a standalone application called a Droplet containing multiple settings, and use the Droplet to submit batches without opening Compressor. See

Creating a Droplet from the Settings Tab

for more information.

Note: You can also create groups of settings, which is a quick and convenient way to assign multiple settings to a source media file. See

Creating Groups of Settings

for more information.

Stage 3:

Previewing the Setting Using the Preview Window

You can either preview a source media file or the source media file with its assigned setting. From the Preview window, you can dynamically preview (in real time) and modify the effects of the filters and geometry adjustments of your setting, play back the media file, view source or output views, crop the output file frame size, change the aspect ratio, and add various markers relevant to the MPEG-1, MPEG-2, H.264 for DVD Studio Pro, and

H.264 for Apple Devices formats.

See

Previewing a Setting

or

Previewing a Clip

for more information.

Stage 4:

Assigning a Destination

You can choose the location to place your output media files by assigning a destination to each target. The destination also defines various aspects of how the output media file is named. There are several supplied destinations in the Destinations tab you can choose from, or you can create your own custom destinations. In addition to assigning a destination by dragging one from the Destinations tab to a job’s target, you can also use the Target > Destination menu or the shortcut menu that appears when you Control-click a target to assign an existing destination to a job. You also have the option of choosing a location that has not been defined as a destination by choosing Other in the above two menus.

See

Assigning Destinations to Source Media Files

for more information.

Stage 5:

Submitting the Batch for Transcoding

Once you have created all the jobs you want in the batch and are satisfied with the settings and quality of your output files (having previewed them), you are ready to submit the batch. You do this by clicking the Submit button in the Batch window.

Chapter 3

The Basic Transcoding Workflow

Note: If you are transcoding a large batch, you should turn off the screen saver application on your computer. This will improve the speed of your transcode because resources are not being diverted to the screen saver.

See

Submitting a Batch

for more information.

Viewing Transcoding Status

You use Batch Monitor and the History window to see the current status of a submitted batch and all the jobs contained within it. Batch Monitor is a standalone application, so that it can work with both Compressor and Droplets, whether or not Compressor is open,

and regardless of whether you have submitted anything. See Creating a Droplet from the Settings Tab

for more information about Droplets.

Stage 1:

Viewing the Batch Transcoding Status

After you submit a batch, then you can open Batch Monitor so you can view the transcoding status of your batch. This is a good way to monitor when your batch has finished transcoding and if any problems occurred during the transcode process. You can set Compressor Preferences to open Batch Monitor automatically.

See

Setting Compressor Preferences

and the Batch Monitor User Manual for more details.

Alternatively, you can look at the History window in Compressor. It contains a progress bar and, like Batch Monitor, it can tell you if a submission was successfully transcoded.

Stage 2:

Confirming Transcode Completion

It’s a good idea to open the transcoded media file’s destination folder to ensure that the media file was transcoded successfully and saved to that location.

Optional Compressor Shortcuts

Compressor was designed with workflow in mind. Depending on your needs, there are a number of ways to speed up the Compressor transcoding workflow.

Using Preexisting Settings

Compressor contains a number of preexisting settings that allow you to start transcoding immediately. If these preexisting settings suit your needs, you can transcode your source media files immediately.

See

Quick and Easy Compressor Workflow: Manual Method

for more information.

Even if you need to create custom settings, you can group them so that they can be easily applied to targets. See

Creating, Previewing, and Modifying Settings

for more information.

Chapter 3

The Basic Transcoding Workflow

37

Using Default Settings and Destinations

If you find that you are applying the same settings and destinations to each source media file, you can configure Compressor preferences to automatically apply those settings and destinations. See

Setting Compressor Preferences

for more information.

Working with Droplets

Droplets provide a fast and convenient way to transcode material without even opening

Compressor. You create a Droplet by saving a setting or a group of settings and destinations as an active icon. When you drag one or more source media files to it, the

Droplet begins the transcoding process automatically.

See

Creating a Droplet from the Settings Tab

for more information.

38 Chapter 3

The Basic Transcoding Workflow

The Compressor Interface

4

The Compressor interface consists of a number of core windows in which you do most of your transcoding preparation work.

This chapter covers the following:

Compressor Windows and the Transcoding Workflow

(p. 40)

Creating and Managing Compressor Layouts

(p. 41)

Working with the Compressor Windows

(p. 44)

Batch Window

(p. 47)

Settings Tab

(p. 50)

Destinations Tab

(p. 51)

Inspector Window

(p. 51)

History Window

(p. 61)

Preview Window

(p. 61)

Batch Monitor

(p. 63)

Droplet Windows

(p. 64)

About Changing Values and Timecode Entries

(p. 64)

Keyboard Shortcuts

(p. 66)

39

40

Compressor Windows and the Transcoding Workflow

Each Compressor window represents a part of the transcoding workflow.

Batch window

Preview window

History window

Settings and

Destinations tabs

Inspector window

Batch window: Allows you to import source media files, add settings and destinations, and name the batch.

Settings and Destinations tabs: The Settings tab allows you to centrally manage Apple and custom settings. The Destinations tab allows you to create, modify, or remove destination settings, set a default destination, and add file identifiers to your output media filename.

Inspector window: Allows you easy access to common transcoding controls, and a full summary table containing all the details of each setting. You can also use the Inspector window to gather information on source clips, and to make dynamic changes interactively with the Preview window.

Preview window: Allows you to play your source media file in its original format, or preview your source media file with settings that have been assigned to it. You can see the effects of settings—such as filters and frame resizing—and make adjustments to these attributes while previewing the media file in real time. You can also use the

Preview window to add and view various kinds of markers.

History window: The History window allows you to view a full log of all batches submitted from your computer, including progress bars of those still being transcoded, and pause or resubmit any batches listed in the log.

Droplet window (not pictured): Allows you to save one or more settings or groups of settings into a Droplet, a standalone preset, packaged into a drag-and-drop application and saved as an icon.

Chapter 4

The Compressor Interface

Batch Monitor (not pictured): Allows you to view the status of all batches being processed.

(See the Batch Monitor User Manual for more information.)

Creating and Managing Compressor Layouts

As you use Compressor you will find that, depending on the particular encoding task you are configuring, how the various Compressor windows are laid out can affect how easy

Compressor is to use. To help with this, Compressor includes the ability to configure and save layouts. Layouts define which windows are visible, their size, their position, and which icons are in the Batch window’s toolbar.

Compressor includes two layouts that you can use to get a starting point for creating your own custom layouts.

Note: Each layout is available in several sizes, allowing you to choose the size that best fits your monitor. You can modify any of these layouts and save them as your own custom layouts.

Standard Layout

The standard layout shows all the Compressor windows, with the Settings and Destinations tabs sharing a window. This layout is optimized for those times when you are transcoding a single source media file.

Chapter 4

The Compressor Interface

41

Batch Layout

The batch layout places the emphasis on the Batch window. This layout is optimized for those times when you are transcoding a number of similar source media files.

42

Choosing, Saving, and Managing Layouts

Compressor makes it easy to choose a layout.

To choose a layout

µ

Choose Window > Layouts, and choose a layout from the list that appears.

Once you choose a layout, the Compressor interface changes to match it.

You can also create and save your own custom layouts.

To save a layout

1

Configure the Compressor interface the way you want it to be saved.

See

Working with the Compressor Windows

for information on the ways you can work with the various windows.

2

Choose Window > Save Layout.

3

In the dialog that appears, enter a name for the layout and click Save.

The layout is saved and appears in the Windows > Layouts list.

You can manage the layouts list by removing or renaming existing layouts.

To manage your layouts

1

Choose Window > Manage Layouts.

Chapter 4

The Compressor Interface

The layout manager dialog appears.

2

Do any of the following.

To rename a layout: Double-click it and type the new name.

To remove a layout: Select it and click the Delete (–) button.

To save the current interface configuration as a new layout: Click the Add (+) button and enter a name for the layout.

To choose a layout and apply it to the current Compressor interface: Choose the layout and click the Apply button.

3

Click Done when you have finished managing your layouts.

The layout manager closes and the Compressor interface changes to match the chosen layout setting.

Note: The layouts list is actually divided into two sections—the ones supplied by Apple and the ones that you create. The ones that you create are listed in alphabetical order.

Use care when naming your layouts to ensure you can easily locate them in the list.

About the Layout Files

If you have several workstations using Compressor, you might find that you want to be able to have the same layouts available on all of them.

You can accomplish this by copying the layout files from one system to another, ensuring you put them in the correct location. The layouts are stored in the following path:

Users/username/Library/Application Support/Compressor/Layouts. The layouts all have a .moduleLayout extension.

Important:

Do not manually add or remove the layout files while Compressor is open.

Compressor checks this location for available layouts as part of its startup process. You must restart Compressor to have it recognize any changes you have made to these files.

Chapter 4

The Compressor Interface

43

44

Working with the Compressor Windows

While the standard and batch workflow layouts present the Compressor interface as a single large element, it is actually composed of a number of individual windows that can be positioned and sized to best suit your needs.

Why Are Some Windows Covered Up?

Because the Compressor interface is made up of individual windows, you may find that when you switch from Compressor to another application and then switch back to

Compressor by clicking one of its windows, only that window appears, with the others remaining covered by other windows you might have open.

To bring all Compressor windows to the front

Do one of the following:

µ

When switching between applications, take advantage of the built-in application switching feature of Mac OS X. Press Command-Tab to have an application selection dialog appear.

As you hold down the Command key, you can press the Tab key to cycle through the currently running applications, releasing the Command key once the Compressor icon is selected. This ensures that all the Compressor windows are visible.

µ

Choose Window > Bring All to Front.

µ

Click the Compressor application icon in the Dock.

Note: The Compressor toolbar, located along the top of the Batch window, makes it easy to navigate to the main Compressor windows and to Batch Monitor.

Resizing the Compressor Windows

All the Compressor windows can be resized with the exception of the Inspector window, which has a fixed size.

Each window has a minimum size limit, both horizontally and vertically, that affects how small you can make the window.

To resize a window

µ

Drag the window’s lower-right corner to stretch or compress the window horizontally or vertically.

Drag this corner to resize the window.

Note: As you reposition or resize a window, it will snap to a nearby window once you get close to it. This makes it easy to create a neat layout without gaps or overlaps.

Chapter 4

The Compressor Interface

About the Tabs

The Batch window and the Settings and Destinations tab window can have multiple tabs.

The Batch window: When you are working with a large monitor and have several batches open, you might want to be able to see each of them in its own window.

The Settings and Destinations tabs: By default, the Settings tab and the Destinations tab are located in the same window. You can choose to have each in its own window or to close one of the tabs. You can even choose to add any of the other windows (except the Batch window) as an additional tab to the window.

In both cases, you can also control the order of the tabs.

To move a tab to its own window by dragging

1

Drag the tab out of its current location.

Chapter 4

The Compressor Interface

45

2

Release the tab to have it appear in its own window.

To move a tab to its own window using a shortcut menu

µ

Control-click the tab and choose Tear Off Tab from the shortcut menu.

The tab opens in its own window.

To add a tab from one window to another window by dragging

1

Drag the tab to the tab area of the window you want to add it to.

A highlight appears around the tab area.

46

2

Release the tab.

Chapter 4

The Compressor Interface

It snaps to the tab area and its original window closes.

To add a tab from one window to another window by using a shortcut menu

µ

Control-click the tab area where you want the window to appear, and choose the tab from the list that appears in the shortcut menu.

Note: This is the only method that allows you to add the History, Preview, or Inspector tabs to the window.

To change the order of the tabs in their current window

µ

Drag the tab left or right to its new position.

The other tabs move to make room for it.

Once you have the Compressor interface configured as you like it, you can save it as a layout. That makes it easy to restore the layout or to switch between it and other layouts.

See

Creating and Managing Compressor Layouts

for more information.

Batch Window

When you first open Compressor, the Batch window appears. The Batch window allows you to import source media files for compressing, add settings and destinations, name the batch, and choose where you want to save it. The Batch window is where you place all source media files in preparation for transcoding.

Note: Generally the Batch window is always showing. If you close it, it will reopen when you create a new batch (File > New Batch) or open an existing batch (File > Open).

You can use the Compressor menu bar or the toolbar at the top of the Batch window to open all other windows. (If the toolbar isn’t visible when you open Compressor, click the button in the upper-right corner of the Batch window to open it.)

Batch tabs

Show/hide

toolbar button

Toolbar

Job area

Batch submission button

Batch status

Chapter 4

The Compressor Interface

47

In addition to the Compressor toolbar and the Submit button, the Batch window contains the tabs for the open batches and an area for showing and configuring a batch’s jobs.

For information about adding source media files to a batch, see

Adding Source Media

Files to a Batch to Create Jobs . For information on working with jobs and targets, see

Finalizing Jobs and Submitting Batches

.

Customizing the Toolbar

The Batch window contains a toolbar that you can customize to better fit your needs.

Note: If the toolbar isn’t visible when you open Compressor, click the button in the upper-right corner of the Batch window to open it.

To customize the Batch window toolbar

1

Do one of the following to open the toolbar customization palette:

• Choose View > Customize Toolbar.

• Control-click in the toolbar and choose Customize Toolbar from the shortcut menu.

• Click the Customize icon in the toolbar (if present).

The toolbar palette opens.

48

2

To customize the toolbar, do any of the following.

To remove items currently in the toolbar: Drag them off.

To add items to the toolbar: Drag them from the toolbar palette to the toolbar, placing them where you want them to appear.

To rearrange items in the toolbar: Drag them from their current location to a new location.

To restore the toolbar to its default configuration: Drag the default set (located on the bottom of the palette) to the toolbar.

Chapter 4

The Compressor Interface

To configure how items show in the toolbar: Choose a setting from the Show pop-up menu.

You can choose to show the icon and text, the icon only, or the text only.

3

Click Done when you have finished.

Note: The toolbar configuration is saved as part of a layout. See

Creating and Managing

Compressor Layouts

for more information about layouts.

It is possible to add more items to the toolbar than there is room for. When that happens, the right edge of the toolbar shows a double arrow that you can click to get access to the icons that do not fit.

Click these arrows to see items that did not fit in the toolbar.

About the Toolbar Items

Most of the items you can add to the toolbar can be added only once. There are a few that can be added multiple times, such as the separator, the space, and the flexible space.

New Batch: Creates a new untitled batch.

Open Batch: Opens a dialog for you to locate and select a saved batch to open.

Close: Closes the currently selected batch.

Note: You cannot close a batch if it is the only one open.

Add File: Opens a dialog for you to locate and select one or more source media files to import into the current batch.

Add Surround Sound: Opens the audio file assignment dialog that you can use to manually assign files to each audio channel in a surround sound configuration.

Submit with Previous Settings: Submits the batch by using the settings used by previous batch submissions, bypassing the submission dialog.

History: Opens the History window.

Inspector: Opens the Inspector window.

Settings: Opens the Settings tab.

Destinations: Opens the Destinations tab.

Chapter 4

The Compressor Interface

49

Preview: Opens the Preview window.

Batch Monitor: Opens the Batch Monitor application.

Separator: Adds a vertical line to the toolbar, allowing you to group items together.

Space: Adds a fixed-width space to the toolbar.

Flexible Space: Adds a flexible-width space to the toolbar. The space makes it possible to force items to the left and right edges of the toolbar, with it expanding to fill any unused area.

Customize: Opens the toolbar customization palette.

Settings Tab

The Settings tab allows you to centrally manage Apple and custom settings. You use the

Settings tab together with the Inspector window to create and modify settings, decide exactly which settings you want to use to transcode your source media file, and choose which output format you want the transcoded file converted to.

To open the Settings tab

Do one of the following:

µ

Choose Window > Settings (or press Command-3).

µ

Click the Settings icon in the Batch window toolbar (if present).

µ

Click the Settings tab (if present).

The Settings tab contains a list of the existing settings and the necessary buttons to add, remove, or duplicate a setting and to create groups and Droplets.

50

See

Creating, Previewing, and Modifying Settings

for details on using the Settings tab to create, manage, and choose settings.

Chapter 4

The Compressor Interface

Destinations Tab

The Destinations tab allows you to create, modify, or remove destination settings, set a default destination, and add file identifiers to your output media filename.

To open the Destinations tab

Do one of the following:

µ

Choose Window > Destinations (or press Command-4).

µ

Click the Destinations icon in the Batch window toolbar (if present).

µ

Click the Destinations tab (if present).

See

Creating and Changing Destinations

for details on how to configure destinations to simplify your Compressor workflow.

Inspector Window

The Inspector window has easy access to common transcoding controls (for creating and modifying settings and destinations); a full summary table containing all the details of each setting; and information about source media files, including A/V attributes, closed caption data, annotations, and job actions.

To open the Inspector window

Do one of the following:

µ

Choose Window > Show Inspector (or press Command-Option-I).

µ

Click the Inspector icon in the Batch window toolbar.

Note: Unlike the other Compressor windows, the Inspector window cannot be resized.

Chapter 4

The Compressor Interface

51

About the Automatic Settings

Several items in the settings panes have an optional automatic mode. When the automatic mode is enabled, Compressor determines the optimal value for the setting.

The Automatic button is dark when active, and its item is dimmed.

The Automatic button is dimmed when inactive, and its item is selectable.

In general, when the automatic mode is active, its item is dimmed and cannot be changed.

If the setting has not been assigned to a source media file: The item says “Automatic.” An exception is in the Frame Controls pane of the Inspector window, whose state is undetermined until you have applied the setting to a source media file.

If the setting has been assigned to a source media file: The item remains dimmed but shows the value that will be used.

When the automatic mode is inactive, its button is dimmed and you can choose values for an item as usual.

You can turn the Automatic button on or off to change from on (the button darkens) to off (the button lightens).

Tip: It is a good idea to verify the values in the Inspectors for those settings that are set to automatic. Compressor can usually correctly determine the appropriate values; however, there may be instances where there is not enough information in the source media file to determine the correct value. For example, some QuickTime clips might not have proper metadata or the metadata might be incorrect. Additionally, if the source media file uses nonstandard settings (such as the video frame size or frame rate), Compressor chooses the nearest standard value to use.

52 Chapter 4

The Compressor Interface

Media Source Files and the Inspector Window

When you select a job in the Batch window, the Inspector window shows you information about the job’s source media file and allows you to add annotations, closed caption files, and job actions.

The Inspector window contains three tabs: A/V Attributes, Additional Information, and

Job Action.

A/V Attributes Tab

The A/V Attributes tab contains general information about the source media file and is divided into three sections.

File information: This section shows the filename, location, and type of file.

Video information: This section, when applicable, shows all video-related information about the file. This includes its frame size, frame rate, and timecode information.

Audio information: This section, when applicable, shows all audio-related information about the file. This includes its sample size and sample rate.

Additional Information Tab

The Additional Information tab allows you to see and modify a variety of metadata items that might have been added in other applications such as Final Cut Pro, Soundtrack Pro, or QuickTime. You can also add metadata items to the output media file. It also includes the ability to associate a closed caption file with the file.

Chapter 4

The Compressor Interface

53

See

Using the Inspector with Source Media Files

for more information on managing the closed caption files and annotations.

“Closed Caption file” field: Displays the name of the closed caption file currently associated with the source media file.

Choose (closed caption) button: Use this button to open a dialog and navigate to the the closed caption file you want to associate with the source media file.

Add Annotation pop-up menu: Use this menu to choose the type of annotation you want to add to the source media file.

Remove (annotation) button: Use this button to remove the selected annotation.

Annotation table: Displays the current annotation types and the corresponding annotation text.

Revert button: Use this button to revert to the last saved state of the Annotation table.

54 Chapter 4

The Compressor Interface

Job Action Tab

The Job Action tab allows you to apply and/or adjust post-transcoding actions to entire jobs. See

Adding Actions

for more information.

“When job completes” pop-up menu: Use this pop-up menu to select and apply a post-transcoding action for a job selected in the Batch window. For more information, see

Adding Actions

.

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

Do nothing: Choose this option to disable the Job Action tab.

Add to iTunes Library: Compressor will add the output media file to an iTunes playlist.

Create DVD: Compressor will burn a standard-definition DVD using MPEG-2 (.m2v) video and Dolby Digital Professional (.ac3) audio.

Create Blu-ray Disc: Compressor will burn a Blu-ray disc or an AVCHD disc using video and audio that is compatible with Blu-ray.

Create Web Reference Movie: Compressor will create a reference movie that enables a web browser and a server to automatically select the right movie for any device or connection speed, without requiring the viewer to make a choice.

Chapter 4

The Compressor Interface

55

Open with Application: Compressor will open the output media file with a specific application.

Publish to MobileMe: Compressor will create video files suitable for viewing on

MobileMe and upload them to a MobileMe account.

Run Automator Workflow: This option opens a dialog for you to locate and select an

Automator script which Compressor will execute automatically on completion of the transcoding job.

Upload to YouTube: Compressor will create a video file suitable for viewing on YouTube and upload it to a YouTube account.

About the Settings Panes

When you select a setting in the Settings tab or a target in a batch’s job, the Inspector shows one of six panes.

Summary Pane

The Summary pane contains the Summary table, which describes all the settings (video and audio settings, geometry, and filter settings) associated with the setting selected in the Settings tab. Information in the Summary table is updated automatically whenever any setting is modified.

56

The Summary table includes the following details.

Name: The name of the setting selected in the Settings tab.

Description: A description of the setting selected in the Settings tab.

File Extension: The extension assigned to the transcoded media file. This identifies which format your source media file is being converted to.

Chapter 4

The Compressor Interface

Estimated file size: When assigned to a source media file, this shows the estimated total file size. When not assigned to a source media file, this shows an estimated size per hour of source media.

Note: The estimated total file size is not available for all output formats.

Audio Encoder: Details of the audio output file format and other transcoding settings, such as sample rate, channels, bits per sample, and codec type.

Video Encoder: Details of the video output file format and other transcoding settings such as frame width and height, crop amount (in pixels), frame rate, aspect ratio, codec type, pixel depth, spatial quality, minimum spatial quality, key frame interval, temporal quality, minimum temporal quality, and data rate (in bits per second).

Filter: Details of all, some, or none (depending on how many filters you selected in the

Filters pane) of the available Compressor filters.

Encoder Pane

You use the Encoder pane to select and configure the output file format and other settings.

The file format options and attributes are different for each format.

File Format: Use this pop-up menu to choose an output file format. See

Choosing an

Output Format

for more information on the available output formats.

File Extension field: The following file extensions automatically appear in this field based on the format you choose from the File Format pop-up menu, and if video and audio tracks are enabled. Don’t alter this field without good reason, because your file may not be recognized if you do.

aiff: Represents AIFF.

ac3: Represents Dolby Digital Professional.

dv: Represents Digital Video (DV) format video.

Chapter 4

The Compressor Interface

57

mpg: Represents MPEG-1 multiplexed (video and audio) stream.

m1v: Represents MPEG-1 video elementary stream.

m1a: Represents MPEG-1 audio elementary stream.

m2v: Represents MPEG-2 video elementary stream.

m2t: Represents MPEG-2 transport stream.

mpeg: Represents MPEG-2 program stream.

m4v: Represents H.264 for Apple Devices.

mp4: Represents MPEG-4.

mov: Represents QuickTime and H.264 for DVD Studio Pro.

tga: Represents TARGA.

tiff: Represents TIFF.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with two–pass or multi-pass encoding. (The Compressor distributed processing feature is limited to computers that have either Final Cut Studio or DVD Studio Pro installed.) For more information, see

Job Segmenting and Two-Pass or Multi-Pass Encoding

.

Frame Controls Pane

This pane of the Inspector offers automatic and customized settings for advanced image analysis in frame resizing and frame retiming.

58

Frame resizing would be necessary when transcoding between a high definition format such as 1080i and a standard definition format such as DV-NTSC. An example of frame retiming would be when transcoding between video formats with different frame rates such as NTSC (29.97 frames per second) and PAL (25 frames per second). For more information about the Frame Controls pane, see

About the Frame Controls Pane .

Chapter 4

The Compressor Interface

Filters Pane

You use the Filters pane to add filters to your setting. You can perform tasks such as gamma correction and noise removal from here.

Select the checkbox next to any of the filters you want to include in a particular setting.

Use each filter’s sliders or arrow controls to adjust your filter settings as necessary.

Filters are applied to the source media file in the order you organize them in the Filters list. You can reorder filters by dragging them up or down in this list.

For more information about the Filters pane, see

About the Filters Pane .

Geometry Pane

You use the options in the Geometry pane to crop and size the media file being compressed and set its aspect ratio.

Chapter 4

The Compressor Interface

59

The Geometry pane has three sections:

Source inset (Cropping): Use any of the four fields to enter the number of pixels by which you want to reduce the source media file size, or click the “Automatically detect crop settings for letter-box” checkbox to have Compressor enter crop values based on the source media file video content.

Dimensions (encoded pixels): Use the Frame Size pop-up menu or these fields to create an appropriate output frame size and aspect ratio for your output media file. Use the

Pixel Aspect pop-up menu to set width and height values to conform to a designated pixel aspect ratio.

Output image inset (Padding): Use the Padding pop-up menu to calculate the output height or width values. With Custom selected, you can enter values in the fields.

For more information about the Geometry pane, see

Adding Geometry Settings .

Actions Pane

You use the Actions pane to activate transcode-completion notification emails and execute post-transcoding AppleScript actions.

60

“Email Notification to” checkbox and field: Use to enter the address to which you want an email notification sent after the media file has been transcoded, or in the event of an error.

“Execute AppleScript on output” checkbox: Select this checkbox to activate any AppleScript you have assigned to the setting after the media file has been transcoded.

Choose button: Click to select the AppleScript you want to assign to the setting.

Default Destination: Choose a destination from the pop-up menu that you want this setting to use as its default.

For more information about the Actions pane, see

Adding Actions .

Chapter 4

The Compressor Interface

History Window

The History window gives you quick access to and some information about previously submitted batches. You can use this window to pause a transcoding operation, resubmit batches by dragging them to the Batch window, or view submission details about particular batches. You can also use it to locate the output media files from previously submitted batches.

The History window also contains a progress bar that you can use to monitor the status of previously submitted batches.

To open and close the History window

Do one of the following:

µ

Choose Window > History (or press Command-1).

µ

Click the History button in the Batch window toolbar.

Note: The History window automatically opens if it is closed when you submit a batch for transcoding.

The History window contains entries that display information about the batch name and the date and time it was originally transcoded. The entries are ordered by date, with the oldest first. When you drag a batch into the Batch window for resubmission, a new untitled batch is created for it (any existing batches are unaffected).

For more information about the controls and settings in the History window, see

About the History Window

.

Preview Window

The Preview window consists of a split screen that displays your selected source media file in its original form on the left side, and what your output media file will look like on the right side. This allows you to make a comparison between the original and transcoded versions and adjust your settings as necessary. Using the options in this window, you can crop the frame, add key frames, and change the aspect ratio.

To open the Preview window

Do one of the following:

µ

Choose Window > Preview (or press Command-2).

Chapter 4

The Compressor Interface

61

µ

Click the Preview button in the Batch window toolbar.

Marker pop-up menu button

The Preview window has additional features, including a marker management pop-up menu. The marker management pop-up menu allows you to import chapter lists or manually add chapter (and podcast) markers and compression markers (to improve the compression quality of your media file). You can also view Edit/Cut compression markers that were generated in other applications such as Final Cut Pro. If you are sending a

Final Cut Pro project to Compressor, these settings or markers are transferred with your project. These markers are also exported to DVD Studio Pro. See

Working with MPEG-2

I-Frames

and

More About GOPs and Markers

for more information.

For more information about the controls and settings in the Preview window, see

About the Preview Window

.

62 Chapter 4

The Compressor Interface

Batch Monitor

You use Batch Monitor to monitor the progress of all transcoding batch activity, including estimates for the transcoding time remaining for all jobs. Batch Monitor is a separate application that can be opened without opening Compressor. For more details on

Batch Monitor, see the Batch Monitor User Manual.

To open Batch Monitor

Do one of the following:

µ

Click the Batch Monitor button in the Batch window toolbar.

µ

Double-click the Batch Monitor icon in the Utilities folder.

You can also set Compressor preferences so that Batch Monitor opens automatically when you submit a batch. See

Setting Compressor Preferences

for more information.

Batch Monitor displays the status of all your submitted batches, including each batch’s name and other details. You can view reports for both successful and failed jobs in

Batch Monitor as well as the History window.

For more information about the controls and settings in Batch Monitor, see the

Batch Monitor User Manual.

Chapter 4

The Compressor Interface

63

Droplet Windows

You can save one or more settings or groups of settings into a Droplet, a standalone preset, packaged into a drag-and-drop application and saved as an icon. Then you can transcode source media files (without even opening Compressor) by simply dragging them to a Droplet icon. See

Using Droplets

for information on creating and using Droplets.

Drag selected source media files to a Droplet to transcode them.

You can open any Droplet and view its window for full details about the Droplet.

To open a Droplet window

µ

Double-click a Droplet icon.

For more information about the controls and settings in the Droplet window, see

About the Droplet Window

.

About Changing Values and Timecode Entries

Compressor includes several types of value entry methods. Most of them have features that can make changing the values or timecode fields much easier.

64 Chapter 4

The Compressor Interface

Using Value Sliders

There are two methods used to enter general numeric values: traditional sliders with separate numeric entry fields and value sliders that combine the slider with the numeric entry field.

Value slider with combined slider and numeric entry field

Separate slider and numeric entry field

Value sliders allow you to enter a specific number in the value field or to drag in the value field to set a value. When using the value sliders, you can use a modifier key to make normal, small, or large value adjustments. Dragging in the middle area (where the number is) works the same as an ordinary slider; dragging to the right increases the value and dragging to the left decreases the value. Additionally, you can click the right or left arrow to change the value one step at a time. You can also double-click the number itself and type a new number to enter a specific number in the value field.

To change values in normal increments

Do one of the following:

µ

Drag left or right in the value field.

µ

Click the left arrow to decrease a value, or click the right arrow to increase a value.

µ

If you have a three-button mouse with a scroll wheel, click in the value field and use the scroll wheel on the mouse.

To change values in fine increments

Do one of the following:

µ

Option-drag in the value field.

µ

Option-click the left arrow to decrease a value, or Option-click the right arrow to increase a value.

µ

If you have a mouse with a scroll wheel, Option-scroll in the value field.

To change values in coarse increments

Do one of the following:

µ

Shift-drag in the value field.

µ

Shift-click the left arrow to decrease a value, or Shift-click the right arrow to increase a value.

µ

If you have a mouse with a scroll wheel, Shift-scroll in the value field.

When a value slider or value field is active (highlighted), press Tab to move to the next field.

Chapter 4

The Compressor Interface

65

Using Timecode Value Sliders

Compressor uses timecode value sliders for all timecode entry fields. In addition to being able to enter timecode values directly, you can “scrub” the timecode value by dragging.

If you place the pointer over a segment of the timecode, small arrows appear above and below that segment.

You can drag up or to the right to increase the value in that segment (values in segments to the left will also increment if your dragging causes the selected segment to roll over).

Dragging to the left or down decreases the value. You can hold down the Option key to make the value changes slower, or the Shift key to make them faster.

Alternatively, you can click the up and down arrows on each side of the timecode value or press the keyboard’s Up Arrow and Down Arrow keys to increase or decrease the timecode value.

You can control which segment is affected by the up and down arrows by selecting a segment so that a caret appears below the segment. You can also use the keyboard’s

Left Arrow and Right Arrow keys to select other segments.

Keyboard Shortcuts

For complete lists of Compressor keyboard shortcuts, see

General Compressor

Keyboard Shortcuts

and

Preview Window Keyboard Shortcuts

.

66 Chapter 4

The Compressor Interface

Setting Compressor Preferences

5

You can use Compressor preferences to configure many aspects of Compressor.

This chapter covers the following:

About Compressor Preferences

(p. 67)

Using Compressor Preferences

(p. 70)

About Compressor Preferences

Use the Compressor Preferences window to configure a variety of Compressor controls.

The Compressor Preferences window contains the following controls.

Compressor Preferences Details

Email Address field: Use this field to enter the default email address for email notification.

67

68

Outgoing Mail Server field: For more information about email notification, see

Working with Post-Transcoding Actions .

“Auto launch Batch Monitor” checkbox: Use this checkbox to control whether

Batch Monitor automatically opens when you submit a batch.

“Auto launch Content Agent” checkbox: Use this checkbox to control whether the Content

Agent opens automatically when the computer is started.

Content Agent is a background process that Compressor uses to transfer source files to other nodes in an Apple Qmaster cluster and to receive the transcoded files back from those nodes. Generally, Content Agent is not needed until you are ready to submit a batch using distributed processing. There may be times, however, when having the

Content Agent open automatically when the computer starts can help a transcode process.

For example, if a computer loses power and automatically restarts while a large batch is being processed, having Content Agent restart can automatically get the transcode process to resume running.

“Quit after submitting batches from other applications” checkbox: Use this checkbox to control whether Compressor quits once a batch has been submitted.

“Display job thumbnails” checkbox: Use this checkbox to control whether thumbnail images are displayed for jobs in a batch.

Cluster Options pop-up menu: Choose one of the following to control cluster options

(for distributed processing scratch storage settings).

Copy Source to Cluster as Needed: Instructs Compressor to copy source files to a cluster’s scratch storage location as needed.

Always Copy Source to Cluster: Requires Compressor to always copy source files to a cluster’s scratch storage location.

Never Copy Source to Cluster: Prevents Compressor from copying source files.

Never copy files to/from server: Prevents Compressor from copying any files. Either all the files are in the correct locations, or the batch fails.

“Copy at submission (high priority)” checkbox: Use this checkbox to control whether

Compressor transfers Source files to the processing cluster immediately.

Default Setting pop-up menu: Use the Default Setting pop-up menu to choose from the list of existing settings.

Default Destination pop-up menu: Use the Default Destination pop-up menu to choose from the list of existing destinations.

For New Batches buttons: Choose one of the following options for setting the Compressor startup screen.

Show Template Chooser: Compressor opens with the Batch Template Chooser on startup.

Chapter 5

Setting Compressor Preferences

Show Blank Template: Compressor opens with an empty untitled batch with a placeholder job.

“Enter IP addresses or ranges for manually selected computers” table: This table displays information about remote host computers.

Add/Remove button: Use this button to add or remove information about remote host computers.

Remote Computer Address Dialog

The remote computer address dialog is displayed when you click the Add/Remove button in the main Compressor Preferences dialog. Use this dialog to enter IP addresses or ranges for manually selected computers.

This dialog contains the following controls:

Host/Host IP Address Range buttons: These buttons control whether this dialog is in IP

Address mode (in which you enter a specific address) or IP Address Range mode (in which you enter a range of addresses).

Host: Use this mode to enter a host name and IP address for a specific remote computer.

Host IP Address Range: Use this mode to enter a name and set of range numbers

(Range From, Range To) for a range of remote IP addresses.

Chapter 5

Setting Compressor Preferences

69

Using Compressor Preferences

Follow the instructions below to set Compressor preferences.

70

To open Compressor preferences

µ

Choose Compressor > Preferences, or press Command-Comma (,).

The Preferences window appears.

To configure the email notification preference

1

Enter the default email address to use when email notification is activated.

You can change this address in the Actions pane of the Inspector window.

2

Enter the mail server used by this computer for outgoing email.

For more information about email notification, see

Working with Post-Transcoding Actions

.

To set whether or not Batch Monitor automatically opens

Do one of the following:

µ

Select the “Auto launch Batch Monitor” checkbox to have Batch Monitor automatically open when you submit a batch.

µ

Deselect the “Auto launch Batch Monitor” checkbox to prevent Batch Monitor from automatically opening. You can still manually open Batch Monitor from the Batch window.

Chapter 5

Setting Compressor Preferences

To control whether Content Agent automatically opens

Do one of the following:

µ

Select the “Auto launch Content Agent” checkbox to have Content Agent open automatically when the computer is started.

µ

Deselect the “Auto launch Content Agent” checkbox to have Content Agent not open until Compressor is opened.

Content Agent is a background process that Compressor uses to transfer source files to other nodes in an Apple Qmaster cluster and to receive the transcoded files back from those nodes. Generally, Content Agent is not needed until you are ready to submit a batch using distributed processing. There may be times, however, when having the

Content Agent open automatically when the computer starts can help a transcode process.

For example, if a computer loses power and automatically restarts while a large batch is being processed, having Content Agent restart can automatically get the transcode process to resume running.

To control whether Compressor remains running after a batch has been submitted through it by another application (such as Final Cut Pro)

Do one of the following:

µ

Select “Quit upon submitting batches from other applications” to have Compressor quit once the batch has been submitted.

µ

Deselect “Quit upon submitting batches from other applications” to have Compressor continue running once the batch has been submitted.

To control whether thumbnail images are displayed for each job in a batch

µ

Select “Display job thumbnails” to have Compressor display the images.

µ

Deselect “Display job thumbnails” to have Compressor not display the images.

To control cluster options (for distributed processing scratch storage settings)

1

Click the Cluster Options pop-up menu.

2

Choose one of the following.

Copy Source to Cluster as Needed: Instructs Compressor to copy source files to a cluster’s scratch storage location as needed.

Always Copy Source to Cluster: Requires Compressor to always copy source files to a cluster’s scratch storage location.

Never Copy Source to Cluster: Prevents Compressor from copying source files.

Never copy files to/from server: Prevents Compressor from copying any files. Either all the files are in the correct locations, or the batch fails.

Chapter 5

Setting Compressor Preferences

71

To control whether Compressor transfers Source files to the processing cluster immediately

Do one of the following:

µ

Select “Copy at submission (high priority)” to have Compressor transfer source files immediately.

µ

Deselect “Copy at submission (high priority)” to prevent Compressor from transferring source files immediately.

To control the default setting

µ

Use the Default Setting pop-up menu to choose from the list of existing settings.

The setting you choose appears as the default setting when you import a new source file in the Batch window.

To change the default destination

µ

Use the Default Destination pop-up menu to choose from the list of existing destinations.

The destination you choose appears as the default destination when you import a new source file in the Batch window.

To control whether Compressor displays the Batch Template Chooser on startup

µ

Select Show Template Chooser to display the Batch Template Chooser on startup.

µ

Select Use Blank Template to not display the Batch Template Chooser on startup.

To enter IP addresses or ranges for remote host computers

1

Click Add (+) at the bottom of the Compressor Preferences dialog.

The host address dialog appears.

72

2

In the host address dialog, do one of the following:

• Select Host, complete the Host Name and IP Address fields, and click Add Host.

• Select “Host IP address range,” complete the Range fields, and click Add Range.

The hosts or host ranges appear in the Host table in the main Preferences dialog.

Chapter 5

Setting Compressor Preferences

Important:

Any changes you make to the Compressor preference settings take effect only when you click OK. If you make changes but decide not to use them, click Cancel.

Chapter 5

Setting Compressor Preferences

73

Importing Source Media Files

6

The first step in the traditional Compressor transcoding process is to import at least one source media file into the Batch window.

Note: If you are using the batch template workflow, the first step would be to choose a batch template. For more information about the simple batch template workflow, see

Quick and Easy Compressor Workflow: Batch Template Method .

This chapter covers the following:

About the Batch Window

(p. 75)

Adding Source Media Files to a Batch to Create Jobs

(p. 77)

Using the Inspector with Source Media Files

(p. 86)

Tips on Importing Source Media Files

(p. 89)

About the Batch Window

The Batch window provides a central location for organizing your transcoding tasks and quickly assigning settings. When you first open Compressor, an untitled Batch window appears. Think of batches as documents that can be saved, closed, and opened again.

You use the toolbar at the top of the Batch window to open all other task windows.

Currently selected

batch name

Show/hide

toolbar button

Toolbar

Batch tabs

Jobs area

Batch submission button

Batch status

75

76

General Batch Window Information

Batches are the heart of your Compressor workflow, and the Batch window is where you work with the batches. The Batch window supports having multiple batches open at once, showing them as separate tabs.

To create a new batch

µ

Choose File > New Batch (or press Command-N).

A new untitled batch is added to the Batch window.

The new batch’s tab

Each tab is for a different batch.

See

Saving and Opening a Batch File

for more information about batch files.

You can even have multiple Batch windows open, with each containing a different batch, by dragging a batch’s tab to a new location. See

About the Tabs

for information on dragging tabs to open or close additional Batch windows.

The Batch window has a Submit button, located in the lower-right corner, that you can use to begin transcoding the currently selected batch. The lower-left corner shows the status of the current batch (how many jobs it contains and whether it has been submitted).

About the Batch Window Toolbar

The Batch window has a customizable toolbar along its top. You can choose whether to show or hide the toolbar by clicking the button in the window’s upper-right corner.

Show/hide toolbar button (with the toolbar hidden in this example)

You can choose to have a variety of items in the toolbar, such as items to open, save, or close a batch. See

Customizing the Toolbar

for details on the items you can add and how to add them.

Chapter 6

Importing Source Media Files

Adding Source Media Files to a Batch to Create Jobs

You need to import the source media files into the batch in the Batch window before you can add any transcoding settings to them. Once they are imported into the batch, the source media files create a job, which is the first step to getting the files transcoded.

There are special methods to use when importing surround sound source media files.

Adding Standard Source Media Files to Batches

Following are the details for adding standard (non–surround sound) source media files to a batch.

To add source media files to a batch

1

Open Compressor.

The Batch window opens with an empty batch tab named Untitled.

Untitled batch tab

Empty batch area with a placeholder job

2

Do one of the following:

• Choose Job > New Job With File (or press Command-I), navigate to the relevant media file folder, select one or more source media files, and then click Open.

Note: Choose Job > New Job With Surround Sound Files (or press Command-Control-I) to create a new job using a set of audio files for surround sound output. See

Adding

Image Sequences to Batches

for more information.

• Click the Add File button (in the Batch window toolbar, if visible), navigate to the relevant media file folder, select one or more source media files, and then click Open.

• Control-click an empty area of the batch and choose New Job With File from the shortcut menu. You can then navigate to the relevant media file folder, select one or more source media files, and then click Open.

Chapter 6

Importing Source Media Files

77

• Open your source media file folder and drag one or more source media files into the batch.

Note: You can combine the above steps by selecting all the source media files you want to transcode before opening Compressor and then dragging them to the Compressor application icon. This opens Compressor and adds the media files to the default untitled batch at the same time.

3

Save the batch by choosing File > Save As (or pressing Command-Shift-S).

4

Enter a name for the batch and choose the location where you want to save it in the dialog that appears.

5

Click Save when done.

The tab in the Batch window changes to match the name of the file.

Note: If your Finder preferences are set to show the extensions, the extension .compressor

appears in the tab along with the name.

You are not actually required to name and save your batches, and for quick jobs you might decide not to. However, naming and saving a batch makes it easy to go back and resubmit it later if you find that the output files were not as expected or if your needs change. It also makes it easier to figure out what is in the History window and in

Batch Monitor if you submit multiple batches in a short period of time.

78 Chapter 6

Importing Source Media Files

The batch now contains your selected media files, each in its own job. Source media files with video content also include a thumbnail image and a scroller that you can use to scroll through the video.

The targets for this job will appear in this area.

Each source media file creates a job.

Drag the slider to scroll through video files.

Click anywhere in the job to see this file’s attributes in the Inspector window.

You can change the source media file assigned to a job.

To change the source media file assigned to a job

1

Select the job for which you want to change the source media file.

2

Do one of the following:

• Choose Job > Source > File, navigate to the relevant media file folder, select one or more source media files, and then click Open.

• Control-click the job and choose Source from the shortcut menu. You can then navigate to the relevant media file folder, select one or more source media files, and then click

Open.

• Drag a new source media file to the job.

Any targets you had already configured remain and are now applied to the new source media file. You can also remove a source media file from a job if needed.

To remove a source media file from a job

µ

Control-click the job and choose Clear Source from the shortcut menu.

To remove a job from a batch

Do one of the following:

µ

Select the job and press Delete.

µ

Control-click in an empty part of the batch and choose Remove All Jobs from the shortcut menu.

Chapter 6

Importing Source Media Files

79

80

These jobs are now ready to have a target added to them. Targets include the settings and destinations required to make this a job that you can submit for transcoding. See

Finalizing Jobs and Submitting Batches

for information on adding targets to jobs. Also see

Creating, Previewing, and Modifying Settings

for information on how to create your own settings.

Adding Surround Sound Source Media Files to Batches

There are two methods you can use to add audio files to a batch to create a surround sound job: an automatic method that relies on file naming to map the audio files to the proper channels and a manual method that allows you to manually assign the audio files to the channels.

Each method results in a job to which you can add a setting that supports surround sound audio outputs, such as Dolby Digital Professional, AIFF, and several audio codecs in the

QuickTime Movie output format.

Important:

Some of the output formats have multiple configurations for the surround sound audio channels. Be sure you know which configuration your intended playback device requires. For example, the AIFF output format provides four different configurations for 5.1 (six-channel) audio outputs, with the difference being the order of the channels.

Assigning Files to Surround Sound Channels (Automatic Method)

Compressor offers some streamlined channel assignment techniques that can save you time.

To assign files to surround channels with channel identifier codes

1

Append the channel identifier code of the target surround channel to the filename of each source audio file. (See the list below for the appropriate channel identifier codes.)

-L: Left front channel

-R: Right front channel

-C: Center front channel

-Ls: Left surround channel

-Rs: Right surround channel

-S: Center surround channel

-LFE: Low frequency channel (Subwoofer, LFE)

For example, to assign an AIFF file to the left surround channel, rename the file as

filename-Ls.aiff (where filename is the name of your file). (The channel identifier codes must include the hyphen, as shown.)

Note: Mac OS X may add a file extension like .aiff. This will not interfere with this channel assignment method.

Chapter 6

Importing Source Media Files

This procedure works only when you drag and drop files into the Batch window. If you drag the files onto the Compressor application icon, they will appear as separate source files, each in its own job.

Note: If you are creating Dolby Digital Professional (AC-3) surround sound streams, you will not use all the channels listed in the table at once. See

Audio Tab Settings

for a diagram of the Dolby audio coding modes.

2

Drag the renamed source audio files to the Batch window.

If the following conditions are met, Compressor automatically collapses the entire group of files into what appears as a single surround source media file in the Batch window:

• The files in the group must be named correctly. (See the list in the previous step.)

• The total number of files in the group must be fewer than seven.

Assigning Files to Surround Sound Channels (Manual Method)

Follow these steps to use the manual method for assigning individual audio files to surround sound channels.

To manually assign source audio files to channels of a surround sound stream

1

Do one of the following to import the source audio files:

• Choose Job > New Job With Surround Group (or press Command-Control-I).

• Click the Add Surround Sound button in the Batch window.

• Control-click in the batch and choose New Job With Surround Group from the shortcut menu.

The channel assignment interface opens.

2

Do one of the following to assign a source audio file to a particular channel:

• Drag the source audio file from the Finder to the icon for a specific channel (for example,

“L”).

• Click the icon for a specific channel (for example, “L”) and use the Open dialog to locate the source audio file intended for that channel.

Chapter 6

Importing Source Media Files

81

The file is now assigned to the “L” (Left Front) Channel.

3

Repeat step 2 for each of the source audio files that you intend to include in the surround stream.

Note: If you are creating Dolby Digital Professional (AC-3) surround sound streams, you will not use all the channels listed in the table at once. See

Audio Tab Settings

for a diagram of the Dolby audio coding modes.

4

When you have finished adding source audio files to the channel assignment interface, click OK.

The group of surround files appears as a single surround source media file job in the

Batch window.

82 Chapter 6

Importing Source Media Files

About Surround Sound Jobs

Once you have created a surround sound job, the batch window shows the surround sound icon in the source media file thumbnail and the Inspector window shows the channels and their assigned files.

Click a channel’s icon to change the file assigned to that channel.

You can change any of the file assignments in the Inspector window.

To change a surround sound file assignment

1

Click the speaker icon of the channel you want to change.

A file selection dialog opens.

2

Locate the file to assign to that channel and click Open.

See

Creating Dolby Digital Professional Output Files

for information on creating Dolby

Digital Professional output files. See the Soundtrack Pro User Manual for comprehensive information about creating surround sound audio files. If you are planning to make DVDs using DVD Studio Pro, see the DVD Studio Pro User Manual for more information about the DVD authoring workflow.

Chapter 6

Importing Source Media Files

83

Adding Image Sequences to Batches

You can import a sequence of still images into Compressor as a single image sequence job and then apply an output frame rate and an audio file to the job. From that point, you treat the job as you do any other Compressor source media file, adding settings, destinations, filters, and post-transcoding actions to create an output media file with the desired video and audio formats and characteristics.

To add a still image sequence job to a batch

1

Open Compressor.

The Batch window opens with an empty batch tab named Untitled.

Untitled batch tab

Empty batch area with a placeholder job

Note: If the Batch Template Chooser opens automatically, click Cancel to close the Batch

Template Chooser. To prevent the Batch Template Chooser from opening when you open

Compressor, click the “Don’t show this dialog again” checkbox, or, in Compressor

Preferences, choose For New Batches: Show Blank Template.

2

Do one the following:

• Click the Add Image Sequence button and navigate to the folder containing the image sequence files you want to import.

• Choose Job > New Job With Image Sequence (or press Command-Option-I) and navigate to the folder containing the image sequence files you want to import.

3

Select the folder containing the image sequence files you want to import.

4

Click Open.

84 Chapter 6

Importing Source Media Files

The new job appears in the Batch window.

5

Select the job in the Batch window.

The Inspector window displays the A/V Attributes tab containing information and controls for the new image sequence job.

6

Do any of the following:

• Confirm the selected image sequence files. (Click the Info (i) button for the complete list of files.)

• Confirm the video format information in the Video section.

• Use the Native Field Dominance pop-up menu to adjust the field dominance for the source files. (The choices are Progressive, Top First, and Bottom First.)

• Use the Frame Rate pop-up menu to adjust the frame rate for the source files by choosing from a list of standard frame rates.

• Click Choose Audio to locate, select, and add an audio file to the image sequence job.

Note: Compressor supports the following audio file types for image sequences: AIFF,

MP3, MPEG-4 audio-only (.m4a), and QuickTime movie (.mov).

Chapter 6

Importing Source Media Files

85

Note: You can also use Compressor to output an image sequence. For more information, see

Creating Image Sequence Output Files .

Using the Inspector with Source Media Files

When you select a batch’s job, the Inspector window shows you information about the job’s source media file.

The Inspector window contains three tabs: A/V Attributes, Additional Information, and

Job Action.

A/V Attributes Tab

The A/V Attributes tab contains general information about the source media file and is divided into three sections.

File information: This section shows the filename, location, and type of file.

Video information: This section, when applicable, shows all video-related information about the file. This includes its frame size, frame rate, and timecode information.

Audio information: This section, when applicable, shows all audio-related information about the file. This includes its sample size and sample rate.

86 Chapter 6

Importing Source Media Files

Additional Information Tab

The Additional Information tab allows you to see and modify a variety of metadata items that might have been added in other applications such as Final Cut Pro or QuickTime. It also includes the ability to associate a closed caption file with the file.

To associate a closed caption file with a job’s source media file

1

Click the job to show the source media file’s attributes in the Inspector window.

2

Click the Additional Information tab.

3

Click Choose, locate the closed caption file (must be a Scenarist closed caption format file, usually with an .scc file extension), and click Open.

Note: Closed caption data is supported by the H.264 for Apple Devices, MPEG-2, and

QuickTime Movie output formats.

Depending on the output format of the job’s target, Compressor applies the closed caption file to the output media files.

For QuickTime outputs: Compressor adds the closed caption file as a closed caption track to the QuickTime output file. You can view the closed captions using

QuickTime Player (version 7.2 or later).

For MPEG-2 elementary stream outputs: Compressor embeds the closed caption data in an elementary MPEG-2 video stream so that it can be used for DVD authoring.

DVD Studio Pro will retain this closed caption data when the video stream is used in a track in a standard definition NTSC DVD project. You can use Apple DVD Player to play the DVD Studio Pro build files and verify that the closed caption data is present.

For MPEG-2 program and transport stream outputs: Compressor embeds the closed caption data in program and transport MPEG-2 streams using the EIA-708 ATSC protocol.

Chapter 6

Importing Source Media Files

87

Important:

The timecode values in the closed caption file must directly relate to the timecode of the source media file. You can open a closed caption file in TextEdit to see the timecode values it contains (the actual text is encoded and cannot be read this way).

To add an annotation

1

Click the job to show the source media file’s attributes in the Inspector window.

2

Click the Additional Information tab.

3

Use the Add Annotation pop-up menu to choose the type of annotation.

4

Double-click the corresponding Value field and enter the annotation text.

5

Click Save.

Note: This Add Annotation feature is supported by the H.264 for DVD Studio Pro, H.264

for Apple Devices, MP3, and QuickTime Movie output formats.

88 Chapter 6

Importing Source Media Files

Job Action Tab

The Job Action tab allows you to apply and/or adjust post-transcoding actions to entire jobs.

For complete details on using the Job Action tab, see

Adding Job Actions

and

Job Action

Tab .

Tips on Importing Source Media Files

Here are some additional tips on importing source media files.

Highly Compressed Source Files

It is strongly recommended that you do not use highly compressed source files, such as

MPEG files, as your source files, because they can cause undesirable artifacts in the encoded video.

QuickTime Reference Movies

If you submit a reference movie for distributed processing, the Apple Qmaster distributed processing system will automatically copy the appropriate media files to the processing cluster. For the best performance, you can avoid this file transfer step by making sure that the media files specified in the reference movie are available to each node of the

Apple Qmaster cluster. For more information, see the Distributed Processing Setup Guide, available in Compressor Help, and

Exporting from Final Cut Pro and Distributed Processing

.

Chapter 6

Importing Source Media Files

89

90

Importing MPEG-2 Files

When you import an MPEG-2 file, Compressor must parse the file before you can play it in the Preview window. Parsing the file involves determining its frame structure and other necessary information about the file. Since the frame structure can change throughout the file, Compressor must scan through the entire file, which can take several minutes for longer files.

This does not happen with MPEG-2 elementary files encoded using Compressor that had the “Add DVD Studio Pro metadata” checkbox selected. See

Extras Tab

for more information.

About Dolby Digital Professional Source Media Files

You can use Dolby Digital Professional AC-3 audio files as source media files for your jobs.

There are two common reasons to want to do this.

To test a file you just encoded: Since you cannot preview the Dolby Digital Professional output settings, importing an encoded file into a job allows you to play it and verify the settings.

To convert a Dolby Digital audio file to another format: Since not all media players include

Dolby Digital decoders, you may find that you need to transcode the file into another format.

Compressor includes a Dolby Digital decoder that it uses whenever you play or transcode

Dolby Digital audio files. This makes it possible to verify the Dolby Digital Professional output settings of a previously encoded file on your system without requiring you to have an external Dolby Digital decoder. To hear surround sound you must have an external surround sound device connected to your computer’s USB or FireWire output. The audio is mixed down to two channels if you play the audio using your system’s stereo speakers.

Important:

Since the audio output is already decoded and not in the Dolby Digital format, the optical output cannot be used when playing Dolby Digital files from Compressor.

Tip: Add an .ac3 extension to the filename if Compressor does not allow you to add it to a job.

Automatic Values and Nonstandard QuickTime Files

Compressor uses a variety of tactics to determine the proper values for any settings that are set to Automatic. In most cases, QuickTime files contain metadata that specify the various attributes of the file, such as frame rate and frame size. In some cases, this metadata is not present, forcing Compressor to try to determine this information, or it is incorrect, causing Compressor to generate incorrect values for the Automatic settings.

Additionally, some QuickTime files use nonstandard settings that require Compressor to choose an automatic value that may not be suitable.

Chapter 6

Importing Source Media Files

For these reasons, it is a good idea to verify the values in the Inspectors for those settings that are set to automatic. See

About the Automatic Settings

for more information.

Chapter 6

Importing Source Media Files

91

Creating, Previewing, and

Modifying Settings

7

A setting is a combination of transcode attributes, such as output format, filter, and geometry settings, that you apply to the source media file as a part of the transcoding process.

You need to assign at least one setting to a source media file before you can transcode it. Once you have a source media file in the current batch in the Batch window, you can either select a preexisting setting or create a customized one using the Settings tab.

Once you have all the settings that you think you need, you won’t have to open the

Settings tab again because you can select the settings directly from the Batch window.

Note: A setting is just one kind of Compressor preset. You can also create, modify, save, or remove Destination presets. For more information on destinations, see

Creating and

Changing Destinations .

This chapter covers the following:

About the Settings Tab

(p. 93)

Using the Inspector with Settings

(p. 97)

Duplicating Settings

(p. 98)

Creating a Setting from Scratch

(p. 100)

Previewing a Setting

(p. 101)

Deleting Settings

(p. 103)

Creating Groups of Settings

(p. 104)

Distributing and Sharing Settings

(p. 105)

Example: Creating Custom Groups and Settings for DVD

(p. 106)

About the Settings Tab

The Settings tab allows you to manage your settings. In conjunction with the Inspector window, the Settings tab also provides details of all the settings and provides easy access to common transcoding controls.

93

94

You use the Settings tab (together with the Inspector window) to create, modify, or delete settings, as well as create group folders for multiple settings. You can also create Droplets from the Settings tab.

The Settings tab contains a list of the existing settings and the necessary buttons to add, remove, or duplicate a setting and create groups and Droplets.

“Create a New

Setting Group” button

Duplicate Selected

Setting button

“Create a New

Setting” button

Delete Selected

Settings button

“Save Selection as Droplet” button

Click the disclosure triangles to show or hide a setting group’s contents.

An example setting

Settings list

Settings Tab Buttons

The following buttons are located along the top of the Settings tab.

Create a New Setting Group: Click to create a folder where you can group existing settings. Use this button as a way to organize your settings into some sort of logical order, keeping the Settings tab easy to navigate. Once settings have been created, you can assign a whole group of settings to a source media file (by dragging it onto the source file in the Batch window) or you can create a Droplet containing multiple settings.

See

Creating Groups of Settings

for more information.

Save Selection as Droplet: Click to create a Droplet from an existing setting or group of settings. Droplets allow you to transcode a media file by simply dragging one or more source media files over the Droplet icon. Once you have selected your setting or group and clicked the “Save Selection as Droplet” button, the Save dialog asks you to name your Droplet, choose a location for it, and choose a destination folder for the relevant output media files. Once you complete this dialog, your Droplet is ready and you can drag as many files as you want to its icon. See

Using Droplets

for more information about Droplets.

Chapter 7

Creating, Previewing, and Modifying Settings

Duplicate Selected Setting: Click to duplicate a selected setting in the Settings tab. The

Duplicate button copies the exact settings of the setting currently selected in the

Settings tab. Using the Duplicate button allows you to create a new setting from a preexisting one; you can then adjust that setting according to your needs, rather than creating a new setting from scratch.

Create a New Setting (+): Click to add a new setting to the Settings tab. A dialog appears for you to choose an output file format (H.264 for Apple Devices, MPEG-2, MPEG-4, and so on) when you click this button.

Delete Selected Settings (-): Click to remove a setting from the Settings tab. You are not asked for a confirmation, so be sure you want to remove the setting before clicking this button.

Note: You cannot delete the Apple settings.

Settings List

When you first open the Settings tab it contains a set of preexisting (Apple) settings supplied with Compressor. The Settings tab displays name and description details of all existing settings and groups stored on your computer.

The Apple setting group with subgroups

New “Untitled” setting

Chapter 7

Creating, Previewing, and Modifying Settings

95

New settings appear in the Custom group folder with the default name “Untitled [File

Format]” with “[File Format]” being the file format you chose from the (+) pop-up menu.

It’s a good idea to change the setting name to something meaningful, such as details of the settings or distribution method associated with the setting. Click the setting in the

Settings tab to open it in the Inspector window.

Enter the selected setting’s name and description in the

Inspector window.

Click a setting to see it in the Inspector window.

Use the Name field in the Inspector window to enter a name. Use the Description field to enter more information about each setting. This information only appears within the

Settings tab and can help you keep track of your files when you have many settings.

You can also organize your settings by putting them in group folders. Once you have created and named a group folder, you can drag any existing custom setting into it. When you drag a setting to a group, you remove it from its current location. You can also drag individual settings from a group to a source media file. See

Creating Groups of Settings

for more information.

96 Chapter 7

Creating, Previewing, and Modifying Settings

Selecting a Target

Whenever you select a batch’s target, its setting immediately appears in the Inspector window with Selected Target in the Name field. This is a temporary copy of the setting and not the setting itself, so you can make temporary modifications to the setting for just that one batch submission.

Select a target in the

Batch window to see its settings in the

Inspector window.

The setting’s name shows as “Selected Target”.

Click the Save As button to save this as a new setting with any changes you make.

When you modify the target’s setting, the Save As button at the bottom of the Inspector window becomes active. Click Save As to save the modified setting with a new name.

The saved copy appears in the Settings tab as Setting Name-Copy, and immediately becomes the selected setting in the Settings tab.

Using the Inspector with Settings

The Inspector window contains the panes that let you create and modify all the settings related to your output media file, such as filters, geometry, and output format. The

Inspector window is also where you name your settings, as well as add descriptions to make it easier to remember later what you customized.

Summary pane: Provides a detailed summary of a selected setting. See

Summary Pane

for more information about this pane.

Chapter 7

Creating, Previewing, and Modifying Settings

97

Encoder pane: Allows you to select an output file format and other related video and audio settings. See the following specific sections for more information about the different encoder panes.

About the AIFF Encoder Pane

About the Dolby Digital Professional Encoder Pane

About the DV Stream Encoder Pane

About the H.264 for Apple Devices Encoder Pane

About the H.264 for DVD Studio Pro Encoder Pane

About the Image Sequence Encoder Pane

About the MPEG-1 Encoder Pane

About the MPEG-2 Encoder Pane

About the MPEG-4 Part 2 Encoder Pane

About the QuickTime Movie Encoder Pane

About the QuickTime Export Components Encoder Pane

Frame Controls pane: Allows you to customize changes to the frame size, frame rate, or field dominance. (See

Working with Frame Controls

for more information.)

Filters pane: Allows you to add filters to your setting to enhance the quality of the output files. (See

About the Filters Pane

for more information.)

Geometry pane: Allows you to crop and set the frame size for your output media file.

(See

Adding Geometry Settings

for more information.)

Actions pane: Allows you to execute AppleScripts and send email notifications. (See

Adding Actions

for more information.)

Duplicating Settings

If there is a setting that contains some attributes that you want to use in another setting, you can duplicate the existing setting and make the necessary modifications to the duplicated one, rather than creating a new setting from scratch. Duplicating a stock Apple setting and then adjusting the duplicate to suit your needs is the most convenient way to create custom settings.

To duplicate a setting

1

Select the setting that you want to duplicate in the Settings tab.

98 Chapter 7

Creating, Previewing, and Modifying Settings

2

Click the Duplicate Selected Setting button.

Click the Duplicate

Selected Setting button to duplicate the selected setting.

Select the setting to be duplicated.

A new setting appears in the Custom folder with the word Untitled appended before the original name.

3

Select the new setting in the Custom folder.

4

Open the following Inspector panes to modify the following items:

The setting name and description: Change the name and description to make it easy to remember why you created this custom setting.

Encoder pane: Change the output format and video and audio codecs and their associated attributes here.

Frame Controls pane: Change any attribute in the Frame Controls pane.

Filters pane: Change any filter attributes here. Click the checkbox next to a filter to add it to the setting, or deselect it to remove it from the setting.

Geometry pane: Change any attribute in the Geometry pane.

Actions pane: Change any attribute in the Actions pane.

5

If you have modified the setting in any way, you can do either of the following to save the changes:

• Click the Save button at the bottom of the Inspector window to save the changes.

• Attempt to select any other setting.

A dialog asks if you want to save the changed attributes.

Chapter 7

Creating, Previewing, and Modifying Settings

99

6

Click OK to save the changes, or click Revert to cancel the changes and return to the

Inspector.

See

Assigning Settings to Source Media Files

for information about assigning settings.

Creating a Setting from Scratch

If the preexisting settings are not sufficient for your transcoding needs or if you simply want additional settings, you can create your own.

Note: The recommended procedure for creating custom settings is to duplicate a stock

Apple setting and then adjust the copy to suit your needs. For information on duplicating settings, see

Duplicating Settings

.

To create a setting

1

Click the Add (+) button in the Settings tab and choose an output format from the pop-up menu.

100 Chapter 7

Creating, Previewing, and Modifying Settings

A new setting called Untitled appears in the Custom folder of the Settings tab, appended with the selected output file format (for example, Untitled MPEG-2).

The new Untitled setting

The Inspector window also changes to show this setting’s parameters.

Note: You can always change the output file format for that setting in the Encoder pane of the Inspector, but be sure to change the setting name to reflect its output file format.

2

Enter a suitable name and description for the setting in the Name and Description fields in the Inspector window.

3

Configure the setting as needed in the Inspector window.

4

Click Save to Save the setting.

See

Assigning Settings to Source Media Files

for information about assigning settings.

Note: You can create groups of settings that can then be applied to a media file in one step. See

Creating Groups of Settings

for more information.

Previewing a Setting

The Compressor Preview window lets you see the effects of your setting—such as filters and frame resizing—and make adjustments to these attributes while previewing the media file in real time.

Chapter 7

Creating, Previewing, and Modifying Settings

101

Note: You cannot preview a setting on its own—it must be assigned to a job with a source media file first. In addition, Encoder and Frame Controls pane settings cannot be previewed. If you want to see the effects of settings you make in these two panes, you can use the Preview window to select a small portion of the source media file to transcode and then view the output file to see the results. See

Submitting a Batch

for more information.

To view your setting in the Preview window

1

Apply the setting to a job in a batch.

See

Assigning Settings to Source Media Files

for more information.

2

Select the target with the setting that you want to preview in the Batch window.

3

Do one of the following:

• Click the setting in the Batch window.

• Click the Preview button.

The opening frame of the selected source media file appears in the Preview window, and the title of the selected setting appears in the Batch Item pop-up menu. The left half of the screen displays the source media file in its original form (Source view) and the right half displays what the output image will look like with selected filters and other setting attributes applied to it (Output view).

Batch Item pop-up menu

Batch Item selection buttons

Output view

Source view

102 Chapter 7

Creating, Previewing, and Modifying Settings

4

Make any necessary adjustments to your setting while previewing the media file in the

Preview window.

Select the item you want to change.

This half of the

Preview window shows the effects of the Inspector window changes.

Make adjustments while previewing the media file in the Preview window.

Note: To preview the effect of the filters on your media file, you need to make sure that the checkbox for that particular filter is selected in the Filters list. Otherwise, the Preview window won’t recognize that filter, and it will not be part of the transcoding settings for that job. See

Using the Preview Window

for more information about previewing your settings and

About the Filters Pane

for more information on filters.

Deleting Settings

Use the Delete Selected Settings button to delete custom settings.

Note: You cannot delete Apple settings.

To delete a setting

1

Select the setting that you want to delete.

2

Click the Delete Selected Settings (–) button, or press the Delete key on your keyboard.

Warning:

There is no warning when you delete a setting, and you cannot undo the deletion to restore the setting.

Chapter 7

Creating, Previewing, and Modifying Settings

103

Creating Groups of Settings

Creating a group of settings allows you to quickly assign multiple settings to a source media file.

To create a group of settings

1

Click the Group button in the Settings tab.

A folder called Untitled appears in the Settings tab with 0 Settings in the Description column. You cannot modify this field. It displays the number of settings the group contains.

Click the Group button.

Enter a name for the new group.

A new untitled group with 0 settings is created.

2

Enter a suitable group name in the Inspector Name field.

3

In the Settings tab, drag the relevant settings into the group folder.

104 Chapter 7

Creating, Previewing, and Modifying Settings

Note: You can also create hierarchies of groups (groups within groups). Just drag a group folder into another group folder.

This custom group contains three other custom groups, each with its own settings.

The Description field displays the number of settings your group contains. Once you have at least one setting inside the group folder, you can click the disclosure triangle next to the group folder to show or hide the setting group details. You can also see full details of the settings in any group by selecting the group and then looking at the Summary pane in the Inspector window.

Note: You can also drag settings from one group to another group.

To add the same setting to more than one group

1

Select the setting.

2

Click the Duplicate button to create a copy, and rename the duplicated setting.

3

Drag the duplicated setting to another group folder.

Distributing and Sharing Settings

Both preexisting and newly created settings are stored in the home folder at

/Users/username/Library/Application Support/Compressor as XML files, with the file extension .setting. You can distribute and share any of these settings by placing them into the same location within the home folder of whatever computer you distributed the settings to. You can also transfer these files the same way that you would distribute any other file, by emailing them as an attachment or placing them on a server.

A quick and easy way to copy a setting is to simply drag the setting from the Settings tab to the Finder. From there, you can attach it to an email or copy it to another folder or volume.

Chapter 7

Creating, Previewing, and Modifying Settings

105

106

To copy a setting directly from Compressor

µ

Drag one or more settings from the Settings tab to the Finder (to the Desktop, for example).

Conversely, you can add a setting to Compressor by simply dragging from the Finder.

To apply or add a setting to Compressor from the Finder

Do one of the following:

µ

Drag one or more settings from the Finder to the Custom group in the Settings tab.

The settings appear in the Custom group in the Settings tab.

µ

Drag one or more settings from the Finder to an empty space in the Batch window.

A new job appears with one or more target rows populated with the settings.

µ

Drag one or more settings from the Finder to an empty space on a job tile in the Batch window.

One or more new target rows appear on the job, populated with the settings.

You can also add settings to Compressor using Droplets. For more information, see

Using

Droplets to Create Jobs and Settings in Compressor .

Example: Creating Custom Groups and Settings for DVD

For this example, you are working on an HD project that will eventually end up on both an HD and an SD DVD. Before that happens, though, you also need to supply SD DVDs of the dailies.

An easy way to handle this is to create two groups of settings.

Settings for the dailies: These settings would include an AIFF audio encoder (since you want it done fast and disc space will not likely be an issue) and an MPEG-2 encoder with an SD frame size using the fastest settings (since quality is not the highest concern).

This could also be an HD encoder if you have an easy way to play an HD DVD.

Settings for the final disc: These settings would include an AC-3 audio encode, an H.264

HD for DVD video encode, and an MPEG-2 encode using the Frame Controls to ensure a high-quality SD output video.

You would most likely create a third settings group that would be named after this project and would contain the above two groups.

To create the groups for dailies and final outputs

1

In the Settings tab, click the Group button three times to create three new untitled groups.

2

Select the first of the new groups and, using the Inspector window, name it after the project.

3

Select the second of the new groups and name it Dailies.

Chapter 7

Creating, Previewing, and Modifying Settings

4

Select the third of the new groups and name it Final Discs.

5

In the Settings tab, drag the Dailies and Final Discs groups up until a black box surrounds the group named after the project, and then release them.

Note: You can select multiple groups or settings by holding down Shift while selecting them. This places both these groups within the project’s group.

6

Locate settings in the Apple settings that come closest to matching what you need each setting to do in these new groups.

7

Make a copy of each setting by clicking the Duplicate Selected Setting button.

8

Select each copied setting, rename it, and then drag it to the proper folder.

This custom group contains the other custom groups, each with its own settings.

This custom group contains the settings used to create the dailies.

This custom group contains the settings used to create the final disc.

You can then select each setting and make any necessary changes to it.

When you have imported the source media files and created their jobs, you can just assign the appropriate group (Dailies or Final Disc) and all the proper settings are applied to the targets.

Chapter 7

Creating, Previewing, and Modifying Settings

107

Finalizing Jobs and Submitting

Batches

8

A job consists of a source media file with at least one target, composed of a setting and a destination, assigned to it. You created the jobs by importing the source media files.

Adding targets makes them ready to be submitted for transcoding.

For a job to be complete, and thus ready to be submitted for transcoding, you need to add one or more targets to it. Each target contains a setting, which defines everything about what the file is to be transcoded into, and a destination, which defines where the transcoded file is saved and how its name is generated. Each target also allows you to manually enter the name for the output file.

Compressor gives you a number of different options for assigning settings and destinations to your targets and submitting and resubmitting batches.

Note: See

About the Settings Tab

and

About the Destinations Tab

for more information about creating presets in these windows.

This chapter covers the following:

Assigning Settings

(p. 109)

Assigning Destinations

(p. 114)

General Job and Target Information

(p. 116)

General Batch Information

(p. 119)

Using Final Cut Pro with Compressor

(p. 126)

Using Distributed Processing with Compressor

(p. 131)

Assigning Settings

This section describes how you can assign settings to source media files and replace or modify assigned settings.

109

Assigning Settings to Source Media Files

You can use a variety of methods to assign settings to a job. Some methods, such as dragging the setting from the Settings tab, are better suited to working with one job.

Other methods, such as using the shortcut menu, are better for assigning the same settings to a group of jobs. You can even assign settings by dragging (settings or droplets) from the Finder.

Note: The following steps assume you have already added source media files to a batch, creating the jobs to which you are adding the settings. See

Importing Source Media Files

for details on importing source media files.

Tip: You can Option-click a setting group’s disclosure triangle to expand that group (and all subgroups) and show all the settings it contains.

To assign a setting to a job by dragging

1

Select one or more settings or groups of settings in the Settings tab.

2

Drag the settings to the job in the Batch window.

A job with a source media file in the

Batch window

Select one or more

(two in this case) settings to apply to the job.

110 Chapter 8

Finalizing Jobs and Submitting Batches

A new target is created for each setting that you added to the batch’s job.

New targets are added for each setting you drag to the job.

Note: You can only apply the settings to a single job when you assign them by dragging.

To assign a setting to a job using the Target menu

1

Select one or more jobs in the Batch window’s current batch.

2

Choose Target > Add Target With Setting.

The settings selection dialog appears over the batch window.

3

Choose one or more settings or groups of settings to assign to the jobs, and click Add.

The settings are assigned to each selected job.

To assign a setting to a job using the shortcut menu

1

Select one or more jobs in the Batch window’s current batch.

Chapter 8

Finalizing Jobs and Submitting Batches

111

2

Control-click one of the selected jobs and choose New Target With Setting from the shortcut menu.

112

The shortcut menu lists the settings based on their groups. You cannot directly choose a group to be assigned, but each group contains an “All” item that selects all the group’s settings.

Note: You cannot select multiple individual settings with this method.

3

Choose a setting or All to choose all settings in a group.

The settings are applied to all selected jobs.

To assign a setting from the Finder

Do one of the following:

µ

Drag one or more settings from the Finder to an empty space in the Batch window.

A new job appears with one or more target rows populated with the settings.

µ

Drag one or more settings from the Finder to an empty space on a job tile in the Batch window.

One or more new target rows appear on the job, populated with the settings.

For more information, see

Distributing and Sharing Settings

You can also add settings to Compressor using Droplets. For more information, see

Using

Droplets to Create Jobs and Settings in Compressor .

Replacing an Assigned Setting with a Different Setting

After you have assigned a setting to a job, you might find a more suitable setting and decide to change the target’s setting to the new one. You can use several methods to change a target’s setting. All of these methods leave the destination and output filename settings as they are.

Chapter 8

Finalizing Jobs and Submitting Batches

To replace a setting already assigned to a target with a different setting

Do one of the following:

µ

Choose Target > Change Setting. This opens the setting selection dialog where you can choose a new setting and click Add to assign it to the selected target.

µ

Control-click the target and choose Change Setting from the shortcut menu. This opens the setting selection dialog where you can choose a new setting and click Add to assign it to the selected target.

µ

Select the new setting in the Settings tab and drag it to the target.

Note: With all the above methods, if you select multiple settings, only the top one is assigned to the target.

Modifying an Assigned Setting

You can edit or change any component of a setting that has already been assigned to a source media file in the Batch window (identified as Selected Target in the Inspector window).

To modify a setting already assigned to a source media file in the Batch window

1

Select the target in the batch with the setting that you want to change.

The setting appears in the Inspector window with Selected Target in the Name field. This is a temporary copy of the setting and not the setting itself, so you can make temporary modifications to the setting for just that one batch submission.

Select a target in the

Batch window to see its settings in the

Inspector window.

The setting’s name appears as Selected

Target.

Click the Save As button to save this as a new setting with any changes you make.

Chapter 8

Finalizing Jobs and Submitting Batches

113

2

Make the changes to the setting.

When you modify the setting, the Save As button at the bottom of the Inspector window becomes active.

3

Click Save As to save the modified setting with a new name.

The saved copy appears in the Settings tab as Setting Name-Copy and immediately becomes the selected setting in the Settings tab.

Note: You do not have to save the modified setting, but it is a good idea to save it in case you need to use it again later.

Assigning Destinations

This section describes how you can set output destinations and output filenames.

Assigning Destinations to Source Media Files

When you assign settings to your targets, the default destination is automatically also assigned. You can set the default destination with Compressor preferences. (Choose

Compressor > Preferences.) This can be one of those supplied with Compressor or a custom destination you have created. See

Creating a Destination

for details on working with destinations.

You can replace the default destination with any other destination, or even manually choose a location to save the output file to. There are a number of different ways to assign a destination to a source file. As with assigning settings, different methods have different advantages.

To assign a destination by dragging

1

Select a destination in the Destinations tab.

114 Chapter 8

Finalizing Jobs and Submitting Batches

2

Drag the destination to the target in the Batch window.

Drag the destination to a job with a target in the Batch window.

Select a destination to apply to the target.

The destination part of the target updates to the new destination.

Note: You can only apply the settings to a single job when you assign them by dragging.

Additionally, you cannot create a temporary destination using this method.

Using this dragging method, you can also create a new target (with an empty setting) by dragging the destination to an empty part of the job.

To assign a destination using the Target or shortcut menu

1

Select all targets that you want to set the destination on.

2

Do one of the following:

• Choose Target > Destination > [Destination].

Chapter 8

Finalizing Jobs and Submitting Batches

115

116

• Control-click one of the targets and choose Destination > [Destination] from the shortcut menu.

Destination submenu

Once you have assigned the destinations, they appear in the target’s destination section.

Note: You can also assign a temporary destination by choosing Other. This opens the

File Selection dialog and allows you to create a new destination for just that batch submission. This destination is not saved and applies only to the submitted batch.

Setting the Output Filename

In addition to defining where to save the output file, destinations also define how the output filename is created. Once you have assigned a destination, the output filename is complete. You can choose to use it as is or you can manually modify it or enter a new name.

To modify or enter a new output filename

µ

Click in the output filename area and edit the existing name, or triple-click the existing name to enter a new name.

The output filename

General Job and Target Information

This section provides general information about jobs and targets.

Chapter 8

Finalizing Jobs and Submitting Batches

About Targets

Targets contain three items:

• The setting

• The destination

• The output filename

Drag the dividers to expand a target’s section and make it easier to see the entry.

The target Add and Delete buttons

The output filename

The setting The destination

You can use a variety of methods to add targets to a job. The most common is to add a setting or destination to the job. You can also use any of the following methods.

To add an empty target to a job

Do one of the following:

µ

Select one or more jobs and choose Target > Add Target. This adds an empty target to the jobs.

µ

Select one or more jobs and Control-click in an empty area of one of them, then choose

Target > Add Target. This adds an empty target to the jobs.

µ

Click the Add (+) button of an existing target.

You can also copy one or more targets from one job to another.

To copy targets to another job by dragging

1

Select the targets to copy.

2

Press the Option key and then drag the targets to the new job.

To delete targets

Do one of the following:

µ

Select one or more targets and press Delete.

µ

Click the Delete (–) button in a target.

Chapter 8

Finalizing Jobs and Submitting Batches

117

118

About Adding and Copying Jobs

Jobs are most often created by adding source media files to a batch. You can use several other methods to add jobs to a batch. Additionally, you can chain jobs in a batch to set the order in which the files are transcoded once they are submitted.

To add an empty job to a batch

µ

Choose Jobs > New Job.

To delete a job from a batch

µ

Select the job and press the Delete key.

To copy jobs from one batch to another

Do one of the following:

µ

Open each batch in its own window and drag the jobs from one window to the other.

µ

Select the jobs to be copied, press Command-C, select the batch to copy them to, and then press Command-V.

About Chaining Jobs

Chaining jobs is useful when you need to apply multiple settings to a source media file, but need to have each setting applied after the previous one has finished. This makes it possible to control the order in which the settings are able to modify the source media file.

To chain all targets in a job to new jobs

1

Select the job whose targets you want to chain to new jobs.

2

Choose Jobs > New Job With Target Output.

New jobs are added to the batch with the chain thumbnail and the name of the output file of the targets they are chained to.

The chained job’s source name is the output filename of the target it is chained to.

The chained job’s thumbnail is this chain link logo.

To chain selected targets to new jobs

1

Select the targets whose outputs you want to chain to new jobs.

2

Control-click one of the targets and choose New Job With Target Output from the shortcut menu.

Chapter 8

Finalizing Jobs and Submitting Batches

New jobs are added to the batch with the chain thumbnail and the name of the output file of the targets they are chained to.

You can chain multiple jobs if needed. See

Other Reverse Telecine Issues

for an example of chaining two jobs together.

General Batch Information

This section provides general information about submitting, saving, and opening batches.

Submitting a Batch

Once you have configured the jobs and their targets within a batch, you are ready to submit the batch for processing.

To submit a batch

1

Make sure the batch to be submitted is selected in the Batch window.

2

Do one of the following:

• Choose File > Submit (or press Command-Option-S).

• Click the Batch window’s Submit button.

The submit dialog appears.

3

Check the Name field to confirm the batch name.

By default, this is the name of the first source media file in the batch. You can change this name to something more meaningful about this batch. This is the name that is used for this submission in both Batch Monitor and the History window.

4

Use the Cluster pop-up menu to choose which computer or cluster will process the batch.

The default Cluster setting is This Computer, which means Compressor will not involve any other computers in completing the batch. You can choose from any other available clusters that appear in this list. See the Distributed Processing Setup Guide, available in

Compressor Help, for more details on setting up an Apple Qmaster distributed processing network.

Chapter 8

Finalizing Jobs and Submitting Batches

119

120

5

Select the “Include unmanaged services on other computers” checkbox to create an ad hoc cluster including This Computer and any available service nodes.

This is part of the AutoCluster feature. See

About AutoCluster and Unmanaged Services

for more information.

6

Use the Priority pop-up menu to choose priority level for the batch.

7

Click Submit or press Enter to submit the batch for processing.

The History window shows the batch progress. See

About the History Window

for more information.

Note: The History window automatically opens if it is not already open.

You can also monitor the transcoding progress with Batch Monitor by double-clicking the Batch Monitor icon in the Utilities folder inside the Applications folder or by clicking its icon in the Batch window. For more information on Batch Monitor, see the Batch Monitor

User Manual, available from the Help menu.

You can set Compressor Preferences to automatically open Batch Monitor. See Setting

Compressor Preferences

for more details.

Note: When submitting larger batches (for example, nine source media files with three settings assigned to each), there is about a 10-second delay after submitting the batch when nothing happens. Be patient. Compressor is preparing the large batch before it can be properly submitted for processing. If you are transcoding a large batch, you should turn off the screen saver application on your computer. This will improve the speed of your transcode because resources are not being diverted to the screen saver.

Once the batch has been submitted, a yellow triangle with an exclamation point appears in the batch.

Click the warning symbol to see an explanation about why it is there.

These warning symbols are used by Compressor whenever an issue exists with a batch.

You can place the pointer over the symbol to see a tooltip defining why it is there, or you can click the symbol to open a dialog about it.

Chapter 8

Finalizing Jobs and Submitting Batches

In the above case, since the batch has been submitted, this warning is to let you know that a file with that name now exists at that destination, and that if you submit again, that file will be overwritten.

You can bypass the submit dialog when submitting a batch. The submitted batch automatically uses the settings from the previously submitted batch.

To submit a batch using previous settings

Do one of the following:

µ

Choose File > Submit with Previous Settings.

µ

Click the “Submit with Previous Settings” item in the Batch window toolbar (if present).

See

About the Batch Window

for more information about using the Batch window.

Test Transcode Tip

Before committing to a long transcoding session, do a quick test with a small section of the source media file. If there is a problem (such as an incorrect setting or a reference file that can’t find the files it is referencing), you can make the correction without losing a lot of time. Such tests also allow you to preview Encoder pane and Frame Controls results that are not visible in the Preview window. For a quick way to select a small section of the source media file, see

Transcoding a Portion of the Clip with the Preview Window

.

Make sure the test section is specific to the type of settings you applied. For example, pick a high motion section if you’re doing frame rate or field order conversions with Frame

Controls.

About the History Window

The History window provides quick access to all previously submitted batches, allowing you to conveniently resubmit batches by dragging them to the Batch window and view submission details about when particular job batches were submitted from your computer.

Click the disclosure triangle to see the details of that day’s submissions.

Chapter 8

Finalizing Jobs and Submitting Batches

121

122

The History window organizes its contents by the submission date. You can change the order in which the contents are sorted by clicking the Reverse Sort Order button along the bottom of the History window. You can also clear the contents of the History window by clicking the Clear button or remove selected items by selecting them and pressing the Delete key.

The History window can also show you the progress of a batch currently being transcoded.

Click the disclosure triangle to see the details of each target of this submission.

The name of this submission

Click the Pause button to temporarily pause the transcode process.

Click it again to resume transcoding.

Click the Cancel button to end the transcode process.

Note: If it is closed, the History window automatically opens when you submit a batch.

Once the transcode finishes, the History window adds a button to make finding the encoded files easy.

Clicking this disclosure triangle shows the submission details.

Click the “Reveal in

Finder” button to show the encoded file in a

Finder window.

A target from the submitted batch

Resubmitting a Batch

All batch submission information is stored in the History window. This information includes the details about all of the batch’s jobs and targets, including which source media files were assigned to them. You can use this information to resubmit a batch simply by dragging a particular entry from the History window back to the Batch window.

Chapter 8

Finalizing Jobs and Submitting Batches

To resubmit a batch submission from the History window

1

Use the disclosure triangles to locate the batch submission to resubmit.

Note: This is where giving the submission a recognizable name can help.

2

Drag the submission from the History window to the Batch window.

When you drag a batch from the History window to the Batch window, Compressor creates a new untitled tab in the Batch window for that batch. The batch appears in the new tab with all its original details (source media files, targets, assigned settings, destinations, output format, and batch name). You can now make any changes to the batch and resubmit it.

Saving and Opening a Batch File

There may be times when you configure a batch but are not able to submit it right away.

In those cases, you may find it useful to save the batch settings for later reference.

To save a batch file

1

Choose File > Save As (or press Command-Shift-S).

A dialog opens to name the file and choose its destination. By default, the filename is the same as the first source media file.

2

Enter a name for the file if you do not want to use the default name.

3

Choose the destination for the file.

4

Click Save.

Batch filenames have a .compressor extension added to them.

Note: The .compressor extension appears in the Batch window tabs if Finder preferences are set to show all file extensions.

To open a batch file within Compressor

1

Choose File > Open (or Press Command-O).

A dialog opens to select the batch file to open.

2

Locate and choose the batch file to open.

3

Click Open.

You can also open a batch file by double-clicking it in the Finder, or by dragging the batch file to the Compressor application icon.

Note: An error message appears if Compressor cannot locate any of the source files listed in the batch file, and only those sources it finds will appear.

Chapter 8

Finalizing Jobs and Submitting Batches

123

Creating a Custom Batch Template

You can save any batch as a custom batch template. Custom batch templates appear as options in the Batch Template Chooser, alongside the default Apple batch templates.

Custom batch templates can save you time, particularly with workflows that you repeat often.

To create a custom batch template

1

In the Batch window, do one of the following to open a batch with the characteristics

(jobs, settings, destinations, job actions, and so on) that you want in the batch template:

• Create a new batch and make the needed adjustments.

For more information, see

The Basic Transcoding Workflow ,

Assigning Settings

,

Assigning

Destinations

, and

Adding Actions .

• Open a saved batch with the characteristics that you want in the batch template.

For more information, see

Saving and Opening a Batch File .

2

Choose File > Save as Template.

The custom batch template is saved.

3

Optionally, choose File > New Batch from Template to open the Batch Template Chooser and confirm or use your new custom batch template.

Note: For more information about batch templates, see

Quick and Easy Compressor

Workflow: Batch Template Method .

Transcoding Different Clips from One Source Media File

If you have a large source media file and you want to transcode only a few different sections of it, you can do this in one batch submission.

To transcode different clips from one source media file

1

Open the Batch window.

2

Import the source media file into a batch as many times as the number of clips you want to make.

A new job is created each time you import the source media file.

3

Add settings to each job.

124 Chapter 8

Finalizing Jobs and Submitting Batches

A unique identifier is applied to the output filename, so that you can easily identify each clip after it is transcoded.

Unique file identifiers are automatically applied to each job.

4

Do one of the following to open the Preview window:

• Click the Preview button in the Batch window.

• Click one of the targets.

The Preview window opens.

5

Use the Batch Item selection buttons or pop-up menu to navigate to each media file you want to transcode.

Drag the In and Out points to the first relevant section of the media file, and repeat for the next media file by dragging its In and Out points to the next relevant section of the media file. You can also use the I (In) and O (Out) keys to move the markers to the current location of the playhead.

The In point The Out point

6

Return to the Batch window and click Submit.

See

About the Preview Window

for more information.

Chapter 8

Finalizing Jobs and Submitting Batches

125

126

Using Final Cut Pro with Compressor

This section explains how to submit Final Cut Pro projects directly to Compressor.

Submitting a Final Cut Pro Project for Transcoding

You can use Compressor to improve the transcoding process for your Final Cut Pro projects.

For example, you can transcode your Final Cut Pro project without rendering it. This avoids a potentially time-consuming step depending on how many transitions, filters, and video effects have been applied to your project, and also results in no generational loss of the content from your source media files. This process also eliminates one step from the earlier transcoding workflow, which involved exporting from Final Cut Pro to QuickTime and then transcoding that QuickTime movie in Compressor.

Depending on its file size, a Final Cut Pro project that is transcoded only on your computer could significantly affect your computer’s performance.

Note: Transcoding a Final Cut Pro project doesn’t actually create a rendered project, although the transcoded output media file does have all the rendered effects applied. If you want to continue working on the project within Final Cut Pro, you need to render it in Final Cut Pro.

To transcode a Final Cut Pro project

1

Open the project you want to transcode in Final Cut Pro.

2

Use one of the following methods to select the project for transcoding in Final Cut Pro:

• In the Browser, select the sequence you want to transcode.

• Make the Timeline the active window by clicking in it.

3

Save your Final Cut Pro project and give it an appropriate name.

4

Choose File > Send To > Compressor.

Compressor opens (if it was not already open) and the sequence appears as a job in a new untitled batch.

The Final Cut Pro sequence and project names are combined to create the new job’s name.

5

Assign settings and destinations to the job as necessary.

Chapter 8

Finalizing Jobs and Submitting Batches

See the following sections for more information:

Assigning Settings to Source Media Files

Assigning Destinations to Source Media Files

6

Click the Submit button in the Batch window.

Compressor begins transcoding the Final Cut Pro project and then closes.

Note: Final Cut Pro needs to remain open throughout this process, because much of the transcoding preparation of the frames occurs within Final Cut Pro rather than within

Compressor.

See

Exporting from Final Cut Pro and Distributed Processing

for information on how this process works if you are using distributed processing.

Resubmitting a Final Cut Pro Project

You can use the History window to resubmit a Final Cut Pro project, the same way as you resubmit any other batch. Compressor recognizes that this particular batch originated from Final Cut Pro, so when you drag the batch from the History window to the Batch window, it automatically opens Final Cut Pro.

See

Resubmitting a Batch

for details about the steps in this process.

Exporting from Final Cut Pro and Distributed Processing

Compressor and Apple Qmaster can distribute video and audio compression tasks over multiple computers connected to a network.

Note: This Compressor distributed processing feature is limited to computers that have

Final Cut Studio installed.

There are two methods you can use to avoid exporting self-contained media files from

Final Cut Pro for Compressor distributed processing:

• Export a sequence directly from Final Cut Pro to Compressor and then submit that job to a cluster in an Apple Qmaster distributed processing network. In this workflow,

Final Cut Pro opens on each processing node in that cluster to complete the job.

• Export the Final Cut Pro sequence as a QuickTime reference movie and then submit the resulting movie to the cluster for processing. Because this method does not involve

Final Cut Pro, you are free to use Final Cut Pro while the batch is being processed in the background. If you submit a reference movie for distributed processing, the

Apple Qmaster distributed processing system will automatically copy the appropriate media files to the processing cluster. For the best performance, you can avoid this file transfer step by making sure that the media files specified in the reference movie are available to each node of the Apple Qmaster cluster. Below are two sets of instructions for submitting reference movies: one with automatic file transfer and one with preparatory steps for maximizing performance.

Chapter 8

Finalizing Jobs and Submitting Batches

127

128

Note: You can also use distributed processing with the Share feature in Final Cut Pro and

Motion. For more information, see the Final Cut Pro User Manual or the Motion User Manual.

To export a Final Cut Pro sequence directly to Compressor for distributed processing

1

Make sure Final Cut Pro is installed on each computer in the cluster that you intend to use for distributed processing.

Each installation of Final Cut Pro requires a product serial number. For information about volume licenses, go to http://www.apple.com/finalcutstudio .

2

Make sure all the source media files and render files for your Final Cut Pro project are on a hard disk that can be shared (mounted) by all the computers in the cluster that will process the job. (The following instructions use an example of a shared hard disk named

Media1.)

If you copy all the media files to another hard disk for this purpose, you may need to reconnect the media files in Final Cut Pro before proceeding.

Important:

The hard disk you use to store the media files may not be a startup disk for any computer in the cluster.

3

In Final Cut Pro, set the scratch disk to the same hard disk used for storing media files in step 2:

a

Choose Final Cut Pro > System Settings, then click the Scratch Disks tab.

b

Click Set.

c

In the dialog that appears, locate and select the disk you want to use (Media1 in this example).

d

Click Choose.

The specified disk (Media1) is listed next to the Set button, along with the amount of available disk space.

For more information about Final Cut Pro scratch disks, see the Final Cut Pro User Manual.

4

Enable file sharing on the computer where the scratch disk (Media1) is located (in the

Sharing pane of System Preferences, click Services and then select Personal File Sharing).

5

On each computer in the intended cluster, mount the scratch disk you specified in step

3 (in the Finder sidebar, click Network, navigate to the computer that contains the Media1 disk, click Connect, and select Media1).

6

In Compressor preferences, specify cluster options settings:

a

Choose Compressor > Preferences, or press Command-Comma (,).

The Preferences window appears.

b

Choose “Copy Source to Cluster as Needed” from the Cluster Options pop-up menu.

7

In Final Cut Pro, choose File > Export > Using Compressor.

Chapter 8

Finalizing Jobs and Submitting Batches

Compressor opens with the selected media file (the Final Cut Pro sequence) in the Batch window.

8

In Compressor, double-click the selected file and play it in the Preview window to verify the integrity of the clip.

9

In the Batch window, assign settings and destinations to the selected file as necessary.

10

Click the Submit button.

The submit dialog appears.

11

Do one of the following:

• Choose the intended cluster from the Cluster pop-up menu.

• Select the “Include unmanaged services on other computers” checkbox to use the

AutoCluster feature. See

About AutoCluster and Unmanaged Services

for more information.

12

Click Submit.

Important:

For best results, be sure Final Cut Pro is already open on the cluster’s computers. Apple Qmaster attempts to open Final Cut Pro if necessary; however, if the

External A/V Device warning appears, Final Cut Pro will not open and cannot be used.

Additionally, when using the AutoCluster feature, be aware that submitting a batch will cause Final Cut Pro to open on the computers providing the unmanaged services, which might surprise whoever is currently using the computers.

To export a Final Cut Pro sequence as a QuickTime reference movie and submit it to

Compressor for distributed processing using automatic file transfer

1

In Final Cut Pro, choose File > Export > QuickTime Movie.

2

In the Save dialog, make sure that the Make Movie Self-Contained checkbox is not selected.

3

Import the QuickTime reference movie into Compressor. (Drag it from the desktop to the

Compressor Batch window.)

4

In the Batch window, assign settings and destinations to the selected file as necessary.

5

Click the Submit button.

The submit dialog appears.

6

Do one of the following:

• Choose the intended cluster from the Cluster pop-up menu.

• Select the “Include unmanaged services on other computers” checkbox to use the

AutoCluster feature. See

About AutoCluster and Unmanaged Services

for more information.

7

Click Submit.

The Apple Qmaster distributed processing system automatically copies the appropriate media files to the cluster and processes the batch.

Chapter 8

Finalizing Jobs and Submitting Batches

129

130

To export a Final Cut Pro sequence as a QuickTime reference movie and submit it to

Compressor for distributed processing using preparatory steps to maximize performance

1

Make sure all the source media files and render files for your Final Cut Pro project are on a hard disk that can be shared (mounted) by all the computers in the cluster that will process the job.

The following instructions use an example of a shared hard disk named Media1.

If you copy all the media files to another hard disk for this purpose, you may need to reconnect the media files in Final Cut Pro before proceeding.

Important:

The hard disk you use to store the media files may not be a startup disk for any computer in the cluster.

2

In Final Cut Pro, choose File > Export > QuickTime Movie.

3

In the Save dialog, make sure that the Make Movie Self-Contained checkbox is not selected.

4

Save the QuickTime reference movie to the same hard disk (Media1) used to store media files in step 1.

5

Enable file sharing on the computer where the scratch disk (Media1) is located (in the

Sharing pane of System Preferences, click Services and then select Personal File Sharing).

6

On each computer in the intended cluster, mount the hard disk (Media1) where the media files and QuickTime reference movie are located (in the Finder sidebar, click Network, navigate to the computer that contains the Media1 disk, click Connect, and select Media1).

7

In Compressor preferences, specify cluster options settings:

a

Choose Compressor > Preferences, or press Command-Comma (,).

The Preferences window appears.

b

Choose “Never Copy Source to Cluster” from the Cluster Options pop-up menu.

8

Import the QuickTime reference movie into Compressor. (Drag it from the desktop to the

Compressor Batch window.)

9

Double-click the file in the Batch window and play it in the Preview window to verify the integrity of the clip.

10

In the Batch window, assign settings and destinations to the selected file as necessary.

11

Click the Submit button.

The submit dialog appears.

12

Do one of the following:

• Choose the intended cluster from the Cluster pop-up menu.

• Select the “Include unmanaged services on other computers” checkbox to use the

AutoCluster feature. See

About AutoCluster and Unmanaged Services

for more information.

Chapter 8

Finalizing Jobs and Submitting Batches

13

Click Submit.

Using Distributed Processing with Compressor

You can increase speed and productivity by distributing processing across multiple computers. The Apple Qmaster features of Compressor subdivide the work for speed, route the work to the computers with the most available computing power, and direct the processing across designated computers.

See the Distributed Processing Setup Guide, available in Compressor Help, for complete instructions on setting up and managing an Apple Qmaster distributed processing network.

This section covers two specific topics that you should be aware of when you are using the Apple Qmaster distributed processing system with Compressor.

Job Segmenting and Two-Pass or Multi-Pass Encoding

If you choose the two-pass or the multi-pass mode, and you have distributed processing enabled, you may have to make a choice between speedier processing and ensuring the highest possible quality.

The Apple Qmaster distributed processing system speeds up processing by distributing work to multiple processing nodes (computers). One way it does this is by dividing up the total number of frames in a job into smaller segments. Each of the processing computers then works on a different segment. Since the nodes are working in parallel, the job is finished sooner than it would have been on a single computer. But with two-pass

VBR and multi-pass encoding, each segment is treated individually so the bit-rate allocation generated in the first pass for any one segment does not include information from the segments processed on other computers.

First, evaluate the encoding difficulty (complexity) of your source media. Then, decide whether or not to allow job segmenting (with the Allow Job Segmenting checkbox at the top of the Encoder pane). If the distribution of simple and complex areas of the media is similar throughout the whole source media file, then you can get the same quality whether segmenting is turned on or not. In that case, it makes sense to allow segmenting to speed up the processing time.

Chapter 8

Finalizing Jobs and Submitting Batches

131

However, you may have a source media file with an uneven distribution of complex scenes. For example, suppose you have a 2-hour sports program in which the first hour is the pregame show with relatively static talking heads, and the second hour is high-action sports footage. If this source media were evenly split into two segments, the bit-rate allocation plan for the first segment would not be able to “donate” some of its bits to the second segment because the segments would be processed on separate computers. The quality of the more complex action footage in the second segment would suffer. In this case, if your goal were ensuring the highest possible quality over the entire 2-hour program, it would make sense to not allow job segmenting by deselecting the checkbox at the top of the Encoder pane. This forces the job (and, therefore, the bit-rate allocation) to be processed on a single computer.

Note: The Allow Job Segmenting checkbox affects only the segmenting of individual jobs (source files). If you are submitting batches with multiple jobs, the distributed processing system will continue to speed up processing by distributing (unsegmented) jobs, even with job segmenting turned off.

For more information on variable bit-rate encoding (VBR), see

Quality Tab

. For more information on the Apple Qmaster distributed processing system, see the

Distributed Processing Setup Guide, available in Compressor Help.

About AutoCluster and Unmanaged Services

Compressor includes an AutoCluster feature that makes it easy to take advantage of the distributed processing capabilities offered by Apple Qmaster, without requiring a lot of knowledge about how clusters are configured, setting up file sharing, and so on.

Using AutoCluster is a two-step process:

• Automatically creating Apple Qmaster service nodes as you install Final Cut Studio or

Apple Qmaster

• Selecting the “Include unmanaged services on other computers” checkbox when you submit a Compressor batch for processing

These two steps let you harness the processing power of any number of computers on your network without any additional effort or knowledge on your part.

See the Distributed Processing Setup Guide, available in Compressor Help, for additional information.

132 Chapter 8

Finalizing Jobs and Submitting Batches

Creating AIFF Files

9

You can use Compressor to output audio in the AIFF format.

This chapter covers the following:

Creating AIFF Output Files

(p. 133)

About the AIFF Encoder Pane

(p. 134)

About the Sound Settings Dialog

(p. 134)

QuickTime Audio Sample Sizes and Rates

(p. 135)

Choosing an Audio Codec for Distribution

(p. 136)

Configuring AIFF Settings

(p. 136)

Creating AIFF Output Files

The AIFF (Audio Interchange File Format) file format was developed by Apple for storing high-quality audio. The format was intended for DVD or CD authoring and is now one of the most commonly used audio file formats for the Mac OS.

133

About the AIFF Encoder Pane

The following options appear when you choose the AIFF output format from the File

Format pop-up menu in the Encoder pane of the Inspector window.

Choose AIFF.

File Extension field

Click to open the Sound

Settings dialog.

QuickTime AIFF

Summary table

File Extension: This field displays the AIFF file extension (.aiff ) automatically after the

AIFF output format is selected from the File Format pop-up menu or the (+) pop-up menu in the Settings tab. Don’t alter this field.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. Since job segmenting is not used for audio-only encodes, this checkbox is not active with the

AIFF file format. For more information, see

Job Segmenting and Two-Pass or Multi-Pass

Encoding

.

Settings: This button opens the QuickTime Sound Settings dialog. Use this dialog to select suitable audio codecs and change other audio compression settings. See

About the Sound Settings Dialog

for more information.

QuickTime AIFF Summary: This table displays full details for this setting.

About the Sound Settings Dialog

You use the Sound Settings dialog to change your audio compression settings for both the QuickTime and AIFF output formats. To open this dialog, click the Audio Settings button in the AIFF or QuickTime Movie Encoder pane.

134 Chapter 9

Creating AIFF Files

If a particular audio setting cannot be changed, it remains dimmed. Some audio codecs allow you to configure additional settings, which appear in the lower half of the Sound

Settings dialog. In some cases, an Options button becomes available. Click it to configure additional settings.

Choose an audio codec.

Choose the number of channels (the selection varies based on the codec).

Choose a rate that provides the quality and file size required.

Format-specific settings based on the codec

The Sound Settings dialog contains the following items, with various choices for each, depending on the audio codec you choose in the Format pop-up menu.

Format: Choose the audio codec you want to add to your setting.

Channels: Choose the type of channel output, such as mono, stereo, or some type of multichannel output, depending on the codec.

Rate: Choose the sample rate you want to use for your media file. The higher the sample rate, the higher the audio quality, but the larger the file. Downloading a larger file takes longer and requires more bandwidth.

Show Advanced Settings: This button remains dimmed unless the codec you selected from the Format pop-up menu offers options. Contact the manufacturers of these codecs directly for more information about the additional options they offer.

QuickTime Audio Sample Sizes and Rates

If you have the disk space and bandwidth, it is best to leave your audio uncompressed.

Uncompressed audio normally uses 8-bit (phone quality) or 16-bit (CD quality) samples.

Compressor supports up to 64 bits per sample floating point and a maximum sample rate of 192 kHz.

Chapter 9

Creating AIFF Files

135

Choosing an Audio Codec for Distribution

MPEG-4 Audio (AAC) is a good general-purpose audio delivery codec and is compatible with a wide variety of playback devices. For slower computers, less-compressed formats, such as IMA, or completely uncompressed formats, such as AIFF, may be better choices, because they are less processor intensive, thus allowing the computer to focus on the more challenging video stream.

Configuring AIFF Settings

When you choose the AIFF output file format as your output format, you can only create audio settings (because it is an audio-only format). If you want to add an audio codec to your AIFF preset, you need to open the Sound Settings dialog and choose your audio codec settings from there.

To create an AIFF audio codec setting

1

In the Settings tab, do one of the following:

• Make sure that the correct setting is selected.

• Create a new setting by choosing AIFF from the “Create a new setting” (+) pop-up menu.

2

Click the Settings button in the AIFF Encoder pane.

The Sound Settings dialog opens.

Choose an audio codec from the Format pop-up menu.

136

3

Choose an audio codec from the Format pop-up menu and either accept its defaults or customize the other audio codec settings (Format, Channels, Rate, and Options, if available). See

About the Sound Settings Dialog

for more details.

Note: You can see full details of the current contents of your preset by viewing the

QuickTime AIFF Summary table in the Encoder pane.

4

Click OK to save your settings and close this dialog.

Chapter 9

Creating AIFF Files

Creating Dolby Digital Professional

Output Files

10

Compressor provides the tools you need to encode, and batch-encode, Dolby Digital

Professional (AC-3) audio files.

Dolby Digital Professional format (also known as AC-3) is a very common compressed audio format for DVD-Video discs. Compressor accepts multichannel sound files in a variety of formats and gives you complete control over the AC-3 encoding process. Dolby

Digital programs can deliver 5.1-channel surround sound with five discrete full-range channels (left, center, right, left surround, and right surround) plus a sixth channel for low-frequency effects (LFE), sometimes known as “the subwoofer.” Another surround option is Dolby Surround, with four channels (left, center, right, surround). But not all

AC-3 audio is 5.1 surround sound. Dolby Digital Professional is commonly used to encode stereo files to greatly reduce their file size.

Note: Dolby Digital Professional encoding with Compressor is available only on computers that also have Final Cut Studio installed. If you are using Compressor with distributed processing, Final Cut Studio must be installed on each node that will be doing Dolby

Digital Professional encoding.

See the Soundtrack Pro User Manual for comprehensive information about creating surround sound audio files. If you are planning to make DVDs using DVD Studio Pro, see the DVD Studio Pro User Manual for more information about the DVD authoring workflow.

See

Adding Image Sequences to Batches

for more information about creating surround sound audio files using other output formats.

Note: It’s important to understand that Compressor cannot take stereo audio files and create 5.1 surround sound from them. If you want to create a 5.1 surround sound AC-3 audio file, you must first create the six channels of audio it requires. This must be done using other applications, such as Soundtrack Pro, outside Compressor.

This chapter covers the following:

About the Dolby Digital Professional Encoder Pane

(p. 138)

General Information About Creating Dolby Digital Professional Files

(p. 144)

Converting Stereo Audio Files to Dolby Digital Professional Format

(p. 145)

Assigning Files to Surround Sound Channels (Manual Method)

(p. 146)

137

Assigning Files to Surround Sound Channels (Automatic Methods)

(p. 149)

Assigning Files to Surround Sound Channels with Droplets

(p. 151)

Options for Spatial Mixing

(p. 151)

About the Dolby Digital Professional Encoder Pane

This section contains detailed information about the various tabs within the Dolby Digital

Professional (AC-3) Encoder pane of the Inspector window.

138

You make your Dolby Digital Professional settings using the tabs described below, by either modifying an existing setting or creating a new setting in the Settings tab. The

Dolby Digital Professional pane opens with the default Audio tab on top. The Dolby Digital

Professional pane contains the following items: basic settings, Audio tab settings, Bitstream tab settings, and Preprocessing tab settings.

Basic Settings

Use the following basic settings to set up a Dolby Digital Professional (AC-3) job or batch.

File Extension: This field displays the Dolby Digital Professional file extension (.ac3) automatically after the Dolby Digital Professional output format is selected from the

File Format pop-up menu or the (+) pop-up menu in the Settings tab.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. Since job segmenting is not used for audio-only encodes, this checkbox is not active with the

Dolby Digital Professional file format. For more information, see

Job Segmenting and

Two-Pass or Multi-Pass Encoding .

Audio, Bitstream, and Preprocessing: These buttons open the Audio, Bitstream, and

Preprocessing tabs described next.

Chapter 10

Creating Dolby Digital Professional Output Files

Audio Tab Settings

All the most important Dolby Digital Professional settings are accessible in the Audio Tab.

Target System: Compressor limits available settings to those appropriate for the target system. If you’re encoding for use with DVD Studio Pro, choose DVD Video. Choose

DVD Audio only if you are encoding for use in a DVD Audio authoring application.

Choose Generic AC-3 to remove the setting limits.

Audio Coding Mode: Specifies the audio channels of the encoded stream. This setting also has an Automatic button.

The Audio Coding Mode

Automatic button

Chapter 10

Creating Dolby Digital Professional Output Files

139

140

For example, “3/2 (L, C, R, Ls, Rs)” means three front channels (left, center, right), and two rear channels (surround). “2/0 (L, R)” is essentially a standard stereo file. The audio coding mode affects settings such as the available bandwidth and surround channel preprocessing. If you click the Automatic button (next to the Audio Coding Mode pop-up menu), Compressor makes its best guess at the intended audio coding mode, based on available source audio files.

L C

LFE

R L C

LFE

R L C

LFE

R

L

LFE

R

Ls

3/2 channels

Rs

L

LFE

R

S

3/1 channels

L

LFE

R

3/0 channels

C

LFE

Ls

2/2 channels

Rs

S

2/1 channels 2/0 channels 1/0 channels

(LFE option not available) (LFE option not available)

Note: In the Audio Coding Mode pop-up menu, “S” stands for a single rear “Surround” channel, and in this illustration, “LFE” stands for Low Frequency Effects (also known as

“subwoofer”). For more information, see

Assigning Files to Surround Sound Channels

(Manual Method)

and

Assigning Files to Surround Sound Channels (Automatic Methods)

.

Enable Low Frequency Effects: Select this checkbox to include the LFE channel in the encoded stream (not available for 1/0 mono or 2/0 stereo).

Sample Rate: Specifies the sample rate. All files intended for video and audio DVD authoring must have a 48 kHz sample rate as per the DVD specification. The 32 kHz and 44.1 kHz sample rates are available only when Generic AC-3 is the target system.

Data Rate: The choices depend on the coding mode and target system. The higher the rate, the better the quality. AC-3 streams have a constant data rate. At 448 kbps, which is the default for 5.1 encoding, one minute of AC-3 audio takes about 3.3 MB of storage space. For stereo encoding, rates of 192 kbps and 224 kbps are typical and will produce good results.

Bit Stream Mode: Defines the purpose of the encoded audio material. The information is included in the finished stream and can be read by some decoding systems.

Chapter 10

Creating Dolby Digital Professional Output Files

Dialog Normalization: Specifies the average volume of the dialogue, using decibels of full scale (dBFS), in your sound files relative to full modulation. The playback device uses this information to maintain similar volume among different AC-3 streams. The goal is to make all AC-3 encoded audio files have the same listening level, regardless of the source file.

It is especially important to properly use the Dialog Normalization feature if you have different audio files (with different volume levels) going on to a DVD. If you know the average level for each file, enter that number in the Dialog Normalization field for each file. For example, if the dialogue in your Final Cut Pro sequence averages around –12 dB on the audio meter, enter –12 in the Dialog Normalization field.

Note: This normalization is between the audio streams on the DVD, not within an individual audio stream itself. For that type of normalization, use an audio editing tool like Soundtrack Pro. You can enter values from –1 dBFS to –31 dBFS. The difference between the value you enter and 31 dBFS (which represents the normal dialogue listening level) is the amount that the source audio will be attenuated.

If you enter –31 dBFS: The attenuation is 0 dB (31 dBFS–31 dBFS), and the source audio levels are not affected at all.

If you enter –27 dBFS: The attenuation will be 4 dB (31 dBFS–27 dBFS).

If you enter –12 dBFS: The attenuation is 19 dB (31 dBFS–12 dBFS).

The louder the source file, the smaller the value you enter, and the more the audio in the encoded file is attenuated during playback.

If you do not know the sound level of the source file or for some other reason want to ensure the Dolby Digital Professional encoder does not affect your sound levels, enter

–31 for the Dialog Normalization and choose None in the Compression Preset pop-up menu (located in the Preprocessing tab).

Important:

It is critical that you set Dialog Normalization correctly if you intend to use any of the Compression Preset settings. The Compression Preset settings assume that the audio, after the dialogue has been normalized, is at the normal listening level of

31 dBFS. Levels that are consistently louder than that result in distorted sound and erratic levels.

Chapter 10

Creating Dolby Digital Professional Output Files

141

Bitstream Tab Settings

These settings are stored in the finished stream for use by the playback device. Leave them at their default values unless you have a specific technical reason for changing them.

Center Downmix, Surround Downmix: If your encoded audio has these channels, but the player does not, the channels are mixed into the stereo output at the specified level.

Dolby Surround Mode: When encoding in 2/0 (stereo) mode, specifies whether the signal uses Dolby Surround (Pro Logic).

Copyright Exists: Select this checkbox to specify that a copyright exists for this audio.

Content is Original: Select this checkbox to specify that this audio is from the original source and not a copy.

Audio Production Information: Select this checkbox and fill in the fields below to specify how the encoded audio content was mixed. Playback devices may use this information to adjust output settings.

Peak Mixing Level: Specifies peak sound pressure level (SPL) (between 80 dB and

111 dB) in the production environment when this mix was mastered.

Room Type: Specifies information about the mixing studio.

142 Chapter 10

Creating Dolby Digital Professional Output Files

Preprocessing Tab Settings

Preprocessing options are applied to the audio data before encoding. With the exception of the Compression Preset setting, leave these settings at their default values unless you have a specific technical reason for changing them.

Compression Preset

Compression Preset: Specifies one of the dynamic range processing modes built in to the AC-3 format. The default of Film Standard Compression should only be used when you are encoding an original mix intended for cinema. In almost all cases, you should choose None.

Important:

It is critical that you set the Audio tab’s Dialog Normalization correctly if you intend to use any of these Compression Preset settings. The Compression Preset settings assume that the audio, after the dialogue has been normalized, is at the normal listening level of 31 dBFS. Levels that are consistently louder than that result in distorted sound and erratic levels.

Note: If you are building a Dolby Digital Professional 5.1-channel surround sound DVD, then you will use Film Standard Compression.

General

Apply Digital Deemphasis: Specifies whether input audio data is preemphasized and needs to be deemphasized before encoding.

Chapter 10

Creating Dolby Digital Professional Output Files

143

144

LFE Channel

Apply Low-Pass Filter: Select this checkbox to apply a 120 Hz low-pass filter to the Low

Frequency Effects (LFE) channel. Turn off this filter if the digital signal fed to the LFE’s input does not contain information above 120 Hz.

Full Bandwidth Channels

Apply Low-Pass Filter: Select this checkbox to turn on a low-pass filter with a cutoff near the available audio bandwidth that is applied to the main input channels. If the digital signal fed to the main input channels does not contain information above the available audio bandwidth, you can turn off this filter. Compressor will automatically determine the available bandwidth.

Apply DC Filter: Select this checkbox to turn on a DC high-pass filter for all input channels as a simple way to remove DC offsets. Most mixed audio material is already free of DC offsets.

Surround Channels

Apply 90º Phase Shift: Select this checkbox to generate multichannel AC-3 streams that can be downmixed in an external two–channel decoder to create true Dolby

Surround-compatible output.

Apply 3 dB Attenuation: Select this checkbox to apply a 3 dB cut to the surround channels of a multichannel film soundtrack being transferred to a consumer home theater format.

Cinema surround channels are mixed 3 dB “hot” (higher) relative to the front channels to account for cinema amplifier gains.

General Information About Creating Dolby Digital Professional

Files

Following are some things to keep in mind as you configure and encode Dolby Digital

Professional AC-3 files.

About the Source Media Files

There are a few guidelines to be aware of when encoding Dolby Digital Professional output files from your source media files.

Depending on the format, a file can contain a single channel (mono), dual channels

(stereo), or multiple channels. Compressor supports Dolby Digital Professional in all these configurations.

Sound files intended for Dolby Digital Professional encoding must conform to the following rules:

• All source files should be the same length. (If they are not, Compressor sets the length of the AC-3 stream to match the length of the longest file.)

• All files must have a 48 kHz sample rate (as required for DVD).

Chapter 10

Creating Dolby Digital Professional Output Files

• AC-3 streams must have a multiple of 1536 samples. If the selected input files do not,

Compressor adds digital silence to the end of the files.

Note: Compressor can support any kind of source files that contain surround sound and high resolution audio up to 64 bits per sample (floating point) and sample rates up to

192 kHz.

About Previewing the Encoder Settings

The settings made in the Dolby Digital Professional encoder pane cannot be previewed.

If you have an external surround sound device connected to the USB, FireWire, or other output from the computer, you will be able to hear the audio assigned to the different channels, but it will not include any settings, such as the Dialog Normalization or

Compression Preset settings.

Important:

Since the audio output is not Dolby Digital, the optical output cannot be used to verify the audio assigned to each channel.

The only way to verify the settings is to submit the batch and listen to the results. If you are unsure of the settings, use the Preview window to encode a short portion of the source as a test.

You can import an AC-3 file as a source media file into a Compressor batch. Compressor includes a built-in Dolby Digital decoder that it uses to decode the AC-3 files. This decoder will properly apply any settings you made in the Dolby Digital Professional encoder pane, allowing you to hear their effects without requiring you to have an external Dolby Digital decoder. You can also transcode the AC-3 files to a different format.

Note: Surround sound AC-3 files are downmixed to stereo if you do not have an external surround sound system connected to the computer.

Converting Stereo Audio Files to Dolby Digital Professional

Format

Follow these steps to encode a stereo (2/0 L,R) Dolby Digital Professional (AC-3) stream from a stereo source media file.

To encode an AC-3 stream

1

Add source audio files to the Batch window (see

Importing Source Media Files

for details).

2

Save the batch by choosing File > Save As (or pressing Command-Shift-S), then entering a name for the batch, selecting a location, and clicking Save.

3

Do one of the following to apply the appropriate Apple setting from the Dolby Digital

Professional category to the source audio file:

• Choose Target > New Target With Setting, choose a setting, and click Add.

Chapter 10

Creating Dolby Digital Professional Output Files

145

146

• In the Batch window, Control-click in an empty part of the job, choose New Target With

Setting from the pop-up menu, choose a setting, and click Add.

• Drag a setting from the Settings tab to the source audio file’s job in the Batch window.

4

Optionally, make any adjustments to the setting in the Encoding pane of the Inspector window (see

About the Dolby Digital Professional Encoder Pane

for more information).

Note: Compressor will map channels intelligently. Here are some examples:

If you import a stereo source file and apply a mono 1/0 (C) audio coding mode to it: The file will be down-mixed.

If you apply a surround audio coding mode to the stereo file: The left and right channels will be mapped to the left front (L) and right front (R) channels, leaving the other channels of the coding mode silent.

If you assign a stereo file to the left front or left (rear) surround channel: Compressor will pick the left channel and ignore the right channel.

5

Click Submit.

For information about encoding surround sound files, see

Assigning Files to Surround

Sound Channels (Manual Method)

and

Assigning Files to Surround Sound Channels

(Automatic Methods)

. Also see

About Previewing the Encoder Settings

for information on playing your AC-3 audio files with Compressor.

Assigning Files to Surround Sound Channels (Manual Method)

Follow these steps to use the manual method for assigning individual audio files to surround sound channels.

To manually assign source audio files to channels of a surround sound stream

1

Do one of the following to import the source audio files:

• Choose Job > New Job With Surround Group (or press Command-Control-I).

• Click the Add Surround Sound button in the Batch window.

• Control-click in the batch and choose New Job With Surround Group from the shortcut menu.

The channel assignment interface opens.

2

Do one of the following to assign a source audio file to a particular channel.

• Drag the source audio file from the Finder to the icon for a specific channel (for example,

“L”).

• Click the icon for a specific channel (for example, “L”) and use the Open dialog to locate the source audio file intended for that channel.

Chapter 10

Creating Dolby Digital Professional Output Files

The file is now assigned to the “L” (Left Front) Channel.

3

Repeat step 2 for each of the source audio files that you intend to include in the surround stream.

Note: If you are creating Dolby Digital Professional (AC-3) surround sound streams, you will not use all the channels listed in the table at once. See

Audio Tab Settings

for a diagram of the Dolby audio coding modes.

4

When you have finished adding source audio files to the channel assignment interface, click OK.

Chapter 10

Creating Dolby Digital Professional Output Files

147

The group of surround files appears as a single surround source media file job in the

Batch window and the icons are also shown in the Inspector window.

148

Note: You can click a channel icon in the Inspector window to change the file assigned to it.

5

Do one of the following to apply the appropriate Apple setting from the Dolby Digital

Professional category to the source audio file:

• Choose Target > New Target With Setting, choose a setting, and click Add.

• In the Batch window, Control-click in an empty part of the job, choose New Target With

Setting from the pop-up menu, choose a setting, and click Add.

• Drag a setting from the Settings tab to the source audio file’s job in the Batch window.

6

Make any necessary adjustments in the Inspector window and click Submit.

Compressor creates an AC-3 surround audio stream. See

About Previewing the Encoder

Settings

for information on playing your AC-3 audio files with Compressor.

You can also combine surround audio source files with a video file to make a single

Compressor job. This is useful in audio post-production workflows in which surround audio stems (submixes) are created separately from the final picture edit. Compressor will treat the video and up to six audio files as a virtual single asset. For example, this would allow you to apply the Create DVD job action to make a DVD with 5.1-channel surround sound.

Chapter 10

Creating Dolby Digital Professional Output Files

To combine a video file with surround audio files to make a single source media file

1

Follow steps 1-5 above to manually assign source audio files to channels of a surround sound stream.

2

Click the Add Video button and use the resulting Open window to choose the video file.

Note: This feature supports QuickTime source media files only. Image sequences are not supported.

3

Make any necessary adjustments in the Inspector window and click Submit.

Assigning Files to Surround Sound Channels (Automatic

Methods)

Compressor offers some streamlined channel assignment techniques that can save you time.

To assign files to surround channels with channel identifier codes

1

Append the channel identifier code of the target surround channel to the filename of each source audio file. (See the list below for a list of the appropriate channel identifier codes.)

-L: Left front channel

-R: Right front channel

-C: Center front channel

-Ls: Left surround channel

-Rs: Right surround channel

-S: Center surround channel

-LFE: Low frequency channel (Subwoofer, LFE)

For example, to assign an AIFF file to the left surround channel, rename the file as

filename-Ls.aiff (where filename is the name of your file).

Note: Mac OS X may add a file extension like .aiff. This will not interfere with this channel assignment method.

This procedure only works when you drag and drop files into the Batch window. If you drag the files onto the Compressor application icon, they will appear as separate source files, each in its own job.

Note: If you are creating Dolby Digital Professional (AC-3) surround sound streams, you will not use all the channels listed in the table at once. See

Audio Tab Settings

for a diagram of the Dolby audio coding modes.

2

Drag the renamed source audio files to the Batch window.

Chapter 10

Creating Dolby Digital Professional Output Files

149

If the following conditions are met, Compressor automatically collapses the entire group of files into what appears as a single surround source media file in the Batch window:

• The files in the group must be named correctly. (See the channel identifier codes listed above.)

• The total number of files in the group must be fewer than seven.

The Inspector window shows the audio files assigned to each channel.

150

Note: You can click a channel icon in the Inspector window to change the file assigned to it.

3

Do one of the following to apply the appropriate Apple setting from the Dolby Digital

Professional category to the source audio file’s job:

• Choose Target > New Target With Setting, choose a setting, and click Add.

• In the Batch window, Control-click in an empty part of the job, choose New Target With

Setting from the pop-up menu, choose a setting, and click Add.

• Drag a setting from the Settings tab to the source audio file’s job in the Batch window.

4

Make any necessary adjustments in the Inspector window and click Submit.

Compressor creates an AC-3 surround audio stream. See

About Previewing the Encoder

Settings

for information on playing your AC-3 audio files with Compressor.

Chapter 10

Creating Dolby Digital Professional Output Files

Assigning Files to Surround Sound Channels with Droplets

You can further streamline the channel assignment process by encapsulating the

“automatic” method described above in a Droplet.

For more information about Droplets, see

Using Droplets

.

Options for Spatial Mixing

This section offers additional insights and suggestions for using the channels in a Dolby

Digital Professional program.

Using the Center Channel

In a multichannel system, there are three ways to achieve a centrally placed sound image.

Create a “phantom center” (mix sound to the left and right equally, as with

stereo): Commonly used, but assumes the listener is seated exactly between the speakers

(which is not possible in automobiles and not always the case in homes). The timbre of sound is not the same as from a direct speaker because of cross-cancelation effects.

Use the center channel alone: This creates a stable center image for listeners in any location. (To prevent the audio from sounding too focused or narrow, its reverb can be spread to the left and right channels.)

Use all three front channels equally or in various proportions: This method allows for greater control of the range of spatial depth and width. The phantom center can be reinforced by additional signals in the center channel, which can be enhanced by signal spread into the left/right pair. The disadvantage is that sound from all three speakers may not blend well or may not arrive at the listener at the same time, causing side effects such as comb filtering, shifts in tone color, or smearing. To counteract these side effects, you can first process the additional signals to change their spatial character, timbre, or prominence relative to the main center signal.

Using Surround Channels

Subtle surround effects can greatly enhance the listener’s sense of depth compared to conventional stereo. Popular music often benefits from creative use of surround. But don’t overdo it. The film industry guideline—don’t use surround effects to distract the listeners from the story—also works well for music.

Limitations of the LFE Channel

The Low Frequency Effects (LFE) channel is a separate signal with a limited frequency range and is created by the mixing engineer and delivered alongside the main channels in the mix. A “brick wall” filter at 120 Hz in the Dolby Digital Professional encoder limits use of the LFE channel to the bottom two audible octaves. Dolby recommends limiting the signal to 80 Hz when mixing your sound.

Chapter 10

Creating Dolby Digital Professional Output Files

151

In most music productions (with such exceptions as the famous cannon shots in

Tchaikovsky’s “1812 Overture”), the LFE channel is not necessary. The LFE signal is also discarded in the Dolby Digital Professional downmix process, so intense bass signals do not stress small stereo systems. Be sure not to include vital information in the LFE channel that would be missed in mono, stereo, or Pro Logic playback.

Because LFE is separate from other channels, its ability to blend with higher frequencies can be affected by filters used to generate the LFE signal. To ensure a cohesive audio signal, keep the entire signal together in the main channel or channels.

Avoid creating an LFE channel for material originally produced without one. Dolby Digital

Professional’s five main channels are all full-range, and the LFE channel does not increase the frequency response. Dolby Digital Professional decoders offer bass management, directing low frequencies to a subwoofer or other suitable speakers. An LFE track may interfere with bass management.

Accommodating Stereo Playback

Even with the popularity of 5.1 systems, you should always address stereo reproduction.

There are three basic ways to do this:

• Prepare a new stereo mix from the original multitrack elements (using conventional stereo-mixing sessions).

• Prepare a studio-adjusted downmix from the multichannel mix. This method takes advantage of the work that has gone into mixing the 5.1 version. It retains flexibility in the exact proportions of each channel represented in the final stereo mix.

• Let the decoder derive a stereo downmix, based on preset formulas in the decoder.

Downmix options and dynamic range control effects can be previewed and adjusted in the production studio, and a range of adjustments is possible.

Always check the mix on an inexpensive surround system to evaluate how well it sounds on modest playback systems.

Note: For more information about Dolby Digital Professional, see “Frequently Asked

Questions about Dolby Digital Professional,” available at the Dolby Laboratories Inc.

website at http://www.dolby.com

.

152 Chapter 10

Creating Dolby Digital Professional Output Files

Creating DV Stream Output Files

11

Compressor provides the tools you need to create DV files.

Due to its low cost and wide availability, the DV video format is extremely popular for standard definition (SD) video capture and delivery.

This chapter covers the following:

About the DV Stream Encoder Pane

(p. 153)

DV Transcoding Workflow

(p. 154)

About the DV Stream Encoder Pane

This section contains detailed information about the various settings within the DV Stream

Encoder pane of the Inspector window. You make your DV settings by either modifying an existing setting or creating a new setting in the Settings tab.

The Automatic buttons for the Format, Aspect

Ratio, and Field

Order values

The DV Stream Encoder pane contains the following settings.

Extension: This field displays the DV file extension (.dv) automatically after the DV Stream output format is selected from the File Format pop-up menu, or the (+) pop-up menu in the Settings tab.

153

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. For more information, see

Job Segmenting and Two-Pass or Multi-Pass Encoding

.

Format: Choose either NTSC or PAL as the output video format.

Aspect Ratio: Choose either 16:9 or 4:3 as the output video aspect ratio.

Note: The 16:9 aspect ratio uses anamorphic video.

Field Order: Choose Bottom field first (required for interlaced DV video) with interlaced sources or Progressive with progressive sources.

DV Transcoding Workflow

How you use Compressor to transcode your video into DV Stream format files depends on how you intend them to be used. The basic steps are listed below.

Stage 1:

Creating a Batch

As with any transcode, you need to start by creating a batch. See

Preparing Compressor for Transcoding with Custom Settings

for more information.

Stage 2:

Creating Jobs with the Source Audio Files

Import the source video files either by dragging them from Finder to the batch or by choosing Job > New Job With File.

Stage 3:

Adding Targets with a DV Setting to Each Job

Each of the jobs requires at least one target—in this case the jobs need targets with a

DV Stream setting. If there is more than one job, it is easiest to select all the jobs by choosing Edit > Select All and then choose Target > New Target With Setting to apply the same setting to all the jobs.

Stage 4:

Submitting the Batch for Transcoding

Click the Submit button to start the transcode process. See

Submitting a Batch

for more information.

154 Chapter 11

Creating DV Stream Output Files

Creating H.264 for Apple Devices

Output Files

12

Using Compressor, you can create iTunes-compliant H.264 files. These can be played in iTunes, on an iPod, on an iPhone, or with Apple TV.

The efficiency of the H.264 encoder makes it well suited to create media to use with iTunes and its related Apple devices. Compressor includes preconfigured settings that use the H.264 for Apple Devices Encoder pane to make it easy for you to create suitable media files.

For information on creating H.264 files for DVD authoring, see

Creating H.264 for

DVD Studio Pro Output Files . For information on creating H.264 files for uses other than

DVD authoring (such as web video), see

Creating QuickTime Movie Output Files

.

This chapter covers the following:

About the H.264 for Apple Devices Encoder Pane

(p. 156)

Chapter and Podcast Markers for Apple Devices

(p. 160)

Aspect Ratios for Apple Devices

(p. 160)

H.264 Workflows for Apple Devices

(p. 161)

Configuring Settings for H.264 for Apple Devices Output Files

(p. 161)

155

About the H.264 for Apple Devices Encoder Pane

This section contains detailed information about the elements of the H.264 for Apple

Devices Encoder pane in the Inspector window. You make your H.264 settings using this pane, by either modifying an existing setting or creating a new setting in the Settings tab.

You make your H.264 for Apple Devices settings using the controls described below, either by duplicating an existing setting and modifying it or by creating a new setting in the Settings tab of the Settings window. The H.264 for Apple Devices Encoder pane contains the following items.

Extension: This field displays the H.264 for Apple Devices file extension (.m4v) automatically after the H.264 for Apple Devices output format is chosen from the File

Format pop-up menu or the (+) pop-up menu in the Settings tab of the Settings window.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

156 Chapter 12

Creating H.264 for Apple Devices Output Files

Device: Select one of the following device options from the pop-up menu:

iPod/iPhone (VGA): This option creates video output files with a frame width of 640 pixels.

iPod/iPhone (Anamorphic): This option creates video output files with a frame width of 640 (anamorphic) pixels.

iPod/iPhone (QVGA): This option creates video output files with a frame width of 320 pixels.

Apple TV SD: This option creates video output files with a frame width of 640 pixels with a higher bit rate range than the iPod/iPhone 640 (VGA) option.

Apple TV SD (Anamorphic): This option creates video output files with a frame width of 720 (anamorphic) pixels.

Apple TV HD: This option creates video output files with a frame width of 1280 pixels, except when the aspect ratio is set to 4:3. In that case, the video output files have frame dimensions of 960 x 720 (anamorphic) pixels for frame rates above 24 fps and

1280 x 720 (square) pixels for lower frame rates.

iPhone (Local/WiFi): This option creates video output files with a frame width of 480 pixels.

iPhone (Cellular): This option creates video output files with a frame width of 176 pixels.

Aspect Ratio: Use the Aspect Ratio pop-up menu to choose the exact pixel dimensions of the output media file. The available options depend on which device option you selected. See

Aspect Ratios for Apple Devices

for more information.

The Aspect Ratio setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the aspect ratio that matches the source video file.

Chapter 12

Creating H.264 for Apple Devices Output Files

157

Important:

The automatic mode for the Aspect Ratio setting is able to choose from a wider variety of values to better match the source video (with the values determined and displayed when this output format is applied to a source media file). For the best results, it is recommended that you use the automatic mode for the Aspect Ratio setting.

The Aspect Ratio

Automatic button

Note: By default, the Frame Controls feature is set to Automatic. As in the H.264 for

DVD Studio Pro setting, the Frame Controls Retiming Control will be engaged only if the source file is interlaced.

Frame Rate: Use this pop-up menu to choose from the six options listed below.

The Frame Rate setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the frame rate that matches the source video file.

The Frame Rate

Automatic button

29.97: Used for NTSC-based video

25: Used for PAL-based video

24: Used for PAL-based video

23.98: Used for NTSC-based video

15: Used for web-based video

Bit Rate: Use this slider to choose the bit rate to use for the output video, or enter a number in the text field. The available ranges depend on the Device setting. The setting you should choose depends on how the output is to be used. Higher bit rates produce better picture quality, but they also produce larger output files.

158 Chapter 12

Creating H.264 for Apple Devices Output Files

Audio: Use this pop-up menu to choose from the four audio bit-rate options listed below.

None: Use this option to exclude audio from the output media file.

24 Kbps: Creates an audio bitstream at 24 Kbps for the iPhone (Cellular) device option.

128 Kbps: Creates an audio bitstream at 128 Kbps.

256 Kbps: Creates an audio bitstream at 256 Kbps.

Frame Sync: Also known as the key frame interval, the Frame Sync value represents how often a key frame is inserted in the H.264 stream. The lower the number, the more smoothly the video can be manipulated (scrubbed) during playback (more frequent key frames). The higher the number, the more efficient the compression (less frequent key frames). The available range is from 2 to 10 seconds; the default is 5 seconds.

The Frame Sync setting also has an Automatic checkbox. Selecting the Automatic checkbox causes the encoder to choose a frame sync rate that matches the source video file.

Multi-pass: Similar to two-pass MPEG-2 encoding, multi-pass offers the best possible quality. For faster (single-pass) encoding, turn this feature off by deselecting the checkbox.

Note: If you are also using distributed processing, you may want to turn off job segmenting. For more information, see

Job Segmenting and Two-Pass or Multi-Pass

Encoding

.

Include Dolby 5.1: Use this checkbox to add a Dolby Digital Professional 5.1 surround sound audio track, in addition to the standard AAC audio track, to the output movie.

This feature is intended to be used when creating output files from source files that include surround sound audio. The Dolby Digital Professional audio track is played by

Apple TV only when connected to a system with a suitable Dolby Digital decoder. The

AAC audio track plays in all other cases.

Chapter 12

Creating H.264 for Apple Devices Output Files

159

160

Note: Selecting the Include Dolby 5.1 checkbox creates a true Dolby Digital Professional

5.1 surround sound audio track only if your source audio includes 5.1 surround sound audio. If your source audio includes only stereo audio, the Dolby Digital Professional

5.1 surround sound audio track has only two channels of actual audio.

Chapter and Podcast Markers for Apple Devices

Chapter markers created in Final Cut Pro are passed through (transferred) to other output files that can be recognized by QuickTime Player, iTunes (.m4v files), Final Cut Pro, and

DVD Studio Pro.

You can also add podcast markers to the output file. Podcast markers are similar to chapter markers (they can have a URL and artwork assigned to them); however, they cannot be navigated to directly by the viewer. They are intended to provide a slideshow function to audio podcasts. For information about adding chapter and podcast markers, see

Adding

Markers to a Clip

.

Aspect Ratios for Apple Devices

The choice you make with the Device pop-up menu defines the width of the encoded file. The choice you make in the Aspect Ratio pop-up menu defines the height of the encoded file. Compressor scales the source video vertically to make it fit the height. This means that the source video must be anamorphic (things look tall and skinny) in anticipation of being scaled to fit the intended aspect ratio. Non-anamorphic video set to an aspect ratio other than its native aspect ratio will appear distorted in the encoded file.

Important:

If your source video is letterboxed, use the aspect ratio that matches the whole video frame, including the black bars, or else you will end up with distorted output files. You can use the automatic crop feature to crop off the letterbox bars. See

Adding

Geometry Settings

for more information.

The following choices are available in the Aspect Ratio pop-up menu for each Device option:

• 4:3

• 16:9

• 1.85:1

• 2.35:1

Chapter 12

Creating H.264 for Apple Devices Output Files

Each choice will result in a different height for the output media file. For example, with the iPod 640 (VGA) setting, the 4:3 option results in a 640 x 480 file, whereas the 16:9 option results in a 640 x 360 file.

If the source media file is either DV NTSC or HDV, but you are unsure of your source media file’s aspect ratio, click the Automatic button. This option analyzes the source media file’s aspect ratio to determine the appropriate pixel dimensions.

H.264 Workflows for Apple Devices

The efficiency and quality of H.264 creates a number of options for iPod and Apple TV video producers.

• Compressor includes two video sizes specifically designed for playback on an iPod or an iPhone: iPod 320 (QVGA) and iPod 640 (VGA). Both sizes create output media files that are compatible for playing on an iPod, and both will look good on the display of the iPod.

• As long as you intend the output media files to be viewed on the iPod itself, you can use the iPod 320 encoder size, which produces files that are about one half the size of the iPod 640 encoder size.

• If you expect the output media files to be played on larger displays, whether in iTunes or on a monitor connected to an iPod, you should use the iPod 640 encoder size with its higher quality.

• Output media files created with the iPod and iPhone settings will also play on

Apple TV.

• The Apple TV HD encoder size produces video files that are about four times the size of the iPod 640 encoder size. These are not compatible with iPod playback and may not play smoothly on older Mac computers.

• If you have assigned chapter markers to the video using the Preview window, iTunes will automatically use the first marker as the poster frame. If you assigned an image to any markers in Compressor, the first marker with an image becomes the poster frame in iTunes. You can change the poster frame in iTunes if necessary. See the iTunes help for more information. See

Adding Chapter or Podcast Markers to a Clip

for more information about adding chapter markers in Compressor.

Configuring Settings for H.264 for Apple Devices Output Files

To ensure that your output media files are iPod, iPhone, and Apple TV compatible, it is recommended that you use the standard settings provided in the Apple Devices group

in the Settings tab. For more information on applying settings, see Assigning Settings to

Source Media Files .

Chapter 12

Creating H.264 for Apple Devices Output Files

161

You can also create iPod, iPhone, and Apple TV compatible media files with batch templates. For more information, see

Quick and Easy Compressor Workflow: Batch

Template Method

.

Note: Files created using iPod and iPhone settings can also play on Apple TV.

162 Chapter 12

Creating H.264 for Apple Devices Output Files

Creating H.264 for DVD Studio Pro

Output Files

13

Compressor includes the ability to easily create H.264 settings specifically configured for high definition DVD authoring.

High definition DVDs have the option of using HD MPEG-2 encoded files or H.264 encoded files as sources. At DVD data rates, H.264 is generally twice as efficient as MPEG-2. That means you can use a lower H.264 bit rate to get the same quality (and smaller files) as with an MPEG-2 encoder, or higher quality (and similar file sizes) when using the same bit rate for H.264 as you would use for MPEG-2.

Note: For more information on creating files specifically for Blu-ray Disc, see

Creating

H.264 for Blu-ray Disc .

This chapter covers the following:

About the H.264 for DVD Studio Pro Encoder Pane

(p. 163)

About the Frame Sync Setting

(p. 167)

Using Multi-Pass for DVD Authoring

(p. 167)

About the Bit-Rate Settings

(p. 167)

H.264 Workflows for DVD

(p. 168)

About the H.264 for DVD Studio Pro Encoder Pane

This section contains detailed information about the elements of the H.264 for

DVD Studio Pro Encoder pane in the Inspector window. You make your H.264 settings using this pane, by either modifying an existing setting or creating a new setting in the

Settings tab.

163

Note: This particular Encoder pane is devoted to encoding H.264 files intended for authoring high definition (HD) format video DVDs. For information on creating H.264 files

for use with Apple devices such as iTunes, an iPod, or with Apple TV, see Creating H.264

for Apple Devices Output Files

. For information about using H.264 for other purposes, see

Creating QuickTime Movie Output Files

.

164

The H.264 for DVD Studio Pro pane contains the following items.

File Extension field: Displays the QuickTime file extension (.mov) automatically after the

H.264 for DVD Studio Pro output format is selected from the File Format pop-up menu.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Video Format: Use the Video Format pop-up menu to choose from the four options listed below. All of them are HD progressive formats.

The Video Format setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the video format that matches the source video file.

The Video Format

Automatic button

NTSC: This format is referred to as 480p. It uses a 720 x 480 frame size with an anamorphic 16 x 9 format at 59.94 fps.

Chapter 13

Creating H.264 for DVD Studio Pro Output Files

PAL: This format is referred to as 576p. It uses a 720 x 576 frame size with an anamorphic 16 x 9 format at 50 fps.

720p: This format uses a 1280 x 720 frame size with a 16 x 9 format at either 59.94 fps for NTSC or 50 fps for PAL.

1920x1080: This format is referred to as 1080p. It uses a 1920 x 1080 frame size with a 16 x 9 format at either 59.94 fps for NTSC or 50 fps for PAL.

Frame Rate: Use this pop-up menu to choose a frame rate for the output media file.

The Frame Rate setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the frame rate that matches the source video file.

The Frame Rate

Automatic button

Note: If you choose a format in the Video Format menu, the Frame Rate menu will be filled in automatically.

Use the Frame Rate pop-up menu to choose from the following options:

23.98: Used for NTSC-based video

25: Used for PAL-based video

29.97: Used for NTSC-based video

50: Used for PAL-based video

50.94: Used for NTSC-based video

Average Bit Rate slider and field: Use the slider to choose an average bit rate to use for the output video, or enter a value directly. Although the available range is between

0.5 Mbps and 24.99 Mbps, typical HD-based DVD video bit rates with H.264 might range from 7 Mbps to 15 Mbps, depending on your DVD bit budget and the nature of your source media files. The H.264 file format is twice as efficient as the standard MPEG-2 format. This means you can count on a lower bit rate to get the same quality, or higher quality at the same bit rate. See

About the Bit-Rate Settings

for more information.

Maximum Bit Rate slider and field: Choose a maximum bit rate between 0.59 Mbps and

29.4 Mbps. You can also enter any number within these ranges into the accompanying field. The Maximum Bit Rate cannot be set lower than the Average Bit Rate. As a general rule, set your maximum bit rate at least 1 Mbps higher than your average bit rate, to allow for bit-rate variability in achieving the goal of constant quality.

Chapter 13

Creating H.264 for DVD Studio Pro Output Files

165

Important:

For maximum compatibility with HD DVD players, avoid setting the maximum bit rate above 18 Mbps.

Frame Sync: Use the slider or enter a value directly to choose the Frame Sync rate for

the output video. The default setting is 2 seconds. See About the Frame Sync Setting

for more information.

Multi-pass: Use this checkbox to turn on multi-pass encoding. Similar to two-pass

MPEG-2 encoding, multi-pass offers the best possible quality. For faster (single-pass) encodes, turn this feature off by deselecting the checkbox. See

Using Multi-Pass for

DVD Authoring

and

Job Segmenting and Two-Pass or Multi-Pass Encoding

for more information.

Include PCM Audio: Use this checkbox to include a 16-bit, 48 kHz stereo PCM audio track in the output QuickTime movie. Most DVD producers will use a Dolby Digital

Professional (AC-3) setting for the audio with its much higher efficiency. In that case, you can deselect this checkbox and make sure that a Dolby 2.0 setting is applied to the job in the Batch window. If you select the checkbox, encode the H.264 movie, and then import the movie into DVD Studio Pro, the video track and the audio track will appear as two separate items in the Assets tab, as if you had imported one video asset and one audio asset.

166 Chapter 13

Creating H.264 for DVD Studio Pro Output Files

About the Frame Sync Setting

The Frame Sync setting defines an H.264 group of pictures (GOP). One difference between

MPEG-2 and H.264 encoding is that a frame within a GOP can reference frames other than those that it is closest to, which means the decoder must store all potential reference frames in order to be able to access them. The first frame of an H.264 GOP is a special

I-frame known as an instantaneous decoder refresh (IDR) frame that also flushes the decoder’s reference frame buffers.

GOP

Two seconds default

FS PS PS PS

Frame Sync key frame

GOVU

0.5 seconds default

Partial Sync key frame

This means that frames within the GOP defined by the Frame Sync setting can reference any other frames in that GOP, but not those outside the GOP. The result is that a longer frame sync setting creates a larger GOP, with more frames available for referencing, while a shorter setting results in a smaller GOP and fewer frames that can be referenced.

Additional I-frames, referred to as partial sync key frames, are added to the GOP. These standard I-frames define a group of video access unit (GOVU).

Important:

To conform to the HD DVD specification and its requirements for maximum

GOVU length, Compressor inserts a partial sync key frame every 0.5 seconds.

Using Multi-Pass for DVD Authoring

To ensure that any H.264 files you create with Compressor will compile properly into HD

DVD-compliant files in DVD Studio Pro, make sure that multi-pass encoding is turned on.

To turn on H.264 multi-pass encoding

1

Open the Settings tab.

2

Select the setting in the Settings tab that you want to modify. (Or select a setting already applied to a source media file in the Batch window.)

3

Open the H.264 Encoder pane in the Inspector window.

4

Select the Multi-pass checkbox.

About the Bit-Rate Settings

When determining average and maximum bit rates for DVD playback, remember to consider the bit rate of your audio tracks as well as the H.264 bit rate.

Chapter 13

Creating H.264 for DVD Studio Pro Output Files

167

Important:

For maximum compatibility with HD DVD players, avoid setting the maximum bit rate above 18 Mbps.

You must keep the total of both average and maximum audio and video bit rates under

30 Mbps, the maximum guaranteed transfer rate from high definition DVD players. Because

DVD-compatible audio formats are constant bit rate (CBR), there is no maximum audio bit rate to worry about.

For example, if you are using AIFF audio at 1.5 Mbps, you should keep both the average and maximum video bit rates for high definition DVDs under 28.5 Mbps. Typically, your average bit rate will be lower than this (from 7 Mbps to 15 Mbps). However, your maximum bit rate must also stay under this number. The 28.0 Mbps maximum bit rate is recommended to provide an extra margin for error (for example, to accommodate subtitle streams).

If you are using one of the DVD-compatible compressed audio formats such as Dolby

Digital or MPEG-1/Layer-2, your audio bit rate may be as low as 0.2 Mbps to 0.4 Mbps, in which case you can set your maximum bit rate about 1 Mbps higher. As a general rule, set your maximum bit rate at least 1 Mbps higher than your average bit rate, to allow for bit-rate variability in achieving the goal of constant quality.

H.264 Workflows for DVD

The efficiency and quality of H.264 creates a number of options for DVD producers.

• Because H.264 can deliver high definition (HD) video at standard definition (SD) bit rates, you can get 90 minutes of HD content on a regular DVD-5 disc, which is playable on the new HD DVD players.

• Video resolutions supported by SD DVDs are also supported by HD DVDs. This means that a high definition DVD can use an HD video resolution file for its main content, such as a feature film, and then use SD video resolution files for additional features like trailers and a “making of” documentary.

168 Chapter 13

Creating H.264 for DVD Studio Pro Output Files

Creating H.264 for Blu-ray Disc

14

Compressor includes the ability to easily create H.264 settings specifically configured for

Blu-ray and AVCHD discs.

Blu-ray, also known as Blu-ray Disc (BD), is a format that was developed to enable recording, rewriting, and playback of high definition (HD) video. The format offers more than five times the storage capacity of traditional DVDs and can hold up to 25 GB on a single-layer disc and 50 GB on a dual-layer disc.

An AVCHD disc can be thought of as a simpler HD disc that is burned to red laser media.

The resulting disc plays in Blu-ray Disc players that are compatible with the AVCHD format.

Note: Blu-ray and AVCHD output options are available only on computers that have

Final Cut Studio installed.

This chapter covers the following:

About the H.264 for Blu-ray Disc Encoder Pane

(p. 170)

H.264 Workflows for Optical Disc

(p. 172)

169

About the H.264 for Blu-ray Disc Encoder Pane

This section contains detailed information about the elements of the H.264 for Blu-ray

Disc Encoder pane in the Inspector window. You make your H.264 for Blu-ray Disc settings using this pane, by either modifying an existing setting or creating a new setting in the

Settings tab.

170

The H.264 for Blu-ray Disc pane contains the following items.

File Extension field: Displays the H.264 for Blu-ray file extension (.264) automatically after the H.264 for Blu-ray output format is selected from the File Format pop-up menu or the (+) pop-up menu in the Settings tab.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Stream Usage: Use the Stream Usage pop-up menu to choose how you intend to use the H.264 stream. Compressor modifies the bit-rate range settings based on the usage you choose with this pop-up menu.

Blu-ray: Choose this if you intend to use the stream to create a standard Blu-ray disc.

AVCHD: Choose this if you intend to use the stream and the Create Blu-ray Disc job action to burn an AVCHD disc using a standard DVD burner. This disc can be played in Blu-ray Disc players that are compatible with the AVCHD format. AVCHD discs can have up to a maximum of 50 chapter markers.

Video Format: Use the Video Format pop-up menu to choose from the four options listed below. All of them are HD progressive formats.

Chapter 14

Creating H.264 for Blu-ray Disc

The Video Format setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the video format that matches the source video file.

The Video Format

Automatic button

NTSC: This format is referred to as 480p. It uses a 720 x 480 frame size with an anamorphic 16 x 9 format at 59.94 fps.

PAL: This format is referred to as 576p. It uses a 720 x 576 frame size with an anamorphic 16 x 9 format at 50 fps.

720p: This format uses a 1280 x 720 frame size with a 16 x 9 format at either 59.94 fps for NTSC or 50 fps for PAL.

1920x1080: This format is referred to as 1080p. It uses a 1920 x 1080 frame size with a 16 x 9 format at either 59.94 fps for NTSC or 50 fps for PAL.

Frame Rate: Use this pop-up menu to choose a frame rate for the output media file.

The Frame Rate setting also has an Automatic button. Clicking the Automatic button causes the encoder to choose the frame rate that matches the source video file.

The Frame Rate

Automatic button

Note: If you choose a format in the Video Format menu, the Frame Rate menu will be filled in automatically.

Use the Frame Rate pop-up menu to choose from the following options:

23.98: Used for NTSC-based video

25: Used for PAL-based video

29.97: Used for NTSC-based video

50: Used for PAL-based video

59.94: Used for NTSC-based video

Chapter 14

Creating H.264 for Blu-ray Disc

171

172

Average Bit Rate slider and field: Choose an average bit rate to use for the output video with the slider, or enter a value directly. While the available range for a Blu-ray disc is between 5 Mbps and 30 Mbps, typical video bit rates with H.264 might range from

7 Mbps to 15 Mbps, depending on your DVD bit budget and the nature of your source media files. The available range for AVCHD discs is 5 Mbps to 15 Mbps.

Maximum Bit Rate slider and field: Choose a maximum bit rate between 6 Mbps and

35 Mbps for a Blu-ray disc, or between 6 Mbps and 17 Mbps for an AVCHD disc. You can also enter any number within these ranges into the accompanying field. The

Maximum Bit Rate setting cannot be lower than the Average Bit Rate setting. As a general rule, set your maximum bit rate at least 1 Mbps higher than your average bit rate, to allow for bit-rate variability in achieving the goal of constant quality.

Multi-pass: Use this checkbox to turn on multi-pass encoding. Similar to two-pass

MPEG-2 encoding, multi-pass offers the best possible quality. For faster (single-pass) encodes, turn this feature off by deselecting the checkbox. See

Using Multi-Pass for

DVD Authoring

and

Job Segmenting and Two-Pass or Multi-Pass Encoding

for more information.

H.264 Workflows for Optical Disc

The efficiency and quality of H.264 creates a number of options for optical disc producers:

• Video resolutions supported by SD DVDs are also supported by Blu-ray Disc. This means that a Blu-ray disc can use an HD video resolution file for its main content, such as a feature film, and then use SD video resolution files for additional features like trailers and a “making of” documentary.

• The Create Blu-ray Disc job action includes the ability to burn an AVCHD disc using red laser media. An AVCHD disc provides a way to play H.264 video in Blu-ray Disc players that are compatible with the AVCHD format. See

Create Blu-ray Disc

for more information.

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

• Because H.264 can deliver high definition (HD) video at standard definition (SD) bit rates, you can get more HD content on a regular DVD-5 disc than you might expect for an AVCHD disc.

Chapter 14

Creating H.264 for Blu-ray Disc

Creating Image Sequence Files

15

You can use Compressor to output an image sequence for use by compositing applications.

This chapter discusses the image sequences that Compressor can output from your source media files.

This chapter covers the following:

Creating Image Sequence Output Files

(p. 173)

About the Image Sequence Encoder Pane

(p. 174)

Configuring Image Sequence Settings

(p. 175)

Creating Image Sequence Output Files

The Image Sequence output format creates a set of still-image files representing the source video frames. Use this encoder to convert a video clip to an image sequence for use with compositing applications that aren’t compatible with QuickTime.

Note: You can also use Compressor to import an image sequence. For more information, see

Adding Image Sequences to Batches .

The Image Sequence output format supports the following still image formats.

TIFF (Tagged Image File Format): TIFF is one of the most common and flexible still-image formats and was developed to create a standard file format for storing and exchanging digital graphics used in desktop publishing. It is compatible with a wide range of compositing and image processing applications.

TARGA (Truevision Advanced Raster Graphics Adapter): TARGA, also commonly referred to as TGA, is a raster graphics format commonly used by animation and video applications.

IFF (Interchange File Format): IFF is a generic file format originally introduced by the

Electronic Arts company in 1985 (in cooperation with Commodore-Amiga) in order to ease transfer of data between software produced by different companies.

DPX: DPX is a common file format for digital intermediate and visual effects work and is an ANSI/SMPTE standard (268M-2003).

173

174

OpenEXR: OpenEXR is a high dynamic-range (HDR) image file format developed by

Industrial Light & Magic for use in computer imaging applications.

About the Image Sequence Encoder Pane

This section contains detailed information about the elements of the Image Sequence

Encoder pane in the Inspector window. You make your image sequence settings using this pane, by either modifying an existing setting or creating a new setting in the Settings tab.

Choose Image Sequence.

Choose either the TIFF or TARGA image type.

Choose a frame rate from the Frame Rate pop-up menu or click the Automatic button.

The Image Sequence Encoder pane contains the following items to help you create your image sequence output files:

File Extension: This field displays the TIFF file extension (.tiff ) automatically after the

Image Sequence output format is selected from the File Format pop-up menu or the

(+) pop-up menu in the Settings tab. Don’t alter this field. You can change the output format with the Image Type pop-up menu. This field will update automatically with your choice of output format.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Image Type: Use this pop-up menu to choose one of the six image sequence types for the output media. For descriptions of these output types, see

Creating Image Sequence

Output Files

.

Chapter 15

Creating Image Sequence Files

Frame Rate (fps): Use this field and pop-up menu to enter the frame rate at which you want the still images to be created. The higher the frame rate, the greater the number of still images created and the larger the output file. For example, if you choose 30 fps,

Compressor creates 30 still images for every second of the video clip you are transcoding.

If you choose 8 fps, Compressor creates only 8 still images per second.

Create unique output directory: Select this checkbox to create a folder for the resulting output files. The folder is given the same name as that of the media file, and the files are stored inside the folder and named frame-nnn. For example, if the output filename is test, the directory path is destination/test/frame-nnn.

If you don’t select this box, the output files are stored at the top level of your destination folder and named filename-nnn rather than frame-nnn. Be aware that even at the slow rate of 8 fps, a large number of files are created when you transcode to this output format, so creating an output directory is a good way to keep your files organized.

Add leading zeros to frame numbers: Select this checkbox to add leading zeros to the frame number. When choosing this method, all the output files consist of multidigit filenames, such as frame-000001 (or filename-000001 if these files aren’t being saved in a unique output directory). If you don’t select this checkbox, each file uses a regular filename, such as frame-1 (or filename-1 if these files aren’t being saved in a unique output directory).

Configuring Image Sequence Settings

You use the Image Sequence output format if you want to transcode a video clip into a series of still images.

To create an Image Sequence setting

1

In the Settings tab, do one of the following:

• Make sure that the correct setting is selected.

• Create a new setting by choosing Image Sequence from the “Create a new setting” (+) pop-up menu.

2

Apply the setting to a job in the Batch window.

3

Make sure the resulting image sequence target is selected.

4

In the Inspector, click the Encoder tab, then choose Image Sequence from the File Format pop-up menu.

The Image Sequence Encoder pane appears.

5

Use the Image Type pop-up menu to choose one of the following image sequence types for the output media. For descriptions of these output types, see

Creating Image Sequence

Output Files .

• TIFF

Chapter 15

Creating Image Sequence Files

175

176

• TARGA

• DPX

• IFF

• JPEG

• openEXR

6

Enter a number in the Frame Rate (fps) field or choose a frame rate from the pop-up menu.

7

Select the “Create unique output directory” checkbox if you want your image sequence files stored in their own folder in the destination folder.

8

Select the “Add leading zeros to frame numbers” checkbox if you want your output image sequence files numbered with the format 0000nn.

Important:

The Compressor Remote Destination feature does not support uploading image sequences to a remote destination (FTP server). Instead, use FTP software to upload the image sequence to remote servers.

Since all still image types require square pixels (a pixel aspect of 1.0), Compressor may have to alter the pixel dimensions of an image sequence job. To view or adjust these parameters, select the target in the Batch window and click the Geometry tab in the

Inspector. If you will be using the image sequence in an application that can be set to a specific size and pixel aspect ratio (such as Motion), make the appropriate changes in the

Geometry pane before encoding.

To adjust the pixel aspect ratio of an image sequence job before transcoding

1

In the Batch window, select the image sequence target.

2

In the Geometry pane in the Inspector window, use the Frame Size pop-up menu to choose the appropriate output dimensions (such as 720x480, 1920x1080, and so on) for the image sequence.

The Pixel Aspect pop-up menu becomes active.

3

In the Pixel Aspect pop-up menu in the Geometry pane, choose the appropriate pixel aspect ratio for your image sequence.

See

About the Image Sequence Encoder Pane

for more information about the Image

Sequence Encoder pane. See

About the Geometry Pane

for more information about the

Geometry pane.

Note: You can see the current contents of your setting by viewing the Summary pane of the Inspector window.

Chapter 15

Creating Image Sequence Files

Creating MP3 Output Files

16

Compressor provides the tools you need to create exceptional MP3 files.

MP3 is a specific type of MPEG encoding known formally as MPEG audio layer 3. MP3 uses perceptual audio coding and psychoacoustic compression to remove all superfluous information (specifically the redundant and irrelevant parts of a sound signal that the human ear doesn’t hear anyway). The result is that MP3 encoding shrinks the original sound data from a CD (with a data rate of 1411.2 kilobits per one second of stereo music) by a factor of 12 (down to 112–128 kbps) without sacrificing very much sound quality.

Proponents of MP3 actually claim there is no sacrifice in sound quality, but audio professionals can usually hear the difference on good equipment.

This chapter covers the following:

Common Uses for MP3

(p. 177)

About the MP3 Encoder Pane

(p. 178)

MP3 Transcoding Workflow

(p. 179)

Common Uses for MP3

MP3 is a widely adopted standard for compressed audio files, so it can be used in many different ways, including music and podcasts.

Music

Almost every portable digital music player supports the MP3 audio format. By using the higher bit rates, for example 256 kbps, you can create an excellent quality audio file using a much smaller file size than with uncompressed audio.

You can also add metadata to the file so that when the output media file opens in many players (including iTunes) the common information, such as artist, album, and so on, appears.

177

Podcasts

The MP3 format’s wide range of supported bit rates makes it ideal for delivering podcasts at a variety of quality levels, making it possible for users to choose a file size and quality level they are comfortable with.

Note: For the most options when creating enhanced audio podcasts, use the MPEG-4 output format. You are able to add chapter and podcast markers with URLs and artwork to the output file. See

Creating MPEG-4 Output Files

for more information.

About the MP3 Encoder Pane

This section contains detailed information about the various settings within the MP3

Encoder pane of the Inspector window. You make your MP3 settings by either modifying an existing setting or creating a new setting in the Settings tab.

178

The MP3 Encoder pane contains the following settings.

Extension: This field displays the MP3 file extension (.mp3) automatically after the MP3 output format is selected from the File Format pop-up menu or the (+) pop-up menu in the Settings tab.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Stereo Bit Rate pop-up menu: The higher the Mono or Stereo kilobits per second (kbps), the higher the audio quality and the larger the file size. The most common bit rate for stereo MP3 files is between 128 kbps and 192 kbps. Lower bit rates are more appropriate for sound files containing voice recordings (as opposed to music).

Chapter 16

Creating MP3 Output Files

Some example settings and uses include:

32 kbps: AM radio quality, suitable for medium quality speech

96 kbps: FM radio quality, suitable for high quality speech or medium quality music

128 kbps: Suitable for good-quality music

256 kbps and 320 kbps: Suitable for music that is near CD quality

Use Variable Bit Rate Encoding (VBR): This setting varies the number of bits used to store the music depending on the complexity of the music. This can help keep file size to a minimum.

Sample Rate pop-up menu: The number of times per second that the music waveforms are captured digitally. The higher the sample rate, the higher the quality and the larger the file size. Don’t choose a sample rate higher than the rate used originally to store the music or you’ll waste space. CD quality, for example, is 44.100 kHz, so choosing a higher rate when you’re encoding from a CD is unnecessary.

Channels pop-up menu: If you don’t have stereo speakers or if your audio files are monaural, choose Mono (mono files are about half the size of stereo files). If you’ll be listening to your MP3 files using your stereo system, choose Stereo.

Joint Stereo: When this checkbox is deselected, your MP3 files contain one track for the right stereo channel and one track for the left. In many cases, the two channels contain related information. When the Joint Stereo checkbox is selected, one channel carries the information that’s identical on both channels, and the other channel carries the unique information. At bit rates of 160 Kbps and below, this can improve the sound quality of your converted audio.

Smart Encoding Adjustments: Select this to have Compressor analyze your encoding settings and music source, and then adjust settings to maximize quality.

Filter Frequencies Below 10 Hz: Filtering inaudible frequencies results in smaller, more efficient files without perceptible loss of quality.

MP3 Transcoding Workflow

How you use Compressor to transcode your audio into MP3 format files depends on how you intend them to be used. The basic steps are described below.

Stage 1:

Creating a Batch

As with any transcode, you need to start by creating a batch. See

Preparing Compressor for Transcoding with Custom Settings

for more information.

Stage 2:

Creating Jobs with the Source Audio Files

Import the source audio files either by dragging them from Finder to the batch or by choosing Job > New Job With File.

Chapter 16

Creating MP3 Output Files

179

Stage 3:

Adding Annotations (If Needed)

If you intend to play the MP3 files with a device or application, such as iTunes, you can add a variety of annotations, such as artist, album, title, and so on, that can be read and displayed.

Stage 4:

Adding Targets with an MP3 Setting to Each of the Jobs

Each of the jobs requires at least one target—in this case the jobs need targets with an

MP3 setting. If there is more than one job, it is easiest to select all the jobs by choosing

Edit > Select All and then choose Target > New Target With Setting to apply the same setting to all the jobs.

Stage 5:

Submitting the Batch for Transcoding

Click the Submit button to start the transcode process. See

Submitting a Batch

for more information.

180 Chapter 16

Creating MP3 Output Files

Creating MPEG-1 Output Files

17

Compressor provides the tools you need to create exceptional MPEG-1 transcoded files.

MPEG-1 is an internationally accepted compression standard developed by the Motion

Picture Experts Group (MPEG). MPEG-1 allows you to create VHS-quality video files and was designed to support SIF (Standard Interface Format) resolution noninterlaced

(progressive) video using relatively low bit rates (Compressor supports 0.5 Mbps to 2 Mbps).

It also allows you to create compressed one-channel and two-channel audio.

This chapter covers the following:

Common Uses for MPEG-1

(p. 181)

MPEG-1 Specifications

(p. 182)

About the MPEG-1 Encoder Pane

(p. 183)

About the MPEG-1 Video Tab

(p. 184)

About the MPEG-1 Audio Tab

(p. 185)

About System and Elementary Streams

(p. 186)

MPEG-1 Transcoding Workflow

(p. 186)

Configuring the MPEG-1 File Format for Web Use

(p. 188)

Configuring the MPEG-1 File Format for DVD Use

(p. 189)

Creating the MPEG-1 Video for DVD Setting

(p. 190)

Creating the MPEG-1 Audio for DVD Setting

(p. 191)

Optional—Creating an MPEG-1 for DVD Group and Destination

(p. 193)

Common Uses for MPEG-1

MPEG-1 is a widely adopted standard, so it can be used in many distribution methods including optical discs, the web, and audio-only files.

181

182

DVD, VCD, and CD-ROM

MPEG-1 is the video compression format used for video CD (VCD) titles and is compatible for use on DVD titles since all DVD players contain the hardware required for MPEG-1 playback. MPEG-1 is commonly used in videos distributed on CD-ROM. Its low bit rate and small file sizes are useful when you must fit multiple hours of video onto a DVD and do not require the broadcast quality of MPEG-2 encoding. A DVD can contain a mix of

MPEG-2 and MPEG-1 video.

On the Web

Since MPEG-1 was one of the first widely adopted compression standards, it has an advantage of being compatible with most media players. This makes MPEG-1 attractive for use on the web when you need maximum compatibility with relatively high quality.

Audio-Only

You can use MPEG-1 Layer 2 audio compression as an alternative to Dolby Digital

Professional or DTS compression. While there is no Apple setting for MPEG-1 audio-only files in this release of Compressor, you can easily create a setting yourself. See

Configuring the MPEG-1 File Format for DVD Use

for details.

MPEG-1 Specifications

Compressor supports all the MPEG-1 specifications for frame sizes, frame rates, video encoding, and audio encoding.

MPEG-1 Frame Sizes and Frame Rates

Compressor can produce full frame rate video (25 fps and 29.97 fps for DVD and 23.976 fps,

25 fps, and 29.97 fps for the web) with SIF resolutions dependent on the use.

Web: 320 x 240

NTSC: 352 x 240

PAL: 352 x 288

While the NTSC and PAL resolutions are roughly half the full resolution of MPEG-2 video, when played on a DVD player they automatically expand to fill the entire screen.

MPEG-1 File Format Specifications

MPEG-1 video encoding uses a process very similar to that used in MPEG2 encoding—many of the same terms and settings apply. In Compressor, the encoding settings are set as follows.

Encoding mode: One pass

GOP structure: Open

GOP pattern: BBIBBP

Chapter 17

Creating MPEG-1 Output Files

GOP length: 15 frames for NTSC; 12 frames for PAL

These settings are fixed and apply to all Compressor MPEG-1 video output files. See

GOP

Tab

for information about Group of Pictures (GOP) settings. See

Quality Tab

for information on the encoding mode.

The MPEG-1 output files can have I-frames forced on specific frames by placing compression markers on them. These markers can be added to the source media file

using Final Cut Pro or can be added manually in the Preview window. See Adding Markers to a Clip

for more information.

The MPEG-1 format does not support named chapter markers.

About the MPEG-1 Encoder Pane

This section contains detailed information about the various tabs within the MPEG-1

Encoder pane of the Inspector window. You make your MPEG-1 settings using these tabs, by either modifying an existing setting or creating a new setting in the Settings tab.

The MPEG-1 Encoder pane opens with the default Video tab on top and contains the following items.

Extension: This field displays the MPEG-1 file extension (.mpg) automatically after the

MPEG-1 output format is selected from the File Format pop-up menu, or the (+) pop-up menu in the Settings tab. The extension changes to the video-only extension (.m1v) if the Audio tab is disabled, or audio-only extension (.m1a) if the Video tab is disabled.

Chapter 17

Creating MPEG-1 Output Files

183

184

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Video and Audio tabs: These buttons open the Video and Audio tabs described next.

About the MPEG-1 Video Tab

You use the Video tab to make settings related to the video format.

The Automatic button

Enabled checkbox: Make sure this checkbox is selected if you want the MPEG-1 output format to include the Video tab settings.

Frame Rate pop-up menu: Choose the frame rate of the video you are encoding.

With Purpose set to Web: The choices are 23.976, 25 (PAL frame rate), 29.97 (NTSC frame rate), and Automatic.

With Purpose set to DVD: The choices are 25 (PAL frame rate), 29.97 (NTSC frame rate), and Automatic.

Automatic button: Clicking the Automatic button forces the encoder to determine the proper frame rate by choosing the rate that most closely matches the source frame rate.

Note: Using the Automatic setting with nonstandard source frame rates may result in output frame rates that do not match the intended video frame rate. For example, a source frame rate of 15 fps with the Purpose set to DVD results in an automatic selection of 25 (PAL). If you are intending to use the output on an NTSC DVD, you must choose

29.97 as the frame rate.

Chapter 17

Creating MPEG-1 Output Files

Purpose buttons: Choose the intended purpose for the output files.

Web: Forces the resolution to 320 x 240 regardless of the Frame Rate selection.

DVD: Allows the Frame Rate selection to set the resolution. With the 29.97 frame rate, the resolution is 352 x 240. With the 25 frame rate, the resolution is 352 x 288.

Bit rate: Use this slider to choose the bit rate to use for the output video, or enter a number directly into the text field. While the available range is from 0.5 Mbps to

2.0 Mbps, the actual setting you should use depends on how the output is to be used.

Higher bit rates produce better picture quality, but they also produce larger output files.

For web projects: Choose a bit rate that best balances the picture quality with file size and download expectations.

For VCD projects: The recommended video bit rate is 1.15 Mbps, with a system stream

(multiplexed video and audio in the same file) bit rate of under 1.3944 Mbps.

For DVD projects: The typical video bit rate is 1.15 Mbps, with 1.856 Mbps being the maximum allowed.

About the MPEG-1 Audio Tab

You use the Audio tab to make settings related to the audio format.

Enabled checkbox: Make sure this checkbox is selected if you want the MPEG-1 output format to include the Audio tab settings.

Sample Rate pop-up menu: Choose the sample rate of the output audio.

48 kHz: Required for use on DVDs.

44.1 kHz: Used on audio CDs. This is the most commonly supported sample rate.

Chapter 17

Creating MPEG-1 Output Files

185

Channels buttons: Choose the channel valence (stereo or mono) for the output media file.

Stereo: Choose this button to create a stereo output audio file.

Mono: Choose this button to create a mono output audio file.

Bit Rate pop-up menu: Choose the bit rate to use for the output audio. Choices are

64 kbps, 128 kbps, 192 kbps, 224 kbps, and 384 kbps. Higher bit rates produce higher quality audio, but they also produce larger output files.

Note: The 224 kbps and 384 kbps settings are not available when Channels is set to

Mono.

About System and Elementary Streams

You can use Compressor to create system or elementary MPEG-1 streams.

System Streams

System streams, also known as multiplexed streams, combine the video and audio components into the same file. This type of stream is most often used in web applications.

Compressor automatically creates a system stream when you enable both the Video and

Audio tabs in the same setting.

Elementary Streams

With elementary streams, there are separate files for the video and audio components.

Elementary streams are required by some applications, such as DVD Studio Pro.

Compressor automatically creates an elementary stream when only the Video or Audio tab is enabled, but not both. To create elementary streams of both the video and the audio, you must use two settings—one with the Video tab enabled using the file extension of .m1v and a second with the Audio tab enabled using the file extension of .m1a.

MPEG-1 Transcoding Workflow

This section gives step-by-step instructions for setting your MPEG-1 attributes prior to creating MPEG-1 output files with Compressor. Make your MPEG-1 settings from the

MPEG1 Encoder pane by either modifying an existing setting or creating a new setting.

See the following steps for working with the MPEG-1 output file format.

186 Chapter 17

Creating MPEG-1 Output Files

Example MPEG-1 Settings

The settings you use depend on whether you are encoding for use on the web or in a

DVD project.

Encoding for the Web

Use the following settings when encoding MPEG-1 system streams for the web.

Video tab:

Frame rate: Automatic

Purpose: Web

Bit rate: As low as you can set it and get acceptable picture quality

Audio tab:

Sample rate: 44.1 kHz

Channels: Stereo with two-channel sources; Mono with one-channel sources

Bit rate: As low as you can set it and get acceptable audio quality; use higher bit rates when encoding stereo audio

Encoding for DVD

Use the following settings to configure two settings when encoding MPEG-1 elementary streams for DVD authoring.

Video elementary stream setting (Video tab):

Frame rate: 29.97 for NTSC or 25 for PAL

Purpose: DVD

Bit rate: 1.15 Mbps

Video elementary stream setting (Audio tab):

Enabled checkbox: Deselected

Audio elementary stream setting (Video tab):

Enabled checkbox: Deselected

Audio elementary stream setting (Audio tab):

Sample rate: 48 kHz

Channels: Stereo with two-channel sources; Mono with one-channel sources

Bit rate: 192 kbps or 224 kbps

Chapter 17

Creating MPEG-1 Output Files

187

188

Configuring the MPEG-1 File Format for Web Use

The following sections guide you through configuring the MPEG-1 output file format for web use. This process creates a single MPEG-1 system stream.

Stage 1: Choosing Video Settings

Stage 2: Choosing Audio Settings

Stage 1:

Choosing Video Settings

This section describes creating MPEG-1 video settings for web use.

To open the MPEG-1 Encoder pane and choose video settings

1

Open the Settings tab, then choose MPEG-1 from the “Create a New Setting” (+) pop-up menu.

The MPEG-1 Encoder pane opens in the Inspector with the default Video tab displayed.

2

Name the new setting “MPEG-1 for Web.”

Select to enable the Video tab.

Click the Automatic button or choose a frame rate.

Select Web to set the resolution to 320 x 240.

Choose the bit rate.

3

Select the Enabled checkbox.

4

Click the Automatic button next to the Frame Rate pop-up menu.

You can also choose 23.976, 29.97, or 25 from the Frame Rate pop-up menu if you know the frame rate of the source video.

5

Select the Web button.

This sets the resolution of the output to 320 x 240.

6

Choose the bit rate to use from the Bit Rate slider, or enter a value directly.

Stage 2:

Choosing Audio Settings

This section describes creating MPEG-1 audio settings for web use.

Chapter 17

Creating MPEG-1 Output Files

To open the Audio tab and choose audio settings

1

Click the Audio button in the MPEG-1 Encoder pane to open the Audio tab.

Select to enable the Audio tab.

Choose the sample rate.

Choose the bit rate.

Select the number of audio channels.

2

Select the Enabled checkbox.

3

Choose 44.1 kHz from the Sample Rate pop-up menu.

4

Select Stereo when using two-channel audio sources, or Mono when using one-channel audio sources.

5

Choose the bit rate to use from the Bit Rate pop-up menu.

6

Click the Save button (in the lower-right corner of the Inspector) to save this setting.

Configuring the MPEG-1 File Format for DVD Use

The following sections guide you through configuring the MPEG-1 output file format for

DVD use. This process creates two settings, one for video and another for audio, creating elementary streams.

Stage 1:

Creating the MPEG-1 Video for DVD Setting

Create the setting for an MPEG-1 elementary video output file suitable for DVD. See

Creating the MPEG-1 Video for DVD Setting

for more information.

Stage 2:

Creating the MPEG-1 Audio for DVD Setting

Create the setting for an MPEG-1 elementary audio output file suitable for DVD. See

Creating the MPEG-1 Audio for DVD Setting

for more information.

Stage 3:

(Optional) Creating an “MPEG-1 for DVD” Group and Destination

Optionally, you can “package” your newly-made settings in a custom “MPEG-1 for DVD” group and destination. See

Optional—Creating an MPEG-1 for DVD Group and Destination

for more information.

Chapter 17

Creating MPEG-1 Output Files

189

190

Creating the MPEG-1 Video for DVD Setting

The following sections create the setting for an MPEG-1 elementary video output file suitable for DVD.

Stage 1: Creating the MPEG-1 Video for DVD Setting

Stage 2: Configuring the Video Settings

Stage 3: Making an Elementary Video Stream

Stage 1:

Creating the MPEG-1 Video for DVD Setting

This section describes creating MPEG-1 video settings for DVD use.

To open the Settings tab and create a new setting

1

Open the Settings tab, and choose MPEG-1 from the “Create a New Setting” (+) pop-up menu.

This adds a new setting to the existing list.

2

Name the new setting “MPEG-1 Video for DVD.”

See

Creating a Setting from Scratch

for more information.

Stage 2:

Configuring the Video Settings

This section describes configuring MPEG-1 video settings for DVD use.

To open the MPEG-1 Encoder pane and configure the Video settings for DVD

1

Click the Encoder tab and choose MPEG-1 from the File Format pop-up menu.

2

Click the Video button in the MPEG-1 Encoder pane to open the Video tab.

Select to enable the Video tab.

The file extension changes to .m1v once the Audio tab is disabled.

Choose the frame rate.

Select DVD to set the resolution to match the frame rate.

Choose the bit rate.

3

Select the Enabled checkbox.

4

Choose the frame rate that matches your source video, either 29.97 or 25, from the Frame

Rate pop-up menu.

Chapter 17

Creating MPEG-1 Output Files

5

Select the DVD button.

This sets the resolution of the output to match the selected frame rate.

6

Choose the bit rate to use with the Bit Rate slider, or enter a value directly.

The typical value used for DVD projects is 1.15 Mbps, with 1.856 Mbps being the maximum allowed.

Stage 3:

Making an Elementary Video Stream

In order for the output media file to be an elementary video stream, you must turn off the audio setting.

To turn off the audio for the video setting

1

Click the Audio button in the MPEG-1 Encoder pane to open the Audio tab.

2

Deselect the Enabled checkbox.

This ensures that this setting (preset) will only create an elementary video stream and sets the file extension to .m1v.

Deselect to disable the Audio tab.

3

Click the Save button (in the lower-right corner of the Inspector) to save this setting.

This saves the “MPEG-1 Video for DVD” setting.

Creating the MPEG-1 Audio for DVD Setting

The following sections create the setting for an MPEG-1 elementary audio output file suitable for DVD.

Stage 1: Creating the MPEG-1 Audio for DVD Setting

Stage 2: Making an Elementary Audio Stream

Stage 3: Configuring the Audio Settings

Stage 1:

Creating the MPEG-1 Audio for DVD Setting

This section describes creating MPEG-1 audio settings for DVD use.

Chapter 17

Creating MPEG-1 Output Files

191

To open the Settings tab and create a new setting

1

Open the Settings tab and click the Add Preset (+) button.

This adds a new setting to the existing list.

2

Name the new setting “MPEG-1 Audio for DVD.”

See

Creating a Setting from Scratch

for more information.

Stage 2:

Making an Elementary Audio Stream

In order for the output media file to be an elementary audio stream, you must turn off the video setting.

To turn off the video setting

1

Click the Encoder tab and choose MPEG-1 from the File Format pop-up menu.

2

Click the Video button in the MPEG-1 Encoder pane to open the Video tab.

The file extension changes to .m1a once the Video tab is disabled.

Deselect to disable the Video tab.

3

Deselect the Enabled checkbox.

This ensures that this preset will only create an elementary audio stream and sets the file extension to .m1a.

Stage 3:

Configuring the Audio Settings

Use the following settings to create an MPEG-1 audio file for DVD.

To open the Audio tab and configure the Audio settings for DVD

1

Click the Audio button in the MPEG-1 Encoder pane to open the Audio tab.

192 Chapter 17

Creating MPEG-1 Output Files

2

Select the Enabled checkbox.

Select to enable the Audio tab.

Choose the 48 kHz sample rate.

Choose the bit rate.

Select either Stereo or Mono.

3

Choose 48 kHz from the Sample Rate pop-up menu.

4

Select Stereo when using two-channel audio sources or Mono when using one-channel audio sources.

5

Choose the bit rate to use from the Bit Rate pop-up menu.

The typical values used for DVD projects are 192 kbps and 224 kbps.

6

Click the Save button (in the lower-right corner of the Inspector) to save this setting.

This saves the “MPEG-1 Audio for DVD” preset.

Optional—Creating an MPEG-1 for DVD Group and Destination

To make it easy to use these two MPEG-1 presets with a source, you can create an “MPEG-1 for DVD” preset group using them. See

Creating Groups of Settings

for more information.

Also, to make it easier to use the output files created by these presets in DVD Studio Pro, create a destination that ensures the video and audio output files have the same name,

only with different file extensions. See Creating Destinations for Use with DVD Studio Pro

for more information.

Chapter 17

Creating MPEG-1 Output Files

193

Creating MPEG-2 Output Files

18

Compressor provides the tools you need to create exceptional MPEG-2 transcoded files.

MPEG-2 is an internationally accepted compression standard developed by the Motion

Picture Experts Group (MPEG). MPEG-2 allows you to create broadcast-quality video files and was designed to support high-resolution, high bit-rate video. It is the video compression format used for high-quality video titles on DVD, HD broadcast, and home satellite dish systems. All DVD players contain the hardware required for MPEG-2 playback.

This chapter covers the following:

About Standard Definition MPEG-2

(p. 195)

About High Definition Sources and MPEG-2

(p. 196)

About Elementary, Transport, and Program Streams

(p. 196)

About the MPEG-2 Encoder Pane

(p. 197)

MPEG-2 Reference Information

(p. 208)

MPEG-2 Transcoding Workflow

(p. 213)

Example MPEG-2 Settings

(p. 219)

About Standard Definition MPEG-2

Standard MPEG-2 is full frame rate (23.98–29.97 fps) and full-screen resolution (720 x 480 for NTSC and 720 x 576 for PAL). MPEG-2 has the following characteristics.

Support for interlaced video: MPEG-2 can support either interlaced or progressive video.

Because MPEG-2 streams are generally played from a local DVD drive, rather than over a network with variable bandwidth, video frame rate usually stays constant, and the video normally looks completely smooth.

No streaming support: MPEG-2 is not suitable for streaming video files over the web because it requires a high bit rate (2 to 9 Mbps) to maintain acceptable image quality.

Note: The Compressor MPEG-2 encoder can create MPEG-2 video streams for the

DVD-Video format. To create DVD-Video discs, you must use a DVD authoring application, such as DVD Studio Pro, in conjunction with Compressor.

195

196

About High Definition Sources and MPEG-2

Compressor has several different options and workflows for transcoding high definition

(HD) video source files into MPEG-2 files.

HD on DVD

Compressor can output MPEG-2 files for creating HD-resolution DVDs from either HD or standard definition (SD) source media. Compressor can retain the various frame sizes and frame rates of high definition video when transcoding to MPEG-2. And Compressor supports the higher bit rates required by HD-based DVD formats. For more information on creating output for HD-based DVDs, see

About the MPEG-2 Encoder Pane

and the

DVD Studio Pro User Manual.

Note: The other output file format option for HD-based DVDs is H.264, also known as

MPEG-4 Part 10. H.264 is currently mandatory in both new high definition DVD specifications (HD DVD and Blu-ray). For more information about creating H.264 files for

HD on DVD, see

Creating H.264 for DVD Studio Pro Output Files

.

HD to SD Downconversion

For those situations in which you are editing high definition (HD) sources in Final Cut Pro and want to create a standard definition (SD) DVD from them, Compressor provides high-quality downconversion. Compressor retains as much detail as possible during scaling and correctly preserves progressive or interlaced formats when encoding to

MPEG-2 for DVD.

To see the source media resolution and frame rate

1

Import the source media file into the Batch window.

2

Click the source’s name in the Batch window.

The source media file’s resolution and frame rate, along with its duration, appear in the lower-left corner of the Preview window.

About Elementary, Transport, and Program Streams

There are three common MPEG-2 stream types that are used to deliver MPEG-2 encoded video.

Elementary streams: These streams contain only one MPEG-2 content channel and no audio. Elementary streams are required if you intend to use your MPEG-2 encoded video as a DVD Studio Pro asset.

Transport streams: These streams can contain several MPEG-2 content channels and associated audio. All the channels are multiplexed together, allowing the receiver to choose which to play back. Compressor supports creating single-channel transport streams that can optionally include associated audio.

Chapter 18

Creating MPEG-2 Output Files

Transport streams can also recover from interruptions during playback, making them ideally suited for broadcast and streaming applications where noise or network congestion can lead to interruptions.

Program streams: These streams contain only one MPEG-2 content channel and its associated audio. Program streams require an error-free delivery method and are primarily used for storage or processing within a computer.

By default, the Compressor MPEG-2 encoder creates elementary MPEG-2 steams. You can configure the MPEG-2 encoder to create transport or program streams and choose whether they should include audio in the Extras tab. See

Extras Tab

for more information.

Note: All the Stream Usage settings except Generic output elementary streams. If you select any of the other Stream Usage settings and then configure the output to be either a transport or program stream, the Stream Usage changes to Generic. See

Stream Usage

for more information.

About the MPEG-2 Encoder Pane

This section contains detailed information about the various tabs within the MPEG-2

Encoder pane in the Inspector window. You make your MPEG-2 settings using these tabs, by either modifying an existing setting or creating a new setting in the Settings tab.

MPEG-2 Encoder Pane Basic Settings

The MPEG-2 pane opens with the default Video Format tab on top and contains the following items.

Extension field: Displays the MPEG-2 file extension (.m2v) automatically after the MPEG-2 output format is selected from the File Format pop-up menu.

Chapter 18

Creating MPEG-2 Output Files

197

198

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Stream Usage: This pop-up menu allows you to choose how you intend to use the

MPEG-2 stream. Compressor modifies the options available and bit rate ranges based on the usage you choose with this pop-up menu. See

Stream Usage

for more information.

Video Format, Quality, GOP, and Extras: These buttons open the Video Format, Quality,

GOP, and Extras tabs. Their settings are explained in the following sections.

Stream Usage

Choosing a setting from the Stream Usage pop-up menu ensures the encoded MPEG-2 stream will be suitable for how you intend to use it.

The options in the Stream Usage pop-up menu include the following:

Generic: The Generic option allows you complete access to all the MPEG-2 settings.

This is the only option that supports the MPEG-2 640 x 480 video format in addition to the SD and HD video formats. It is also the only option that supports creating transport and program streams. It supports the complete bit-rate range of 2.0 Mbps to 40.0 Mbps.

SD DVD: The SD DVD option restricts the encoding options to those allowed by the SD

DVD specification. These include the NTSC and PAL video formats and a bit-rate range of 2.0 Mbps to 9.0 Mbps.

Blu-ray: The Blu-ray option restricts the encoding options to those allowed by Blu-ray video discs. These include the SD and HD video formats and a bit-rate range of

10.0 Mbps to 40.0 Mbps.

HD DVD: The HD DVD option restricts the encoding options to those allowed by the

HD DVD specification. These include the SD and HD video formats and a bit-rate range that changes depending on the selected video format.

For HD video formats: The bit-rate range is from 10.0 Mbps to 29.4 Mbps.

For SD video formats: The bit-rate range is from 2.0 Mbps to 15.0 Mbps.

Chapter 18

Creating MPEG-2 Output Files

Video Format Tab

You use the Video Format tab to make settings related to video formats, frame rates, aspect ratio, field dominance, and timecode. All of these, except the timecode setting, can be set to automatically configure themselves based on the video being encoded.

The Video Format tab contains the following controls.

Video Format pop-up menu: Choose your output video file format as NTSC, PAL, 720p,

HD 1440x1080, HD 1920x1080, or a variety of versions of 640 width formats. The Stream

Usage setting determines which of these formats are actually available. When you choose a Video Format setting, the other settings in this tab will be filled in with default values, or they will be dimmed, indicating that there are no options for that setting.

The NTSC and PAL items refer to standard definition settings for the NTSC and PAL TV standards. Of the major-market DVD regions, NTSC is used in North America and Japan, and PAL is used throughout Europe.

Generally, the output video format should match the source video format. For interlaced video originating from traditional NTSC or PAL camcorders, choose NTSC or PAL from this pop-up menu. If you are unsure of what your source media file’s video format is, you can choose Automatic. This setting analyzes your source media clip’s frame rate to determine the correct video format.

If you click the video format Automatic button, the GOP size is limited to 12 or 15 (based on whether the video is PAL or NTSC), with a closed IBBP pattern. With Automatic selected, you cannot change the frame rate setting in this tab, or the GOP settings in the GOP tab. See

Understanding GOPs and Frame Types

for more information about

GOPs.

Video Format Automatic button

Chapter 18

Creating MPEG-2 Output Files

199

200

Note: Since MPEG-2 uses fixed video frame sizes (see

MPEG-2 Video Frame Sizes and

Formats ), Compressor enters the output frame size in the fields in the Geometry pane

based on your video format selection.

The video format you choose determines the options for the associated characteristics such as frame size and rate, aspect ratio, and field dominance.

Note: The normal frame dimensions of standard definition (SD) NTSC digital video are

720 x 486. If you want to transcode a source file using the NTSC setting, Compressor crops the file to achieve the required MPEG-2 frame size of 720 x 480, unless you have already specified cropping attributes for your setting. If not, Compressor crops two rows of pixels from the top and four from the bottom. This crop attribute is only temporary and is not saved in the setting. You can see the effects of the crop by double-clicking the setting in the job to open the Preview window.

Frame Rate pop-up menu: Choose the intended frame rate for the MPEG-2 output file.

Film and some video camcorders create progressive material at 24 fps (or the NTSC variant 23.98 fps). Although the term “24p” implies video with a frame rate of 24 fps, the frame rate is usually 23.976 fps (rounded to 23.98) fps. To transcode these sources

for DVD playback on NTSC-related TVs, choose the 23.98 setting. See About 24p (23.98p)

for more information.

Note: The NTSC frame rate is frequently mentioned as 29.97 fps. Similarly, the “NTSC version” of 24 fps is mentioned as 23.98 fps. Both these numbers are actually approximations to the true values 30/1.001 and 24/1.001, or 29.97003 and 23.97602

shown to more decimal places. These numbers show that 29.97 is a pretty good approximation to 30/1.001 (only 3 frames drift in 100,000 seconds), but that 23.976

would be much better than 23.98. In fact, even though 23.98 is used as shorthand in the Compressor Help and in the Compressor user interface, accuracy of 23.976 or better is maintained internally in Compressor, and generally within QuickTime as well. See

About 24p (23.98p)

for more information on this topic.

Aspect Ratio pop-up menu: Choose the aspect ratio of your video file. The default is 4:3.

The other option of 16:9 is used for anamorphic DVD. The aspect ratio determines how the picture fills the television screen. A 16:9 (widescreen) DVD viewed on a typical 4:3 television displays in letterbox format (black bars at the top and bottom of the screen).

However, a widescreen DVD displayed on a 16:9 (widescreen) TV fills the screen.

Chapter 18

Creating MPEG-2 Output Files

Field Dominance pop-up menu: Choose whether the top field or the bottom field of your interlaced source media file will be the dominant (first) field in the output MPEG-2 video file. If you choose Automatic (the default), Compressor analyzes the source video and attempts to determine field dominance automatically. The bottom field is dominant for DV source video. This setting does not pertain to the 720p video format, since that format must be progressive.

Note: For interlaced video, the top field is also known as the upper or odd field, and the bottom field is also known as the lower or even field.

“Choose start timecode” checkbox and field: If you leave the checkbox deselected (the default), Compressor embeds the source media file’s existing timecode into the output media file. Selecting this checkbox allows you to override the source media file’s existing timecode and enter a new timecode in the timecode field. This field remains dimmed unless the checkbox is selected, and if it is left blank, the output media file uses the default timecode of 00:00:00:00.

“Drop frame” checkbox: If you have already selected the “Choose start timecode” checkbox, and you want your timecode to be drop frame (rather than non-drop frame), you must also select this checkbox.

Timecode is a numbering system for labeling the frames in a video sequence. The type of timecode designed for 30 fps video has a frame counter that counts from 0 to 29 and then increments the seconds counter and returns to 0. This type of timecode, also known as non-drop frame timecode, maintains an accurate measure of elapsed time for true 30 fps video. However, the NTSC frame rate is 29.97 fps, and so drop frame timecode was defined to provide a more accurate measure of elapsed time for NTSC.

Drop frame timecode skips frame numbers 0 and 1 once a minute on the minute, except for every 10 minutes. For example, drop frame timecode 01:08:59;29 is followed by 01:09:00;02, skipping timecodes 01:09:00;00 and 01:09:00;01.

Note: Drop frame timecode applies only if you are using interlaced NTSC video.

Quality Tab

The Quality tab allows you to set the bit rate for your video so that it can be transcoded to a suitable data size and quality.

In addition to the controls, the lower-right corner shows an estimate of how many minutes of video would fit on a 4.7 GB DVD using the current settings. This time assumes a single

AIFF audio stream to be used with the MPEG-2 stream.

Chapter 18

Creating MPEG-2 Output Files

201

The Quality tab contains the following controls:

Mode pop-up menu

Motion Estimation pop-up menu

Time estimate for a 4.7

GB disc with a stereo

AIFF audio stream

Mode pop-up menu: Allows you to choose one of the following MPEG-2 encoding modes. High Definition (HD) quality modes will be “One pass VBR Best” or “Two pass

VBR Best.”

One pass CBR: Using this mode, the output MPEG-2 video stream’s bit rate is held approximately constant from one GOP to the next. This is the fastest Compressor

MPEG-2 encoding mode, and it provides good to very good quality, especially at bit rates between 5 and 9 Mbps.

One pass VBR: This VBR (variable bit rate) encoding mode aims to maintain constant quality (at the expense of constant bit rate) for the transcoded video file. This means that in scenes with much detail or fast motion, Compressor allows a higher bit rate than it allows in less detailed or still parts of the stream. In spite of this bit-rate variability, Compressor ensures your specified average bit rate is achieved accurately and that the maximum bit rate is not exceeded. Unlike the two-pass modes, one-pass

VBR doesn’t have a “bird’s eye” view of the source media prior to encoding, so its bit allocation is less optimized than two-pass VBR. Nonetheless, for most standard definition (SD) media files at bit rates of 3.5 Mbps and above, this mode provides good to excellent quality and transcodes quickly.

202 Chapter 18

Creating MPEG-2 Output Files

One pass VBR Best: This is similar to one-pass VBR, but with this mode, Compressor applies greater effort to its internal decision-making processes. Although one-pass

VBR Best transcodes slower than one-pass VBR, it provides excellent to outstanding

SD video quality at bit rates of 3 to 3.5 Mbps and above. Bit rates for HD MPEG-2 can range from 10–29 Mbps average, 12–29 Mbps maximum. Compared to one-pass

VBR, one-pass VBR Best provides higher quality, especially for difficult material at low bit rates. For short streams of 1 to 2 minutes or less, if you are using one-pass VBR or one-pass VBR Best, the average bit-rate accuracy may be compromised by as much as 10 to 30 percent.

Two pass VBR: In this mode, Compressor reads through the entire source video file twice. In the first of these passes, Compressor analyzes the entire source video stream prior to transcoding it to determine the degree of encoding difficulty of each scene.

It then creates a bit-rate allocation plan that gives the higher bit rate to complex scenes and a lower bit rate to easy scenes, so as to average out to the specified average bit rate while ensuring that the specified maximum bit rate is not exceeded.

In the second pass, Compressor does the actual compression, creating the MPEG-2 output video file according to its bit-rate allocation plan. As with one-pass VBR, the goal of two-pass VBR is constant quality rather than constant bit rate. Unlike one-pass

VBR, two-pass VBR is able to establish an overview of where best to spend its bits across the entire source media file, before beginning the actual encoding. The result of this process is that transcoding time is almost twice that of one-pass VBR. Although the benefit is not twice the quality, two-pass VBR provides more consistent overall quality than one-pass VBR, especially in source media files where the difference between the most and the least complex scenes is substantial.

Two pass VBR Best: This mode devotes more effort to its internal decision-making process than does two-pass VBR. Encoding time for “Two pass VBR Best” is slower than it is for “Two pass VBR,” but it provides the best possible quality that the

Compressor MPEG-2 encoder has to offer. This mode provides outstanding quality at bit rates of 3–3.5 Mbps and above for standard definition (SD) video. See

Job

Segmenting and Two-Pass or Multi-Pass Encoding

for information about using the two-pass modes with job segmenting.

Average Bit Rate slider and field: Choose the average bit rate by dragging the slider or entering a number into the accompanying field. The range available to you depends on the Stream Usage setting. See

Stream Usage

for more information.

Chapter 18

Creating MPEG-2 Output Files

203

204

Note: The average bit-rate setting directly controls the size of the encoded file. The maximum bit-rate setting does not affect the encoded file’s size.

Maximum Bit Rate slider and field: Choose the maximum bit rate by dragging the slider or entering a number into the accompanying field. See

About Choosing the Bit Rates

for more information. The range available to you depends on the Stream Usage setting.

See

Stream Usage

for more information.

Note: This slider is only available with the VBR modes and cannot be set lower than the average bit rate.

Motion Estimation pop-up menu: This menu is another trade-off between image quality and processing time, especially if there is a lot of motion in the source file. The three options in this menu are described below.

Note: Choose a motion estimation mode from the Motion Estimation pop-up menu that is appropriate for the encoding mode you have selected from the five possibilities in the Mode pop-up menu. Use the Good motion estimation mode for one pass, the

Better mode for the “One pass VBR” and “Two pass VBR” modes, and the Best mode for “One pass VBR Best” and “Two pass VBR Best.” Any of the motion estimation modes work with any of the encoding modes, but these combinations are most suitable.

Good: The fastest motion estimation setting. This mode does well even with significant amounts of motion between frames, if the motion has minimal interfield motion within frames. For example, footage that has been exposed to frame-rate conversion or other effects processes tends to have little interfield motion. In general, use Good with the one-pass encoding mode.

Better: A good general-purpose motion estimation setting. The Better mode provides good results even with complex interlaced motion. Better works well for almost all types of interlaced video sources, even shaky footage from hand-held consumer camcorders. In general, use Better with “One pass VBR” and “Two pass VBR.” If you are using a progressive video format, the Better mode will do only frame-based motion estimation, and not field-based motion-vector searching, which is not relevant for progressive source. In this case the Better mode will run somewhat faster.

Best: This is the highest-quality motion estimation setting and should be used for the most demanding and complex motion for interlaced sources. It is slower than the Better mode. In general, use the Best mode to maximize quality when using “One pass VBR Best” or “Two pass VBR Best.”

GOP Tab

You use the GOP (group of pictures) tab to select a GOP format, structure, and size. It contains the following controls. See

Understanding GOPs and Frame Types

for more information.

Chapter 18

Creating MPEG-2 Output Files

Note: If you choose any of the HD video formats in the Video Format tab, the settings in the GOP tab cannot be changed and default to a closed IBBP GOP structure with a size of 12 (for PAL) or 15 (for NTSC).

GOP Structure pop-up menu: Choose an option from this pop-up menu to specify whether there will be two, one, or no B-frames between the reference frames within a GOP. GOP structure, along with GOP size, determines the number of I-frames, P-frames, and B-frames that are used within a GOP during encoding. Choose from one of the following:

Note: For most MPEG-2 encoding situations intended for use on a DVD, choose IBBP as the GOP structure setting, and GOP size 15 for NTSC, or GOP size 12 for PAL. These selections will give the best results in most situations. See

GOP Structure

for more information.

IP: No B-frames are used with this setting. Choose IP only if your media contains fast motion that does not encode with sufficient quality using an IBBP or IBP structure.

IBP: One B-frame is used between reference frames (I-frames and P-frames) with IBP.

Choose this setting only if your media contains fast motion that does not encode with sufficient quality using an IBBP structure.

IBBP: Use IBBP for the majority of MPEG-2 encoding situations, along with a GOP size of 15 for NTSC, or 12 for PAL. Two B-frames are used between reference frames with this setting.

Chapter 18

Creating MPEG-2 Output Files

205

Open and Closed buttons: Closed GOPs do not contain any frame that refers to a frame in the previous or next GOP, while open GOPs begin with one or more B-frames that reference the last P-frame of the previous GOP. Closed GOPs created by the Compressor

MPEG-2 encoder begin with an I-frame. Choose your GOP type (open or closed) based on whether and how you create chapter markers for DVD authoring with DVD Studio Pro,

and whether you intend to use multiple video angles in your title. See Open and Closed

GOPs

for more information.

Open: Select this button to create open GOPs.

Closed: Select this button to create closed GOPs.

GOP Size pop-up menu: Choose how many frames are contained within your GOP, following the format of the chosen GOP structure. The maximum GOP size you can choose within Compressor is 15 frames (NTSC) or 12 frames (PAL and 720p). The minimum GOP size for all video formats is 6 frames (closed GOP) or 7 frames (open

GOP). The relationship between GOP structure and GOP size gives you GOP patterns.

See

Understanding GOPs and Frame Types

and

GOP Size

for more information.

Pattern field: This field cannot be edited but displays the actual GOP pattern based on your chosen GOP structure and size.

206 Chapter 18

Creating MPEG-2 Output Files

Extras Tab

You use the Extras tab to control the inclusion or exclusion of specific MPEG-2 authoring information. The Extras tab contains the following controls.

Add DVD Studio Pro metadata: Selecting this checkbox allows Compressor to parse specific MPEG-2 authoring information during the transcoding process to accelerate the import process into DVD Studio Pro. However, these MPEG-2 files will be incompatible with versions of DVD Studio Pro 1.5 or earlier. Leaving the checkbox unselected means the information will be parsed later in DVD Studio Pro.

Note: MPEG-2 streams with additional DVD Studio Pro metadata are only compatible with DVD Studio Pro 2 (or later) versions. MPEG-2 streams with this checkbox selected will not be compatible with versions prior to DVD Studio Pro 2 or with other DVD authoring tools. All Apple settings have this box checked by default. To make your

MPEG-2 files compatible with other DVD authoring tools, deselect this checkbox, and then save the setting.

Include chapter markers only: Selecting this checkbox excludes unnamed compression markers from the stream but still retains the chapter markers. Leaving the checkbox unselected allows all markers to be recognized in the output media file. See

More About

GOPs and Markers

and

Adding Chapter or Podcast Markers to a Clip

for more information about chapter markers.

YUV 4:2:2 Color encoding (Not for DVD use): Select this checkbox to enable 4:2:2 color encoding. This option is supported in the creation of MPEG-2 elementary, program, and transport streams, but it is only available when the Stream Usage pop-up menu is set to Generic.

Multiplexed MPEG-1/Layer 2 Audio: Use this checkbox to create a multiplexed stream

(rather than an elementary stream). You can make the output file either a transport stream or a program stream. See

About Elementary, Transport, and Program Streams

for information on the differences between the different stream types.

The audio in this stream is MPEG-1 Layer 2, with a sample rate of 44.1 kHz or 48 kHz

(depending on the source) and a bit rate of 384 kbps. To create an audio-only

(MPEG-1/Layer 2 Audio) elementary stream, see Creating the MPEG-1 Audio for DVD

Setting

.

Chapter 18

Creating MPEG-2 Output Files

207

208

Important:

Generic is the only Stream Usage setting that supports transport and program streams. Selecting the Multiplexed MPEG-1/Layer 2 Audio checkbox sets your stream usage to Generic if it is currently anything else.

MPEG-2 Reference Information

The following sections contain useful information for creating MPEG-2 output media files.

About Choosing the Bit Rates

When determining average and maximum bit rates for standard DVD playback, remember to consider the bit rate of your audio track as well as the MPEG-2 bit rate.

You must keep the total of both average and maximum audio and video bit rates under

10.08 Mbps, the maximum guaranteed transfer rate from standard DVD players. Because

DVD-compatible audio formats are constant bit rate (CBR), there is no maximum audio bit rate to worry about.

For example, if you are using AIFF audio at 1.5 Mbps, you should keep both the average and maximum video bit rates under 8.5 Mbps. Typically, your average bit rate will be lower than this (for example, 3.5 Mbps for 2 hours of footage on your DVD). However, your maximum bit rate must also stay below this number. A maximum bit rate of 8.0 Mbps is recommended to provide an extra margin for error (for example, to accommodate subtitle streams). If you are using one of the DVD-compatible compressed audio formats such as Dolby Digital or MPEG-1/Layer-2, your audio bit rate may be as low as 0.2 to

0.4 Mbps, in which case you can set your maximum bit rate about 1 Mbps higher.

Also, as a general rule, set your maximum bit rate at least 1 Mbps higher than your average bit rate, to allow for bit-rate variability in achieving the goal of constant quality.

MPEG-2 Video Frame Sizes and Formats

Since MPEG-2 uses fixed video frame sizes, Compressor enters the output frame size in the fields in the Geometry pane based on your video format selection.

The video format you choose in the Video Format pop-up menu determines the options for the associated characteristics such as frame size and rate, aspect ratio, and field dominance. For more information, see

Video Format Tab

.

Video format

NTSC

PAL

720p

Frame size

(pixels)

720 x 480

720 x 576

1280 x 720

Frame rate (fps)

23.98 (progressive only), 29.97

25

Aspect ratio

4:3 or 16:9

4:3 or 16:9

23.98, 25, 29.97,

50, 59.94

16:9

Scanning method

Interlaced, progressive

Interlaced, progressive

Progressive

Chapter 18

Creating MPEG-2 Output Files

Video format

HD 1440 x 1080

HD 1920 x 1080

640 x 480 (1.33)

640 x 360 (1.78)

640 x 352 (1.82)

640 x 384 (1.67)

640 x 320 (2.00)

Frame size

(pixels)

1440 x 1080

1920 x 1080

640 x 480

640 x 360

640 x 352

640 x 384

640 x 320

Frame rate (fps)

23.98 (progressive only), 25, 29.97

23.98 (progressive only), 25, 29.97

23.98, 25, 29.97

Aspect ratio

16:9

16:9

4:3 or 16:9

23.98, 25, 29.97

23.98, 25, 29.97

23.98, 25, 29.97

23.98, 25, 29.97

4:3 or 16:9

4:3 or 16:9

4:3 or 16:9

4:3 or 16:9

Scanning method

Interlaced, progressive

Interlaced, progressive

Interlaced, progressive

Interlaced, progressive

Interlaced, progressive

Interlaced, progressive

Interlaced, progressive

Understanding GOPs and Frame Types

A major feature of MPEG-2 encoding is its ability to remove redundancy, not only within a frame, but also among a group of frames. MPEG-2 uses three frame types (I, P, and B) to represent the video. A group of pictures (GOP) setting defines the pattern of the three frame types used. These three picture types are defined in the following ways.

Intra (I): Also known as the key frame. Every GOP contains one I-frame. The I-frame is the only MPEG-2 frame type which can be fully decompressed without any reference to frames that precede or follow it. It is also the most data-heavy, requiring the most disk space. If you want to place an I-frame at a scene change or some other specific frame location, you need to manually set it using the Preview window. This is known as a forced I-frame. See

Adding Markers to a Clip

for more information.

Predicted (P): Encoded from a “predicted” picture based on the closest preceding I- or

P-frame. P-frames typically require much less disk space than do I-frames because they reference a preceding I- or P-frame in the GOP.

Note: Both I-frames and P-frames are also known as reference frames, because a B-frame may refer to either one or both frame types.

Bi-directional (B): Encoded from an interpolation of succeeding and preceding reference frames, either I-frame or P-frame. B-frames are the most storage-efficient MPEG-2 frame type, requiring the least amount of disk space.

The use of B- and P-frames is what allows MPEG-2 to remove temporal redundancy, contributing to its ability to compress video efficiently.

Chapter 18

Creating MPEG-2 Output Files

209

210

More About GOPs and Markers

Following is some additional information you may find useful when deciding how to configure your GOP settings and how the GOP settings affect DVD Studio Pro markers.

The following MPEG-2 markers can be found in a source media file:

Chapter markers: These identify frames that should be encoded as I-frames and are recognized as chapter markers when imported into DVD Studio Pro.

Forced compression markers: These are added by an editor during editing and identify frames in the video that should be forced to I-frames for better quality encoding, such as the first frame of a new scene. Forced compression markers are not recognized as chapter markers by DVD Studio Pro.

Automatic compression markers: These are inserted by Final Cut Pro at all edit points, forcing I-frames where scene changes are likely to occur. Automatic compression markers are not recognized as chapter markers by DVD Studio Pro. These will not be included if you select the “Include chapter markers only” checkbox.

If the “Include chapter markers only” checkbox is not selected, Compressor automatically places I-frames at all three kinds of markers. In most cases, this produces the best results.

However, if you intend to use the media files as part of a mixed-angle or multi-angle DVD title, all media files must have identical I-frame patterns.

Chapter markers set in Final Cut Pro and transcoded in Compressor, or set directly in

Compressor, will not be present in the imported MPEG-2 data in versions earlier than

DVD Studio Pro 2. However, I-frames will be set where chapter markers were named. If you are using a version earlier than DVD Studio Pro 2, you have two options: Final Cut Pro native projects or Compressor native projects.

Final Cut Pro Native Projects

You have the following three options for Final Cut Pro native projects.

Use Share to create DVD Output: You can use the Share feature in Final Cut Pro to create

MPEG-2 (.m2v) video and Dolby Digital Professional (.ac3) audio files and automatically burn them to a standard definition DVD disc.

Send to Compressor: If quality and transcoding controls are important to your project, use Compressor to export your MPEG-2 media file. You will save time, avoid generation loss, and still have access to the advanced controls in Compressor. The disadvantage of using this mode is that you cannot use Final Cut Pro during the export process.

Export a QuickTime Reference Movie and encode in standalone Compressor: You will not get quite the high quality that exporting directly to Compressor provides, but you will be able to continue editing in the Final Cut Pro Timeline while Compressor works in the background.

For more information about these three options, see the Final Cut Pro User Manual.

Chapter 18

Creating MPEG-2 Output Files

Compressor Native Projects

You can set chapter markers using the Compressor Preview window, but they will not be preserved when exported to versions earlier than DVD Studio Pro 2. I-frames will be preserved. If you are using a version prior to DVD Studio Pro 2, you can manually set the chapter markers directly in DVD Studio Pro.

Things to Consider When Choosing a GOP Setting

You need to consider the following factors when choosing a GOP setting.

GOP Structure

This setting specifies whether there will be two, one, or no B-frames between the reference frames within a GOP. GOP structure, along with GOP size, determines the number of I-,

P-, and B-frames that will be used during transcoding.

The GOP structure you choose depends on how far apart P-frames should be spaced.

Since a P-frame is predicted from the previous reference frame (either an I-frame or a

P-frame), if there are one or two B-frames in between, the prediction must cover the distance objects can move over the duration of two to three frames.

In principle, the less average motion there is from one frame to the next, the farther apart

P-frames can be spaced, and the greater the compression can be. For most video material, the IBBP structure is a good choice. Material with unusually fast motion throughout the entire sequence may benefit from an IBP or IP structure, but in such cases a relatively high bit rate (6 to 8 Mbps for SD video) may be required for good quality.

GOP Size

This setting specifies the number of frames within a GOP. Because exactly one I-frame exists per GOP, longer GOP sizes generally provide greater compression, because B- and

P-frames are smaller than I-frames.

For most media, spacing I-frames about 1/2 second apart gives good results. This equates to a GOP size of 15 frames for NTSC and 12 frames for PAL. The DVD-Video specification prohibits GOP lengths from being much longer than this. Generally, only material with scene changes occurring less than 1/2 second apart frequently throughout the video will benefit from shorter GOP sizes.

Chapter 18

Creating MPEG-2 Output Files

211

212

Open and Closed GOPs

Open GOPs are most efficient because they allow an extra B-frame in the GOP pattern.

Open GOPs start with a B-frame that is able to look at the last P-frame from the preceding

GOP as well as the first I-frame of its own GOP.

Open GOP

(IBBP, 15 frames)

P

:03

B B

:04 :05

I B B P B B P B B P B B P B B

:06 :07 :08 :09

I

:10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21

Closed GOP

(IBBP, 15 frames)

I B

:04 :05

B P B B P B

:06 :07 :08 :09

B P B B P B P

:10 :11 :12 :13 :14 :15 :16 :17 :18

By definition, closed GOPs cannot contain any frame that refers to a frame in the previous or next GOP. In contrast, open GOPs begin with one or more B-frames that reference the last P-frame of the previous GOP. Closed GOPs created by Compressor always begin with an I-frame.

Open GOPs generally provide slightly better compression than do closed GOPs of the same structure and size. The illustration above shows that a closed GOP contains one more P-frame than does an open GOP of the same length. Since P-frames generally require more bits than do B-frames, the open GOP achieves slightly better compression.

There are limitations to using open GOPs for DVD-Video discs that are created using a

DVD authoring application such as DVD Studio Pro. One limitation is that only closed

GOPs are permitted within MPEG-2 streams that will be used for mixed-angle or multi-angle

DVDs.

The other limitation is that DVD chapter markers can only be set at the beginning of a closed GOP. The best time to define chapter markers is before doing MPEG-2 transcoding.

For example, if you specify your chapter markers in Final Cut Pro, you can set Compressor to do MPEG-2 transcoding with open GOPs. Compressor will then force a closed GOP to begin only at the specified chapter markers and will make all other GOPs open. You can also accomplish this by specifying “forced I-frames” in the Compressor Preview window and giving them a chapter name to be used by DVD Studio Pro.

However, if you want to specify chapter markers at any GOP boundary after your video has been transcoded in the MPEG-2 format, you should use only closed GOPs. This freedom is limited, as it allows you to set chapter markers only at GOP boundaries, rather than at any video frame.

Chapter 18

Creating MPEG-2 Output Files

About 24p (23.98p)

For DVD authoring and encoding, 24p refers to a video sequence that contains 24 progressive (non-interlaced) frames per second, with NTSC-related standard definition frame dimensions (720 x 480 for MPEG-2). Film-based movies have a native frame rate of

24 fps, and because the MPEG-2 format is able to represent 24 fps video internally, many commercial movie DVDs are encoded in this way. But any time you use NTSC video in your project, the frame rate of film-transferred material will be slowed down from 24 fps to 23.976 fps (rounded to 23.98) and a 2:3:2:3 pull-down is added. So, the more accurate term is actually 23.98p.

Compressor can also do this for 24p source video files. For such material, the 23.98 frame rate option (in the Video Format tab) compresses each source frame one-for-one, without compressing repeated frames or fields in order to achieve a 29.97 fps display rate. This results in higher quality at a lower compressed bit rate than would be possible if the 24p material were converted to 29.97 fps prior to transcoding. Compressor also sets internal

MPEG-2 frame flags correctly, so DVD players will properly apply the 3:2 pull-down process for display on 29.97 fps interlaced NTSC TV sets.

Note: If your source video has a frame rate of 24.00 fps rather than 23.98 fps, Compressor skips one out of every 1000 source frames. If the 24p source video is 23.98 fps, Compressor transcodes all source frames, without skipping (or repeating) any of them.

MPEG-2 Transcoding Workflow

This section includes step-by-step instructions for setting your MPEG-2 attributes prior to creating MPEG-2 output files with Compressor. Make your MPEG-2 settings from the

MPEG-2 Encoder pane by either modifying an existing setting or creating a new one in the Settings tab.

See the following steps for working with the MPEG-2 output file format. For example values for each of these settings, see

Example MPEG-2 Settings

.

Stage 1: Choosing Video Format Settings

Stage 2: Choosing Quality Settings

Stage 3: Choosing GOP Settings

Stage 4: Choosing Extras Settings

Stage 1:

Choosing Video Format Settings

It’s important to match the video format, aspect ratio, and field dominance to those of your source media file. See

Video Format Tab

for a more detailed description of each of these settings.

Chapter 18

Creating MPEG-2 Output Files

213

214

Note: The easiest way to make sure you are matching the source media file is to activate the Automatic buttons. See

About the Automatic Settings

for more information.

To open the MPEG-2 Encoder pane and choose Video Format settings

1

Open the Settings tab, then choose MPEG-2 from the Add Preset (+) pop-up menu button.

The MPEG-2 Encoder pane opens in the Inspector window with the default Video Format tab displayed.

Choose the type of MPEG-2 stream to create.

Select the Automatic buttons to have the encoder match the source media file.

Manually configure these settings if you do not intend to match the source media file.

2

Choose the setting from the Stream Usage pop-up menu that matches how you intend to use the encoded video. This ensures that the MPEG-2 encoding options are restricted to those that are supported by your intended usage. The options include:

• Generic

• SD DVD

• Blu-ray

• HD DVD

3

Choose a format from the Video Format pop-up menu or select its Automatic button:

• NTSC (default)

• PAL

• 720p

• HD 1440x1080

• HD 1920x1080

• 640x480

Chapter 18

Creating MPEG-2 Output Files

• 640x360

• 640x352

• 640x384

• 640x320

4

Choose an aspect ratio from the Aspect Ratio pop-up menu or select its Automatic button.

You must determine whether the intended shape of your source video is 4:3 (normal) or

16:9 (widescreen) before you can choose your aspect ratio.

5

Choose a field dominance setting based on your source media type from the Field

Dominance pop-up menu. For example, for DV choose Bottom First. Or choose the Field

Dominance Automatic button to let Compressor determine the correct setting.

6

If you want to use the timecode from your source video, leave the “Choose start timecode” checkbox unselected. Otherwise, select this checkbox and enter a new timecode.

7

If you have selected the “Choose start timecode” checkbox, and if your video format is

NTSC, select the “drop frame” checkbox if you want to use drop frame (rather than non-drop frame) timecode.

See

Video Format Tab

for more information.

Stage 2:

Choosing Quality Settings

In the Quality tab, you set the MPEG-2 encoding attributes that have the greatest influence on the resulting quality of your MPEG-2 video output file: encoding mode, average and maximum bit rate, and type of motion estimation.

To open the Quality tab and choose the Quality settings

1

Click the Quality button in the MPEG-2 Encoder pane to open the Quality tab.

Choose a mode that fits your time and quality requirements.

Choose bit rates that fit your file size and quality requirements.

Choose a Motion

Estimation setting.

2

Make a selection from the Mode pop-up menu.

For best image quality, choose “One pass VBR Best” or “Two pass VBR Best.” For faster encoding, with excellent image quality, choose “One pass VBR” or “Two pass VBR.” For

HD sources, choose either “One pass VBR Best” or “Two pass VBR Best.”

Chapter 18

Creating MPEG-2 Output Files

215

216

With two-pass modes, the source media file is examined on the first pass and transcoded on the second pass, with bit rates tailored to the video content. Alternatively, one-pass modes transcode the material more quickly, but allocate bits less optimally than do the corresponding two-pass modes.

Note: If you are using two-pass VBR with distributed processing enabled, you may want to deselect the “Allow Job Segmenting” checkbox in the Encoder pane. See

Job

Segmenting and Two-Pass or Multi-Pass Encoding

for more information.

3

Choose an average bit rate using the Average Bit Rate slider or field.

Choose an appropriate bit rate based on the content and length of your source video and the intended size (in bytes) of your output file. In DVD authoring, the entire video must fit on the DVD disc—the lower the bit rate, the more data you can store. However, the higher the bit rate, the better the image quality will be.

As you change the Average Bit Rate value (with the slider or the field), the bit-rate calculator at the bottom of the Quality tab dynamically shows the maximum number of minutes of video on a DVD-5. The calculator assumes 1.5 Mbps for audio (two-channel

AIFF).

See the table below for some average bit rates and corresponding footage times for a

4.7 GB DVD.

4

If available, use the Maximum Bit Rate slider or field to set a maximum bit rate.

Because SD DVD players support peak bit rates of up to 10.08 Mbps for video plus audio, you should set the maximum video bit rate between 8.0 and 8.5 Mbps if you are using a

1.5 Mbps (two-channel AIFF) audio track.

Note: For best results, make sure the maximum bit rate is at least 1 Mbps higher than the average setting. Larger differences can produce better results.

5

Choose one of the following settings from the Motion Estimation pop-up menu:

Good: The fastest motion estimation setting—sufficient when there is relatively low motion between frames

Better: A good general-purpose motion estimation setting—provides very good results even in the presence of complex interlaced motion

Best: The highest quality setting to handle the most demanding and complex motion for interlaced sources—somewhat slower than the Better mode

See

Quality Tab

for more information.

The following table shows some average bit rates and corresponding footage times for a 4.7 GB DVD:

Average bit rate 1

3.5 Mbps

5.0 Mbps

Approximate duration for 4.7 GB DVD

121 minutes

94 minutes

Chapter 18

Creating MPEG-2 Output Files

Average bit rate 1

6.0 Mbps

7.5 Mbps

8.0 Mbps

Approximate duration for 4.7 GB DVD

82 minutes

68 minutes

65 minutes

1 For a DVD clip with video, audio, and subpictures: assumes 1.5 Mbps for audio (two-channel AIFF).

Note: When “One pass VBR or “One pass VBR Best” is chosen for very short clips (less than a minute or two in length), the resulting MPEG-2 output file size may not accurately reflect the average bit rate you specified. If the MPEG-2 output media file is larger than you want, you can try transcoding it again at a lower average bit rate.

Stage 3:

Choosing GOP Settings

Select a suitable GOP structure and size and decide whether you want the GOPs to be open or closed.

Note: These settings are not adjustable if you chose an HD video format in the Video

Format tab.

To open the GOP tab and choose GOP settings

1

Click the GOP button in the MPEG-2 Encoder pane to open the GOP tab.

Choose a GOP structure to control how many

B-frames are used.

Choose open or closed GOPs.

Choose a GOP size.

2

Choose a GOP structure from the GOP Structure pop-up menu.

For the majority of MPEG-2 encoding jobs for DVD authoring, choose the IBBP GOP structure.

3

Choose a GOP size from the GOP Size pop-up menu.

For the majority of MPEG-2 encoding jobs for DVD authoring, choose GOP size 15 for

NTSC and GOP size 12 for PAL and 24p.

The options available in this menu are determined by the GOP structure you choose and by whether or not the GOP is open or closed.

Chapter 18

Creating MPEG-2 Output Files

217

4

Decide whether you want the GOP pattern to be open or closed and click the appropriate button.

Working with MPEG-2 I-Frames

The Compressor Preview window offers additional MPEG-2 transcoding flexibility by allowing you to manually insert I-frames into your output MPEG-2 file at any frame location, regardless of your chosen GOP pattern and size. These are known as forced

I-frames, and may be useful for improving the quality of the MPEG-2 file in the vicinity of the scene change. See

Understanding GOPs and Frame Types

for more information on I-frames.

In addition, adding I-frames to your clip allows you to create chapter markers that

DVD Studio Pro can understand and use. See

Adding Markers to a Clip

and

Adding

Chapter or Podcast Markers to a Clip

for more information.

See

Understanding GOPs and Frame Types ,

Things to Consider When Choosing a GOP

Setting ,

More About GOPs and Markers

, and

GOP Tab

for more information about GOPs.

Stage 4:

Choosing Extras Settings

You can control the inclusion or exclusion of specific MPEG-2 authoring information in the Extras tab.

To open the Extras tab and choose Extras settings

1

Click the Extras button in the MPEG-2 Encoder pane to open the Extras tab.

218

2

Select the “Add DVD Studio Pro metadata” checkbox if you want Compressor to parse specific MPEG-2 authoring information rather than parse the information later in

DVD Studio Pro.

Important:

Selecting this checkbox may make your MPEG-2 files incompatible with any

DVD authoring tools other than DVD Studio Pro 2 (or later).

3

Select the “Include chapter markers only” checkbox if you want to exclude automatic compression markers from the stream but still retain the chapter markers.

Chapter 18

Creating MPEG-2 Output Files

4

Select the Multiplexed MPEG-1/layer 2 Audio checkbox only if you need to create transport or program streams. See

About Elementary, Transport, and Program Streams

for more information.

See

Extras Tab

and

More About GOPs and Markers

for more information about settings in the Extras tab.

Also, to make it easier to use the output files created by these presets in DVD Studio Pro, create a destination that ensures the video and audio output files have the same name,

only with different file extensions. See Creating Destinations for Use with DVD Studio Pro

for more information.

Example MPEG-2 Settings

The following MPEG-2 settings can be used for most general MPEG-2 encoding situations.

Open the MPEG-2 Encoder pane and click the appropriate buttons to access these tabs.

Note: Be aware that many of the settings shown in this example are not suitable for all video input formats, nor for all encoding situations. Some alternative settings are shown in parentheses where appropriate. See the sections at the beginning of this chapter for details on how and when to use other settings.

Video Format Tab

Video Format: NTSC (PAL, 720p, HD 1440x1080, HD 1920x1080, or one of the 640 width options)

Aspect Ratio: 4:3 (16:9 for anamorphic or HD widescreen)

Field Dominance: Automatic (not available for 720p)

Quality Tab

Mode: “One pass VBR Best” (other one-pass and two-pass settings)

Average Bit Rate: 5 Mbps (2 to 9 Mbps) for standard DVD or 18 Mbps for HD video formats (range varies)

Note: Your choice of bit rate may be influenced by several factors, including the complexity of your source video, the format and number of your audio streams, and the total duration of all video clips to fit on your DVD.

Maximum Bit Rate: 8.0 Mbps for standard DVD or 27 Mbps for HD video formats

Motion Estimation: Best

GOP Tab

GOP Structure: IBBP

GOP Size: 15 (12 for PAL and 50i, 50p, and 24p HD formats)

GOP Type: Open (Closed)

Chapter 18

Creating MPEG-2 Output Files

219

Note: Your choice of GOP type (Open or Closed) may be influenced by whether and how you create chapter markers for DVD authoring with DVD Studio Pro and whether

you intend to use multiple video angles in your title. See More About GOPs and Markers

and

Adding Chapter or Podcast Markers to a Clip

for more information.

220 Chapter 18

Creating MPEG-2 Output Files

Creating MPEG-4 Output Files

19

Compressor provides the tools you need to create exceptional MPEG-4 transcoded files.

MPEG-4 Part 2 (known as MPEG-4 video in QuickTime 6) plays an important role in the evolution of standards for the Internet and wireless multimedia industries, where it has been widely adopted.

Use MPEG-4 Part 2 anywhere you want to be compatible with MPEG-4 Part 2 devices or players, such as the millions of 3G mobile phones and digital still cameras that capture and play back MPEG-4 Part 2 video.

H.264, also known as MPEG-4 Part 10, is a newer technology than MPEG-4 Part 2, providing up to four times the frame size of video encoded with the MPEG-4 Part 2 codec at a given data rate. But, just as MPEG-1 and MPEG-2 are still used in the industry today, MPEG-4

Part 2 will continue to be used.

Note: MPEG-4 Part 2 is both a QuickTime codec (MPEG-4 Video) and an output format.

This chapter discusses MPEG-4 Part 2 as an output format.

This chapter covers the following:

About MPEG-4 Part 2

(p. 221)

About the MPEG-4 Part 2 Encoder Pane

(p. 222)

Using Default MPEG-4 Part 2 Settings

(p. 226)

Customizing MPEG-4 Part 2 Settings

(p. 227)

Audio Podcasting Workflow

(p. 230)

Adding Additional Settings and Presets

(p. 233)

About MPEG-4 Part 2

MPEG-4 Part 2 offers the following advantages.

Standards compliance: Output is with MPEG-4 Part 2 devices and other standards-based

(ISMA) players, such as mobile phones.

221

High-quality video: A versatile transcoder that can be set to a target data rate and—using one-pass variable bit rate (VBR)—can maximize the highest-quality output or speed for the fastest possible transcode.

Advanced Audio Coding (AAC): MPEG-4 audio accommodates a wide variety of source audio, and brings true variable bit rate (VBR) audio transcoding to QuickTime. It uses the Advanced Audio Coding (AAC) codec, which provides more clarity than MP3 audio at the same bit rate with smaller file sizes, or files of the same size at higher quality.

You can also include podcasting information, such as chapter and podcast markers with artwork and URLs, as well as a variety of text annotations.

Hinting for streaming: Hinting refers to how a video stream is divided into streamable pieces. To create streaming video, the streaming server needs some hints about what data to send out and when. These hints consist of defining a maximum packet size and maximum packet duration. A hint track contains information needed to stream your output file. A hint track is created for every streamable media track in the output file

(video and audio), and the streaming server uses the hint track to turn the media into real-time streams.

About the MPEG-4 Part 2 Encoder Pane

The MPEG-4 Part 2 Encoder pane allows you to select a variety of streaming types and options.

222

MPEG-4 Encoder Pane General Settings

The MPEG-4 Part 2 pane contains the following items:

File Extension field: Displays the MPEG-4 Part 2 file extension (.mp4) as soon as the

MPEG-4 output format is selected from the File Format pop-up menu or the (+) pop-up menu in the Settings tab.

Chapter 19

Creating MPEG-4 Output Files

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) Since the MPEG-4 Part 2 format uses single-pass VBR, you can leave this checkbox selected in all cases for added speed gains with distributed

processing. For more information, see Job Segmenting and Two-Pass or Multi-Pass

Encoding

.

Video, Audio, and Streaming buttons: These buttons open the Video, Audio, and

Streaming panes, described next.

Allow Podcasting information: Select this checkbox to ensure that podcasting annotations and metadata are written to the output media file. This is available for audio files only.

To make this option available, deselect the Video Enabled checkbox at the top of the

Video pane.

Video Pane

The Video pane allows you to make settings for the quality (ISMA profile), frames per second (fps) rate, key frame interval, and bit rate of your MPEG-4 Part 2 output file.

Either enter a number in the Bit Rate field or use the slider to set the bit rate (only available with

“Constant at” setting).

The pane contains the following controls.

Video Enabled checkbox: Make sure that this checkbox is selected if you want the MPEG-4

Part 2 output format video settings to be applied.

ISMA Profile buttons: Choose from one of the following MPEG-4 Part 2 quality settings:

Basic (0): Ensures playback on all MPEG-4 Part 2 devices.

Improved (1): Gives better output quality, but this setting is not compatible with older MPEG-4 Part 2 devices.

Frame Rate (fps) pop-up menu and field: Choose or enter a number to set the overall frame rate of your output media file.

“Key frame interval” field: Enter a value to designate how often (number of frames) you want key frames created in your output media file.

Chapter 19

Creating MPEG-4 Output Files

223

224

Bit Rate pop-up menu: Choose from one of the following bit rate settings. Whatever setting you choose, quality will vary from frame to frame to maintain the selected bit rate.

Constant at: Sets a manually specified bit rate based on your slider setting.

Low VBR: Sets an overall low quality for all frames.

Medium VBR: Sets an overall medium quality for all frames.

High VBR: Sets an overall high quality for all frames.

Bit Rate slider and field: (Available only with the “Constant at” setting.) Move the slider to set the overall video bit rate for your output media file between the range of 32 kbps and 2048 kbps, or enter a specific number in the accompanying field.

Audio Pane

You use the Audio pane to set the audio track quality, sample rate, quality, and bit rate of the MPEG-4 output file.

Sample Rate pop-up menu

Bit Rate slider

Use the following buttons and slider to make more detailed adjustments.

Audio Enabled checkbox: Make sure that this checkbox is selected if you want the MPEG-4

Part 2 output format audio settings to be applied.

Channels buttons: Choose the audio channel for your output media file to be either mono or stereo.

Mono: Choose this button for mono output.

Stereo: Choose this button for stereo output.

Sample Rate pop-up menu: Choose from one of the following sample rates: 8, 11.025,

12, 16, 22.05, 24, 32, 44.1, or 48 kHz. You can also choose Recommended to have

Compressor choose a sample rate that is suitable for the Channels and Bit Rate settings.

Note: If you choose Recommended, the sample rate is not determined until the transcode actually starts.

Chapter 19

Creating MPEG-4 Output Files

Quality pop-up menu: Choose one of the following for the audio quality of your output media file:

Low: This allows for fast transcoding, but it is at the expense of output file quality.

Medium: The audio quality is better than Low, but this takes longer to transcode.

High: This is the best audio quality setting available. Use this setting when the audio quality is important for the output media file and you don’t mind how long it takes to transcode.

Bit Rate slider and field: Move the slider to set the overall audio bit rate for your output media file between the range of 16 kbps (2 KB/sec.) and 256 kbps (32 KB/sec.), or enter a specific number into the accompanying field.

Streaming Pane

You use the Streaming pane to set hints for your output file, as well as set the maximum packet size and packet duration limits of the MPEG-4 Part 2 output file. You can also set your output media file to work with an older version of QuickTime Streaming Server

(version 4.1 or earlier).

The Streaming pane contains the following controls.

“Streaming hints enabled” checkbox: Make sure that this checkbox is selected if you want the MPEG-4 Part 2 output format streaming settings to be applied.

“QuickTime Streaming Server Compatibility (pre v4.1)” checkbox: Select this checkbox if you want your output media file to work with an older QuickTime Streaming Server

(version 4.1 or earlier). You don’t need to select this checkbox if you are using a newer version of QuickTime, because any streaming compatibility issues are automatically resolved.

Packet Maximum Size field: Enter a number to specify the largest file size allowable (in bytes) for a streaming packet in your output media file. The packet size you choose should be no larger than the largest packet used on any network between the streaming server and the viewer.

Chapter 19

Creating MPEG-4 Output Files

225

Packet Maximum Duration field: Enter a number to specify the longest duration allowable

(in milliseconds) for a streaming packet in your output media file. The duration affects

MPEG-4 Part 2 audio only. It limits the maximum amount of audio (in milliseconds) in any packet, which limits the audio dropout created by the loss of a packet.

Using Default MPEG-4 Part 2 Settings

If you don’t need to customize the video and audio settings of your MPEG-4 Part 2 file, you can use the “quick-and-easy” method to transcode your source media files. This consists of accepting the default MPEG-4 Part 2 output format settings.

Default Video Pane Settings

These are the default video settings for MPEG-4 Part 2 output media files.

Video Enabled checkbox: Selected

ISMA Profile: Basic

Frame Rate: 15 fps

Key frame interval: 15 frames

Bit Rate: 368 kbps

226

See

Video Pane

for more information.

Default Audio Pane Settings

These are the default audio settings for MPEG-4 Part 2 output media files.

Audio Enabled checkbox: Selected

Channels: Stereo

Sample Rate: 44.1 kHz

Quality: High

Chapter 19

Creating MPEG-4 Output Files

Bit Rate: 64 kbps

See

Audio Pane

for more information.

Default Streaming Pane Settings

These are the default streaming settings for MPEG-4 Part 2 output media files.

“Streaming hints enabled” checkbox: Selected

Packet Maximum Size: 1,450 bytes

Packet Maximum Duration: 100 milliseconds

See

Streaming Pane

for more information.

If these settings are acceptable to you, there is nothing further that you need to do, and you can begin transcoding source media files immediately.

Customizing MPEG-4 Part 2 Settings

If you want to customize your MPEG-4 Part 2 file format settings, you need to perform a more detailed transcoding workflow than the one described above.

Stage 1: Customizing MPEG-4 Video Settings

Stage 2: Customizing MPEG-4 Audio Settings

Chapter 19

Creating MPEG-4 Output Files

227

Stage 3: Editing MPEG-4 Streaming Settings

Stage 1:

Customizing MPEG-4 Video Settings

You adjust MPEG-4 video settings in the MPEG-4 Encoder pane.

To open the MPEG-4 Encoder pane and adjust the MPEG-4 video settings

1

In the Inspector window, click the Encoder pane and choose MPEG-4 from the File Format pop-up menu.

The MPEG-4 Encoder pane opens, displaying mp4 in the File Extension field, and the default Video pane.

Either enter a number in the Bit Rate field or use the slider to set the bit rate.

2

Adjust the MPEG-4 video settings using the available controls.

Note: Make sure the Video Enabled checkbox is selected.

See

Video Pane

for details about MPEG-4 Part 2 video settings.

If you don’t want to edit any other attributes, your MPEG-4 setting can be assigned to any source media file in the usual way. See

Preparing Compressor for Transcoding with

Custom Settings

for more information. Otherwise, go to the next stage to edit MPEG-4 audio settings.

Stage 2:

Customizing MPEG-4 Audio Settings

You adjust the MPEG-4 audio settings in the Audio pane.

228 Chapter 19

Creating MPEG-4 Output Files

To open the Audio pane and adjust the MPEG-4 audio settings

1

Click the Audio button to open the Audio pane.

Either enter a number in the Bit Rate field or use the slider to set the bit rate.

2

Adjust the MPEG-4 audio settings using the available controls.

Note: Make sure that the Audio Enabled checkbox is selected.

See

Audio Pane

for details about MPEG-4 Part 2 audio settings.

If you don’t want to edit any other attributes, your MPEG-4 setting can be assigned to any source media file in the usual way. See

Preparing Compressor for Transcoding with

Custom Settings

for more information. Otherwise, go to the next stage to edit streaming settings.

Stage 3:

Editing MPEG-4 Streaming Settings

You edit MPEG-4 streaming settings in the Streaming pane.

To open the Streaming pane and edit the streaming settings

1

Click the Streaming button to open the Streaming pane.

2

Select the “QuickTime Streaming Server Compatibility (pre v4.1)” checkbox if your intended distribution method is via a QuickTime Streaming Server earlier than version 4.1.

3

Enter new numbers into the Size and Duration fields for Packet Maximum, and make sure that the “Streaming hints enabled” checkbox is selected.

4

See

Streaming Pane

for details about MPEG-4 Part 2 streaming settings.

Chapter 19

Creating MPEG-4 Output Files

229

Audio Podcasting Workflow

Compressor makes it easy to create an enhanced audio podcast based on the MPEG-4 output format. An enhanced audio podcast includes podcasting information such as chapter and podcast markers with artwork and URLs, as well as a variety of text annotations. Follow the instructions below to create an audio podcast.

Stage 1: Configuring the MPEG-4 Output for Audio-Only Output

Stage 2: Including Podcasting Information

Stage 3: Applying the Setting to a Source Media File’s Target

Stage 4: Entering Annotations for the Output Media File

Stage 5: Creating and Configuring Markers for the Output Media File

Stage 6: Submitting the Job and Verifying the Output Media File

Stage 1:

Configuring the MPEG-4 Output for Audio-Only Output

Follow the steps below to configure MPEG-4 settings for audio-only output (such as podcasts).

To open the MPEG-4 Encoder pane and configure it for audio-only output media files

1

In the Inspector window, click the Encoder pane and choose MPEG-4 from the File Format pop-up menu.

2

Click the Video button to open the Video pane.

3

Deselect the Video Enabled checkbox.

4

Click the Audio button to open the Audio pane.

5

Select the Audio Enabled checkbox.

This configures the MPEG-4 output to be an audio-only (.m4a) file. You can also configure the other settings in the Audio pane as needed.

Stage 2:

Including Podcasting Information

Follow the steps below to include podcasting information.

230 Chapter 19

Creating MPEG-4 Output Files

To configure the MPEG-4 output to include podcasting information

1

Select the “Allow Podcasting information” checkbox at the bottom of the Inspector window.

Deselect this checkbox to activate the “Allow

Podcasting information” checkbox.

Select this checkbox to include podcasting information in the output media file.

This checkbox is available only when you have deselected Video Enabled in the Video pane. Selecting this checkbox ensures that any annotations you add, as well as any chapter and podcast markers with their artwork and URLs, are embedded with the output media file.

2

Save the setting so that you can apply it to a source media file’s target.

Stage 3:

Applying the Setting to a Source Media File’s Target

You must apply the setting to a source media file’s target to be able to configure the podcasting information that this setting allows you to add to the output media file. See

Assigning Settings to Source Media Files

for more information.

Stage 4:

Entering Annotations for the Output Media File

You have the option of adding annotations (such as producer credits, keywords, and copyright information).

To open the Additional Information tab and enter annotations

1

Click a non-target area of the job created by the source media file.

The Inspector window shows the A/V Attributes, Additional Information, and Job Action tabs.

2

Click the Additional Information tab.

Chapter 19

Creating MPEG-4 Output Files

231

3

The Additional Information tab is where you can add annotations, such as a title and artist, to the output media file.

232

Choose items from this pop-up menu to include them as annotations in the output media file.

4

Choose an item from the Add Annotation pop-up menu to add it to the output media file.

The item appears in the Annotation column.

5

Double-click the item’s Value column to type in the text annotation.

6

Repeat this for each annotation item you want to add to the output media file.

See

Using the Inspector with Source Media Files

for more information.

While you have the job selected, you can optionally use the Job Action tab to have the output media file automatically added to a playlist in the iTunes library. For more information, see

Adding Actions

and

About Job Actions

.

Stage 5:

Creating and Configuring Markers for the Output Media File

You can use the Preview window to add and configure chapter and podcast markers for the output media file. You can manually add the markers or import a chapter marker list.

Each chapter and podcast marker can be named, have a URL added to it, and have a still image added as its artwork.

When played, the artwork displays along with the URL (which the viewer can click to open a web browser to show).

See

Adding Markers to a Clip

for details on adding and configuring markers in the Preview window.

Chapter 19

Creating MPEG-4 Output Files

Stage 6:

Submitting the Job and Verifying the Output Media File

Once you have added the annotations and markers to the job, you can submit it to create the output media file.

After the encoding process finishes, you can open the output media file in

QuickTime Player to verify that the markers, URLs, and artwork appear as intended.

Adding Additional Settings and Presets

Although the output format setting is the most important component of the Compressor workflow, you can also add other settings and presets, such as filters, cropping, frame sizing, actions, and destinations. For further instructions on how to add these settings, see the following:

Adding Filters to a Setting

Working with Frame Controls

Adding Geometry Settings

Adding Actions

Creating and Changing Destinations

Chapter 19

Creating MPEG-4 Output Files

233

Creating QuickTime Movie Output

Files

20

Compressor provides the tools you need to create QuickTime media files.

QuickTime is cross-platform multimedia technology and allows Mac OS applications to capture and play back video, audio, and still-image files. QuickTime supports a wide variety of codecs and can also be extended to accommodate additional codec options

and third-party codecs. See Creating QuickTime Export Component Output Files

for more information about additional QuickTime export options.

This chapter covers the following:

Creating QuickTime Output Files

(p. 235)

About the QuickTime Movie Encoder Pane

(p. 236)

QuickTime Transcoding Workflow

(p. 242)

Understanding Codecs

(p. 246)

QuickTime Video Codecs

(p. 246)

QuickTime Audio Codecs

(p. 247)

Creating QuickTime Output Files

QuickTime is an open standard with many built-in codecs and is both a multimedia and streaming media architecture. It is widely used for both authoring and delivery. For example, many video editing and compositing applications use QuickTime as their base format. QuickTime contains a wide range of video and audio codecs suitable for everything from streaming video to DVD. The QuickTime architecture can also handle file formats other than QuickTime movies, such as AVI files and 3G streams. For more information on creating those kinds of formats, see

Creating QuickTime Export Component Files .

235

236

QuickTime Media Files for the Web

You can play your output media files over the web with QuickTime, once they are compressed to a data rate appropriate for the bandwidth you expect the users to have.

You can do this by making your output media files either QuickTime Fast Start movies

(pre-buffered download) or QuickTime Streaming movies.

Compressor allows you to choose different streaming options via the Streaming pop-up menu in the QuickTime Encoder pane. See the Streaming pop-up menu item for more information about streaming QuickTime media files over the web.

About the QuickTime Movie Encoder Pane

The following options appear when you choose QuickTime Movie from the File Format pop-up menu:

File Extension field

Streaming pop-up menu

Clean aperture selection

Summary table

Options button (dimmed unless Hinted Streaming is selected)

QuickTime Movie Encoder Pane Basic Settings

Use these basic options to control the more specific QuickTime movie settings, below.

File Extension field: This field displays the QuickTime file extension (.mov) automatically after the QuickTime output format is selected from the File Format pop-up menu or the (+) pop-up menu in the Settings tab.

Chapter 20

Creating QuickTime Movie Output Files

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Video Settings and Audio Settings: These buttons open the QuickTime Compression

Settings and Sound Settings dialogs. Use these dialogs to select suitable codecs and change other video or audio compression settings. See

About the Sound Settings Dialog

and

About the Compression Settings Dialog

for more information on these dialogs.

Enabled/Disabled/Pass-through: Use these pop-up menus to enable or disable Video and Audio settings. Enabled means the video or audio track will be included in the output movie. Disabled means the video or audio track will be excluded from the output movie. Pass-through (audio only) means Compressor will copy the audio into the output movie without modifying it. An example of this might involve HD (high definition) files with multitrack audio that you want to convert to SD (standard definition) files without disturbing the audio tracks.

Note: If you export a sequence from Final Cut Pro to Compressor (File > Export > Using

Compressor) and apply a setting with “Pass-through” selected, the audio portion of the setting will change to a PCM setting with the sequence’s setting and channel count, but with only a single track created on output. If you require audio passthrough for a

Final Cut Pro sequence, export a QuickTime movie (File > Export > QuickTime Movie) and then import the movie into Compressor.

Important:

If a setting has “Pass-through” selected, the Filter pane audio filters are not available. Additionally, the Frame Controls pane retiming controls will not correct the audio, potentially causing synchronization errors with the video.

Streaming: Choose a QuickTime streaming option from this pop-up menu.

None: If you choose this setting (the default), your output media file will not stream over the Internet.

Fast Start: This option allows your output media file to be viewed even before it is fully downloaded from its server.

Fast Start-Compressed Header: This setting achieves the same results as Fast Start

(allowing your output media file to be viewed before it is fully downloaded from the server), but the output media files are smaller.

Hinted Streaming: This setting allows hint tracks to be added to the output media file so that it can be used with a QuickTime Streaming Server.

Options button: This button remains dimmed unless Hinted Streaming is selected from the Streaming pop-up menu. Clicking this button opens the QuickTime Hint Exporter

Settings dialog, which allows you to choose extra hinting settings for your stream.

Chapter 20

Creating QuickTime Movie Output Files

237

238

“Add clean aperture information” checkbox: This checkbox (selected by default) allows you to choose whether to add information that defines clean picture edges to the output file.

Note: This checkbox does not affect the actual pixels in the output file—it only controls whether information is added to the file that a player can use to hide the edges of the picture.

If the checkbox is selected: Information is added to the output file that defines how many pixels to hide to ensure that no undesirable artifacts appear along the edges.

When the output file is played using QuickTime Player, this setting can result in the pixel aspect ratio being slightly altered.

If the checkbox is not selected: No clean aperture information is added to the output file. This was the standard behavior in Compressor 3.0.5 and earlier.

Summary table: Displays full details for this setting.

QuickTime Video and Audio Settings

The QuickTime Video and Audio Settings buttons appear in the Encoder pane if you selected QuickTime Movie as the output file format. (The Audio Settings button also appears if you choose AIFF from the File Format pop-up menu.) You use these buttons to open the Compression Settings and Sound Settings dialogs, where you can modify whichever video or audio codec you want to add to the selected setting in the Settings tab.

By default, both the Video and Audio Settings buttons are enabled, but you can disable one or the other by deselecting the appropriate checkbox.

Video Codec Settings

The QuickTime Video Settings button provides access to the currently installed QuickTime video codecs.

For information on how to customize video codec settings, see

Stage 2: Adding a

QuickTime Video Codec

.

All codecs are compatible with QuickTime, but if you intend to play back the output file using QuickTime Player, the following delivery codecs are recommended:

• H.264

• Photo-JPEG

Audio Codec Settings

The QuickTime Audio Settings button provides access to the currently installed QuickTime audio codecs.

For information on how to customize audio codec settings, see

Stage 3: Adding a

QuickTime Audio Codec

.

Chapter 20

Creating QuickTime Movie Output Files

All codecs are compatible with QuickTime, but if you intend to play back the output media file using QuickTime Player, the following delivery codecs are recommended:

• AAC

• IMA 4:1

See

QuickTime Audio Codecs

for more information about audio codecs.

Chapter and Podcast Markers for QuickTime Output

Chapter markers created in Final Cut Pro are passed through (transferred) to other output files that can be recognized by QuickTime Player, iTunes (.m4v files), Final Cut Pro, and

DVD Studio Pro. For information about adding chapter and podcast markers, see Adding

Markers to a Clip

.

About the Compression Settings Dialog

You use the Compression Settings dialog to change your video codec settings for the

QuickTime output format. To open the Compression Settings dialog, click the Video

Settings button in the QuickTime Encoder pane.

If a particular setting can’t be changed, it remains dimmed. Some video codecs—such as Apple ProRes 422 and Photo-JPEG—allow you to make additional settings. If this is the case, the Options button becomes available. Click it to make additional settings.

Choose a frame rate from this pop-up menu.

Select a compression type from this pop-up menu.

Click the Options button for more configuration settings.

Chapter 20

Creating QuickTime Movie Output Files

239

240

The Compression Settings dialog contains the following items, depending on which codec you choose in the Compression Type pop-up menu.

Compression Type: Use this pop-up menu to choose the video codec you want to add to your preset.

Frame Rate: With this pop-up menu, you can reduce the frame rate of your original file to reduce the size of the compressed file. Higher frame rates make for smoother motion but require more bandwidth. You use the Frame Rate pop-up menu to choose a different frame rate, but for best results you should change it to a number that the original file can be easily divided by. For example, if your original file had a frame rate of 30 fps, you should use a frame rate of 10 fps or 15 fps. Choosing a frame rate of something like 24 fps would result in uneven motion and even dropped frames, because 30 is not evenly divisible by 24. Choose from the following settings: 8, 10, 12, 15, 23.98, 24, 25,

29.97, 30, 59.94, 60 fps, or choose Custom to enter a number manually.

Key Frames: If your selected codec allows it, use the Key Frames Every field to enter the number of frames you want between your key frames. Codecs based on the temporal compression method use key frames. These act as a reference frame for the next sequence of frames, so that any data redundancy between the key frame and the ensuing frames can be removed. In between key frames are the less detailed delta

frames. You need to insert key frames throughout your media file because content changes. Some video codecs allow you to insert a key frame every certain number of frames, while other video codecs use natural key frames by scanning the whole file to detect where the major similarities and differences occur and inserting the key frames accordingly.

If there’s a lot of motion in your media file, you need key frames more often than you do with something more static, such as a talking head sequence.

Depth pop-up menu: You use the Depth pop-up menu to define the color setting. For example, if a QuickTime movie were composed of millions or thousands of colors and the playback computer only showed 256 colors, you would use this setting to resolve this color depth discrepancy.

The contents of this pop-up menu change depending on the video codec selected in the Compression type pop-up menu. For example, if you choose the PNG codec, you can make a selection ranging from Grays to Millions of Colors+, while the Photo-JPEG codec only allows you to choose between Color and Grayscale.

Quality slider: Use this slider to make general setting changes to the overall image quality of your processed file. Quality is a subjective setting that trades image quality for bandwidth and gives the entire media file the same quality. Lower quality means that the finished file requires less bandwidth and streams faster. Available settings are

Least, Low, Medium, High, and Best. You can also drag the slider between any of these settings to obtain a more specific rate (displayed numerically).

Chapter 20

Creating QuickTime Movie Output Files

Options button: This button remains dimmed unless the codec you selected from the

Compression type pop-up menu offers options. It is recommended that you contact the manufacturers of these codecs directly for more information about the additional options they offer.

Data Rate: Use this field to set the number of kilobytes per second (KB/sec.) required to deliver your media file. This setting is useful if you have a specific bit rate (such as a

DSL connection) or amount of space (on a DVD or CD-ROM). You should choose a data rate that is appropriate for your delivery medium and set it as high as possible within your data limitations. When you set a data rate, you override other codec quality settings because the codec compresses the file as much as it needs to based on its data rate limit.

Remember that the data rate is only for the video track of a media file. If your media file also contains audio, you must allow some space for that too.

About the Sound Settings Dialog

You use the Sound Settings dialog to change your audio compression settings for either the QuickTime or AIFF output format. To open this dialog, click the Audio Settings button in the QuickTime Movie or AIFF Encoder pane.

If a particular audio setting cannot be changed, it remains dimmed. Most audio codecs allow you to make additional settings. If this is the case, various buttons and controls become available. Click them to make additional settings.

Show Advanced Settings checkbox

Format pop-up menu

Rate field and pop-up menu

The Sound Settings dialog contains the following items, with various choices for each, depending on the audio codec you choose in the Format pop-up menu.

Format: Choose the audio codec you want to add to your setting.

Chapter 20

Creating QuickTime Movie Output Files

241

242

Channels: Choose the type of channel output, such as mono, stereo, or some type of multichannel output, depending on the codec.

Rate: Choose the sample rate you want to use for your media file. The higher the sample rate, the higher the audio quality, but the larger the file. Downloading a larger file takes longer and requires more bandwidth.

Options: This checkbox remains dimmed unless the codec you selected from the Format pop-up menu offers options. It is recommended that you contact the manufacturers of these codecs directly for more information about the additional options they offer.

QuickTime Audio Sample Sizes and Rates

If you have the disk space and bandwidth, it is best to leave your audio uncompressed.

Uncompressed audio normally uses 8-bit (phone quality) or 16-bit (CD quality) samples.

Compressor supports up to 64 bits per sample floating point and a maximum sample rate of 192 kHz.

Choosing an Audio Codec

AAC is a good general-purpose audio delivery codec and it is compatible with a wide variety of playback devices. For QuickTime movies playing on slower computers, IMA is a better choice because it is less computer intensive, thus allowing the computer to focus on the more challenging video stream. See

QuickTime Audio Codecs

for more information about audio codecs.

QuickTime Transcoding Workflow

The following sections outline the transcoding process required to create QuickTime output media files.

Stage 1: Opening the QuickTime Encoder Pane

Stage 2: Adding a QuickTime Video Codec

Stage 3: Adding a QuickTime Audio Codec

Stage 1:

Opening the QuickTime Encoder Pane

There are many QuickTime video and audio codecs that you can choose from in

Compressor. You access all codecs via the Compression Settings and Sound Settings dialogs, opened from the QuickTime Encoder pane by clicking the Video Settings and

Audio Settings buttons.

To confirm or create a QuickTime Movie setting

1

In the Settings tab, do one of the following:

• Make sure that the correct setting is selected.

Chapter 20

Creating QuickTime Movie Output Files

• Create a new setting by choosing QuickTime Movie from the “Create a new setting”

(+) pop-up menu.

2

Open the Encoder pane in the Inspector window.

The default QuickTime Encoder pane appears, containing the Video and Audio Settings buttons, Enable pop-up menus, the Streaming pop-up menu, the Options button

(dimmed), and the Summary table. See

About the QuickTime Movie Encoder Pane

for more information.

Note: Make sure that the Enable pop-up menus next to the Settings buttons are set to

Enable if you want those settings included in the transcoding.

Stage 2:

Adding a QuickTime Video Codec

To add a QuickTime video codec to your setting, you need to open the Compression

Settings dialog and choose a video codec from the Compression Type pop-up menu.

Note: If you don’t intend to use any video settings, deselect the Enable checkbox next to the Video Settings button.

To open the QuickTime Encoder pane and apply a video codec

1

Click the Video Settings button in the QuickTime Encoder pane.

Chapter 20

Creating QuickTime Movie Output Files

243

The Compression Settings dialog opens.

Choose a video codec from the Compression

Type pop-up menu.

2

Choose a video codec from the Compression Type pop-up menu and either accept its defaults or customize the other settings (Motion, Encoding Mode, Quality, Depth, and

Options, if available). See any of the following for more information about video codecs:

Video Codec Settings

About the Compression Settings Dialog

QuickTime Video Codecs

Note: You can see the current contents of your setting by viewing the Summary table.

3

Click OK to save changes and close this dialog.

Stage 3:

Adding a QuickTime Audio Codec

If you want to add an audio codec to your setting, you need to open the Sound Settings dialog and choose your audio codec settings from there.

Note: If you don’t intend to use any audio settings, deselect the Enable checkbox next to the Audio Settings button.

To open the QuickTime Encoder pane and apply an audio codec

1

Click the Audio Settings button in the QuickTime Encoder pane.

244 Chapter 20

Creating QuickTime Movie Output Files

The Sound Settings dialog opens.

Choose an audio codec from the Format pop-up menu.

2

Choose an audio codec from the Format pop-up menu and either accept its defaults or customize the other audio codec settings (Format, Channels, Rate, and Options, if available).

See any of the following for more information about audio codecs:

Audio Codec Settings

About the Sound Settings Dialog

QuickTime Audio Codecs

Note: You can see full details of the current contents of your setting by viewing the

Summary table.

3

Click OK to save your settings and close this dialog.

Adding Additional Settings and Presets

Although the output format setting is the most important component of the Compressor workflow, you can also add other settings and presets, such as filters, cropping, frame sizing, actions, and destinations. For further instructions on how to add these settings, see the following:

Adding Filters to a Setting

Working with Frame Controls

Adding Geometry Settings

Adding Actions

Creating and Changing Destinations

Chapter 20

Creating QuickTime Movie Output Files

245

246

Understanding Codecs

Codec stands for compressor (CO)/decompressor (DEC) pairs. You use different codecs for different playback methods (such as the web or DVD). Once you know the playback method of your target audience, you can pick a suitable codec. To decide which codec is right for your needs, you must choose the necessary level of compression to meet your data rate limits and the level of quality you want.

The following sections discuss issues to be aware of when selecting a video or audio codec.

QuickTime Video Codecs

Each codec offers advantages and disadvantages. Some are more appropriate for storing certain types of media; others introduce more artifacts. Some compress slowly and decompress quickly, while others compress and decompress at the same speed. Some codecs can compress a file to 1/100 of its original size, while others decrease the file size very little. Some codecs are available only on specific operating system platforms, some require a particular processor, and some require a minimum version of QuickTime for playback.

When choosing a codec you should consider the following:

• Minimum system requirements of your target audience

• Source material

• Quality of the compressed media file

• Size of the compressed media file

• Compression/decompression time for the media file

• If the media file will be streamed

Compressor comes equipped with the standard video codecs that QuickTime offers and the additional codec options that come with QuickTime Pro. Unless you know that people in your target audience have a particular codec installed on their computers, you should use one of the standard QuickTime codecs to ensure universal conformity.

Note: See the relevant QuickTime documentation for more information about choosing video codecs and how to get the best out of the video codec settings.

Video codecs can be divided into the following two types:

Lossless codecs: Lossless codecs completely preserve the data they compress and are usually used to transfer footage from one editing suite to another. Lossless codecs can require high data rates and high-end computers with specialized hardware. Examples of lossless codecs are the Animation, 8-bit, and 10-bit uncompressed 4:2:2 codecs.

Chapter 20

Creating QuickTime Movie Output Files

Lossy codecs: In comparison to lossless codecs, lossy codecs return only an approximation of the data and are usually used to deliver finalized video to an end user. The level of approximation is determined by the quality of the codec. Typically there is a tradeoff between the output quality of the codec and its achievable level of compression. With some codecs, a compression ratio of at least 5:1 can be reached without visible degradation. An example of a lossy codec is the Photo-JPEG codec.

Low-quality lossy compression introduces unnatural visual artifacts that may become noticeable to the human eye. Using a lossy codec, you should compress your media file only once, because compressing a file multiple times adds more artifacts.

QuickTime Audio Codecs

If you have the disk space and bandwidth, the best thing you can do is leave your audio uncompressed. Uncompressed audio normally uses 8-bit (phone quality) or 16-bit (CD quality) samples. (Compressor supports up to 64 bits per sample floating point and a maximum sample rate of 192 kHz.) If you have disk space and bandwidth limitations, you must compress your audio. However, audio takes up less disk space than video, so it doesn’t need to be compressed as much as video.

The two most important components of audio codecs are sample rates and size. The sample rate sets the sound quality, and sample size sets the dynamic range of the sound.

QuickTime audio codecs allow you to set both the sample rate and size of your source media file.

Sound Sample Rates

Digitized sound consists of sound samples captured at different frequency rates. The more sound samples per second, the higher the sound quality. For example, audio CDs use a 44.1 kHz sample rate, DVDs sample at 48 kHz, and telephone networks sample voices at 8 kHz. The sample rate you choose depends on the nature of the sound. Music requires a higher sample rate than voice, because music contains a wider range of frequencies. Spoken voice has a more limited range of frequencies, so you can choose a lower sample rate and still maintain acceptable audio quality. In most cases, you should choose the highest sample rate available.

Reducing the sample rate can shrink a media file by as much as 5:1. The audio quality will be affected, but not as much as it would be if you used 8-bit sampling. The following table shows common sample rates and the audio device quality to expect at each rate:

Sample rate

48 kHz

44 kHz

22 kHz

8 kHz

Audio device quality

DAT/DV/DVD

CD

FM radio

Telephone

Chapter 20

Creating QuickTime Movie Output Files

247

Sound Sample Size

The sound sample size determines the dynamic range of the sound. 8-bit sound provides for 256 possible values, whereas 16-bit sound allows for more than 65,000 possible values.

Choose 16-bit sound for music that has both soft and loud sections, such as orchestral music. For spoken voice or music that has a more or less constant volume level, choosing

8-bit sound can still yield good results.

If you need to shrink your media file, you can reduce the sample size from 16 bits to 8 bits.

This cuts the file size in half but also degrades the audio quality.

248 Chapter 20

Creating QuickTime Movie Output Files

Creating QuickTime Export

Component Files

21

You can use Compressor to output a variety of additional formats using the QuickTime component plug-in feature.

This chapter discusses how to take advantage of the QuickTime component plug-in feature, which opens up a wide variety of additional file formats that Compressor can output from your source media files.

This chapter covers the following:

Creating QuickTime Export Component Output Files

(p. 249)

Installing QuickTime Export Component Plug-ins

(p. 250)

About the iPod Plug-in

(p. 250)

About the QuickTime Export Components Encoder Pane

(p. 251)

Configuring Export Components Settings

(p. 251)

Creating QuickTime Export Component Output Files

Compressor and QuickTime can be extended to support additional codec options and third-party formats. This section focuses on the QuickTime component plug-in feature, which allows you to export exotic file formats that can play on third-party devices and operating systems, such as mobile phones. Unlike standard QuickTime movies, these exported files cannot be played back with QuickTime Player or other QuickTime-based applications. (For information on the native QuickTime movie file format, see

Creating

QuickTime Movie Output Files .)

In the past, creating these kinds of files required multiple steps and multiple operating systems: exporting the file, moving it to a computer on another platform, and then encoding using another software application. The QuickTime Export Components feature allows you to control the third-party encoding engine without having to open another application. This streamlines your workflow and saves you the time and hassle of working with multiple operating systems and software packages.

249

Installing QuickTime Export Component Plug-ins

With no additional third-party software, Compressor currently supports transcoding to

3G, AVI, and iPod. The export component feature in Compressor was developed to make it possible to add additional export plug-ins in the future. You would simply install the third-party software and then choose the corresponding output file format from the

Encoder Type pop-up menu in the QuickTime Export Components Encoder pane of the

Inspector window.

To find out more about the currently available plug-ins and updates

µ

Go to the Compressor support website at http://www.apple.com/support/compressor .

About the iPod Plug-in

The QuickTime Export Components output format includes an iPod encoder type. This encoder creates an output file suitable for playing on an iPod, using an H.264 encoder for the video and an AAC encoder for the audio. All settings (frame size, frame rate, and so on) are automatically set.

Drawbacks of using this plug-in (as opposed to using the H.264 for Apple Devices output format) include not being able to take advantage of distributed processing, include chapter markers, or use the Frame Controls pane.

See

Creating H.264 for Apple Devices Output Files

for more information on creating iPod output media files.

250 Chapter 21

Creating QuickTime Export Component Files

About the QuickTime Export Components Encoder Pane

The following options appear when you choose the QuickTime Export Components output format from the File Format pop-up menu in the Encoder pane of the Inspector window:

Choose QuickTime

Export Components.

File Extension field

Choose an encoder plug-in.

Click to see the options for the encoder plug-in.

File Extension: This field indicates the file extension for the output format selected from the Encoder Type menu.

Allow Job Segmenting: This checkbox allows you to turn off job segmenting. It is relevant only if you are using Compressor with distributed processing and with multi-pass encoding. (The distributed processing feature is limited to computers that have

Final Cut Studio installed.) For more information, see Job Segmenting and Two-Pass or

Multi-Pass Encoding

.

Encoder Type: Use this pop-up menu to choose from the available export component output formats (plug-ins).

Options: Click this button to open the Settings window for the output file format selected in the Encoder Type pop-up menu.

Configuring Export Components Settings

When you choose QuickTime Export Components as your output format, you can only create settings for export plug-ins that are already installed.

To create QuickTime Export Components settings

1

In the Settings tab, do one of the following:

• Make sure that the correct setting is selected.

• Create a new setting by choosing QuickTime Export Components from the “Create a new setting” (+) pop-up menu.

Chapter 21

Creating QuickTime Export Component Files

251

2

Choose an output file format from the Encoder Type pop-up menu.

3

Click the Options button in the Encoder pane.

The Settings window for that particular output file format opens.

Configure settings for the QuickTime export component.

Important:

Use the third-party export module user interface to explicitly enter the width, height, and frame rate for the output file. Do not leave the width, height, and frame rate fields in the third-party user interface at their default (“current”) values.

4

Click OK to save your settings and close this dialog.

Note: The Compressor Frame Controls feature is not available when using the QuickTime

Export Component Output feature.

252 Chapter 21

Creating QuickTime Export Component Files

Adding Filters to a Setting

22

Compressor comes with a variety of filters (such as color correction and noise removal filters) that you can use to adjust the details of your transcoding projects.

This chapter covers the following:

Working with Filters

(p. 253)

About the Filters Pane

(p. 255)

Video Filters Tab

(p. 256)

Audio Filters Tab

(p. 263)

Color Tab

(p. 265)

Adding Filters to a Setting

(p. 266)

Working with Filters

You can treat your source media file with a variety of filters before you transcode it to help improve the output quality of your video and audio. The best way to assign these filter settings is to look at, and listen to, your source media file and choose the most suitable one based on its content.

253

Previewing Filters

You can preview a clip containing your current filter settings by clicking the target in the

Batch window to open it in the Preview window. The Preview screen is split into original and transcoded versions of your media file so that you can see or hear the effects of your filter settings before processing the batch (as long as the checkbox for that particular filter is selected).

Adjustments you make can be viewed in the

Preview window.

This can be helpful when you are applying multiple filters since it can be difficult to anticipate how the filters will interact with each other.

Important:

The order of the filters in the filter list defines the order in which they are applied to the video or audio. Try changing the order of the filters if you are seeing unexpected results in the Preview window.

Once you are reasonably happy with your settings, it’s a good idea to scan through the whole movie to ensure that your changes are not too extreme for some scenes.

Note: Depending on your system, the source media file type, and the number of filters applied, the Preview window showing the filter settings may update at a lower frame rate than the source frame rate.

See

Using the Preview Window

for more information.

254 Chapter 22

Adding Filters to a Setting

Color Spaces

Compressor supports the following color spaces: YUV (R408), 2VUY, RGBA, ARGB, and

YUV (v210). Some filters require a color space conversion and some filters can handle various color spaces. For each media file, Compressor chooses the most suitable color space to provide the best output and performance results based on the color space of three attributes: the source media format, the output file format, and chosen filters.

Optionally, you can use the Output Color Space pop-up menu to manually adjust the color space for the output media file.

For more information about how you can adjust color spaces, see

Color Tab

.

About the Filters Pane

The Filters pane contains three tabs: one for video filters, one for audio filters, and one for color space adjustment of output media files. The Filters pane contains all the filters available in Compressor.

Choose video or audio filters

Filters list

Filter controls

Use the following features in the Filters pane of the Inspector to select and adjust filters that you want to assign to your settings.

Chapter 22

Adding Filters to a Setting

255

Note: Once you make any adjustment to a filter, its checkbox is automatically selected.

If you decide that you no longer want to use that filter, be sure to deselect that particular filter’s checkbox before transcoding.

Filters list: Select the checkbox next to the filters you want to add to your presets. Filter settings you select appear in the Summary table in the Summary pane. You can reorder filters by dragging them up or down in the Filters list. Because these filters are processed one by one during transcoding—starting with the first entry in the list—it is important that your filters are organized correctly. For example, it is sensible to place your text overlay filter last, so that the text color you selected doesn’t get modified by some other filter.

Filter controls: The controls available depend on the filter selected in the Filters list. The slider allows you to make large numerical changes to your setting, while the arrow control lets you make single incremental number changes. The setting number appears in the field located between the slider and arrow control.

Video Filters Tab

Compressor includes the following video filters.

Black/White Restore

Restores nearly black colors to pure black and nearly white colors to pure white without affecting colors in the rest of the image. Use this filter to better compress the solid black and white areas (the luminance) in the image, such as backgrounds. The two sliders allow you to separately set values between 0 and 100 for black and white. See

Color Spaces

for information on how color spaces relate to this filter.

Black: Sets values between 0 and 100 for black.

White: Sets values between 0 and 100 for white.

256 Chapter 22

Adding Filters to a Setting

Brightness and Contrast

Alters the overall color and luminance values of your output media file to a brighter or darker level. Some QuickTime codecs darken your video file, so you can use this filter to compensate for that. Choose any number between –100 and 100, but avoid the extreme settings as they give a very washed-out quality.

Brightness: Adjusts brightness to any number between –100 and 100.

Contrast: Adjusts contrast to any number between –100 and 100.

Color Correct Highlights, Midtones, or Shadows

Depending on which of these you choose, this corrects white balance inaccuracies and creates color effects on the bright, midtone, or dark areas of your clip. Adjust red, green, and blue values independently between –100 and 100.

Red: Adjusts red value between –100 and 100.

Green: Adjusts green value between –100 and 100.

Blue: Adjusts blue value between –100 and 100.

Deinterlacing

Removes the effects of interlacing.

For deinterlacing, the Frame Controls feature is recommended over this Deinterlacing filter (a legacy filter) as it will always provide much higher quality. See

Working with Frame

Controls

for more information.

For general information about deinterlacing, see

About Deinterlacing

.

Chapter 22

Adding Filters to a Setting

257

The following (legacy) deinterlacing methods are available in the Algorithm pop-up menu.

Algorithm: Choose from one of four deinterlacing methods.

Blur: Blends the odd and even fields together. This setting gives more importance to temporal data and preserves motion better, but because individual frames consist of a composite of both frames, they don’t look good when you pause playback.

Even: Keeps the even fields and ignores the odd fields, avoiding motion blur.

Odd: Keeps the odd fields and ignores the even fields, avoiding motion blur.

Sharp: Looks at both fields to make all edges sharper. This setting gives more importance to spatial data.

Fade In/Out

Adds a dissolve from and to a matte color at the beginning and end of the clip.

258

Fade In Duration: Sets the duration of the fade.

Fade Out Duration: Sets the duration of the fade.

Fade In Opacity: Sets the opacity of the clip’s video at the first frame. A value of 0.0 sets the clip video to be completely covered by the matte color. A value of 0.5 sets the clip to be 50 percent covered by the matte color.

Fade Out Opacity: Sets the opacity of the clip’s video at the last frame. A value of 0.0

sets the clip video to be completely covered by the matte color. A value of 0.5 sets the clip to be 50 percent covered by the matte color.

Fade Color: Sets the matte color. When clicked, the color picker appears where you can choose the color to fade to and from. (The Fade In and Fade Out colors must be the same.)

Chapter 22

Adding Filters to a Setting

Gamma Correction

Controls the overall brightness of an image as displayed on a monitor by changing the gamma amount of the media file. This filter can be used to remove detail from an underexposed clip or reduce an overexposed clip’s saturation to an acceptable level without washing out the image too much. Computers using different operating systems have different monitor settings. For cross-platform viewing, correcting the gamma will improve the image for all platforms.

Gamma: Sets a gamma setting between 0.1 and 4.0.

Letterbox

Scales and positions the image in the frame within horizontal letterbox bars.

Type: This pop-up menu allows you to choose the type of letterboxing to use. Scale vertically compresses the video to fit within the letterbox bars. Matte crops off the video where the letterbox bars are placed.

Position: This pop-up menu allows you to choose the position of the video. Center places letterbox bars above and below the video, keeping the video centered. Bottom positions the video at the bottom of the screen with a single letterbox bar above it.

Top positions the video at the top of the screen with a single letterbox bar below it.

Output: This pop-up menu allows you to choose the specific aspect ratio to use for the letterbox. Each setting is followed by a value that shows the ratio of the width to the height for that setting. For example, the Academy setting shows its aspect ratio as

1.85:1, indicating that the image’s width is 1.85 times the size of its height. The Manual setting enables the Manual slider, which you can use to manually set the letterbox aspect ratio.

Manual slider: Used when Manual is selected in the Output pop-up menu. Allows you to manually set the letterbox aspect ratio. The Manual slider has no effect when Manual is not selected in the Output pop-up menu.

Chapter 22

Adding Filters to a Setting

259

Background color well: Sets the letterbox color. Click this box to choose a background color from the color picker.

Noise Removal

Reduces random flecks of noise from the image. Some codecs introduce noise into the video file, which can be softened with the Noise Removal filter. You can improve image quality and spatially compress your material more efficiently by reducing its fine detail.

The noise reduction filter allows you to blur areas of low contrast while leaving high-contrast edges sharp. This is known as adaptive noise reduction. The results are imperceptible to the human eye but improve the final compression of the source media.

It is especially important to use this filter with live video.

Apply To: This pop-up menu allows you to choose which channels you want to filter the noise from. The default is All Channels, which filters out noise from all channels including the alpha channel. The other option is Chroma Channels, which filters out noise only from the two chroma channels—U and V—in the AYUV color space (or R408 in Final Cut Pro terminology).

Iterations: This pop-up menu smooths out image noise. Choose how many times

(between 1 and 4) you want the selected algorithm applied to the source media file.

The modified image is used each time as a starting point for the algorithm. The more iterations used, the fuzzier the image becomes.

Algorithm: Select one of the following algorithms from the Algorithm pop-up menu:

Average (each pixel’s color is modified by taking an average color of pixels around it, including its own color value); Replace (each pixel’s color is modified by taking an average of pixels around it, while ignoring its own color value); and Merge (each pixel’s color is modified by taking a weighted average of surrounding pixels and itself; the pixel’s own color value is given greater weight).

260 Chapter 22

Adding Filters to a Setting

Sharpen Edge

Enhances the image contrast around object edges. Some codecs blur the video image, so this filter can counteract the softening effect of noise removal or blurred source material and increase the perception of sharpness in the image. When used to an extreme, the output media file can look grainy. Choose any number between 0 and 100.

Amount: Sets a sharpen setting between 0.0 and 100.0.

Text Overlay

Superimposes text onto the image. This is a useful tool for stamping other relevant text information onto your output media file.

Use the following controls to position text, select color and font, and set its opacity.

Position: Positions text in the image clip. Choose from 1 of 13 positions such as Center,

Lower Left, Lower Left - Title Safe, and so on.

Alpha: This slider sets the text opacity. Choose between 0 and 1. A value of 0 makes the text completely transparent, while a value of 1 makes it completely opaque.

Overlay Text: Type your text here.

Text Color: Click this box to choose a text color from the color picker.

Select Font: Click this button to open a font palette for selecting font, style, and size.

Chapter 22

Adding Filters to a Setting

261

Timecode Generator

Superimposes the clip’s timecode text onto the image. You can also add a label to the timecode text.

Position: Positions timecode text in the image clip. Choose from 1 of 13 positions such as Center, Lower Left, Lower Left - Title Safe, and so on.

Alpha: This slider sets the timecode text opacity. Choose between 0 and 1. A value of

0 makes the text completely transparent, while a value of 1 makes it completely opaque.

Label: Type any text that you want to appear to the left of the timecode number here.

“Start Timecode at 00:00:00:00” checkbox: Select this checkbox to have the timecode start at 00:00:00:00. When this is not selected, the clip’s timecode is used.

Text Color: Click this box to choose a timecode text color from the color picker.

Select Font: Click this button to open a font palette for selecting font, style, and size.

Watermark

Superimposes a watermark onto the image. This is a useful tool for stamping a suitable logo onto your output media file. The watermark filter can apply either still images or movies as watermarks on your output media file.

262

Use the following pop-up menus, fields, and sliders to position and size the watermark and set its opacity.

Position pop-up menu: This pop-up menu positions the watermark image in the image clip. Choose from one of 13 positions such as Center, Lower Left, Lower Left - Title Safe, and so on.

Scale By: This slider sets the size of the watermark image size.

Chapter 22

Adding Filters to a Setting

Alpha: This slider sets the watermark image opacity. Choose between 0 and 1. A value of 0 makes the watermark image completely transparent, while a value of 1 makes it completely opaque.

Repeat checkbox: Used when you choose a clip as the watermark, this checkbox allows you to have the watermark clip loop its playback. If you don’t select this checkbox, the watermark clip plays until its end and then disappears.

Choose button: Click this button to open the file selection dialog and select a stored watermark movie or still image.

Audio Filters Tab

Compressor includes the following audio filters.

Important:

The audio filters are not available when audio is set to “Pass-through” in

QuickTime settings. See

About the QuickTime Movie Encoder Pane

for more information.

Dynamic Range

Allows you to dynamically control a clip’s audio levels by enhancing the quieter parts and lowering the louder parts. This is also referred to as audio level compression.

Soften Above: Audio above this level is reduced to the level set by the Master Gain.

Noise Threshold: Sets the level of what is considered noise. Audio at this level and above is dynamically boosted to the level set by the Master Gain. Audio below this level is left as is.

Master Gain: Sets the average level of the dynamically compressed audio.

Peak Limiter

Sets the level of the loudest audio allowed in the clip.

Gain (dB): Sets the level above which louder peaks are reduced.

Chapter 22

Adding Filters to a Setting

263

Apple AUGraphicEQ

Allows you to use the Apple AUGraphicEQ to shape a wide variety of frequencies throughout the audible frequency range. You have the choice of a 31-band or a 10-band version.

Options button: Opens the Apple AUGraphicEQ interface.

AUGraphicEQ: You can use the “number of bands” pop-up menu in the equalizer’s interface to choose to use the 31-band or 10-band versions of the equalizer. You can use the slider to adjust the level for each band to any number between –20 dB and

20 dB, or enter a number into the dB field.

264 Chapter 22

Adding Filters to a Setting

Fade In/Out

Adds a mix from and to a silence (or a gain level you set) at the beginning and end of the clip.

Note: When using the Fade In/Out and Dynamic Range filters at the same time, be sure to have the Dynamic Range filter ahead of the Fade In/Out filter in the filter list.

Fade In Duration: Sets the duration of the mix from the gain value to the clip’s normal audio level at the start of the clip.

Fade Out Duration: Sets the duration of the mix from the clip’s normal audio level to the gain value at the end of the clip.

Fade In Gain: Sets the level that the mix starts with. A value of –100.0 is silence while

0.0 leaves the audio as it is.

Fade Out Gain: Sets the level that the mix ends with. A value of –100.0 is silence while

0.0 leaves the audio as it is.

Color Tab

You can use the Output Color Space pop-up menu to manually adjust the color space for the output media file.

Chapter 22

Adding Filters to a Setting

265

The Color tab includes the following controls.

Output Color Space pop-up menu: Choose from the following options to affect the color space in the output media file.

Default for Encoder: Uses the standard color space for the target format.

Preserve source: Maintains the color space of the source media file.

SD (601): Uses the standard color space for SD media files.

HD (709): Uses the standard color space for HD media files.

Adding Filters to a Setting

You use the Filters pane in the Inspector window to add filters to your settings.

To add filters to a setting

1

Open the Settings tab.

2

Select the setting in the Settings tab that you want to modify. (Or select a setting already applied to a source media file in the Batch window. This way, you can open the Preview window and see the effects of your filter adjustments.)

3

Click the Filters pane in the Inspector.

4

Make adjustments to any filters that you want added to the setting.

Note: A checkmark appears automatically as soon as you make adjustments to any filter.

The filter is automatically selected if you make any adjustments to it.

Any changes you make to a filter’s settings apply to the currently selected filter.

266 Chapter 22

Adding Filters to a Setting

5

Drag the filters up or down within the Filters list to set the order in which you want them applied to the source media file during transcoding.

Drag filters up or down to set the order in which you want them to be applied to the source media file.

Because these filters are processed one by one during transcoding—starting with the first item in the list—it is important that your filters be organized in the order you want them. For example, it is sensible to place your text overlay filter last, so that the text color you selected doesn’t get modified by some other filter.

If you move a filter, be sure to select the checkbox so that Compressor knows to apply the filter to that setting. As an additional reminder, once you select the moved filter and then try to select another setting, the Save dialog appears, requiring you to save or revert the changes to that setting. By default, all selected filters are displayed first in the list.

Note: You can see setting details in the Summary pane of the Inspector window.

See

About the Filters Pane

for more details.

Chapter 22

Adding Filters to a Setting

267

Working with Frame Controls

23

Frame controls use advanced image analysis for retiming, resizing, and other sophisticated video effects.

Through frame controls, Compressor offers high-quality transcoding from many different source formats to many different target formats using advanced image analysis.

This chapter covers the following:

About the Frame Controls Pane

(p. 269)

Adding Frame Controls to a Setting

(p. 274)

About Deinterlacing

(p. 275)

About Reverse Telecine

(p. 276)

Using the Retiming Controls

(p. 279)

About the Frame Controls Pane

Using frame controls, you can do any of the following at levels of quality that were previously available only through expensive hardware solutions:

• Convert video files between international television standards such as PAL to NTSC, or

NTSC to PAL.

• Downconvert high definition (HD) video sources to standard definition (SD), or upconvert

SD to HD.

• Convert a progressive stream to an interlaced one, or interlaced to progressive.

• Make high-quality frame rate adjustments, including high-quality slow-motion effects.

• Automatically remove telecine pull-down (reverse telecine).

The Advanced Format Conversions settings group in the Settings tab has particular relevance to working with frame controls.

269

270

Important:

Frame Controls settings cannot be previewed in the Preview window. To preview Frame Controls settings, do a test transcode of a small section of your source media file. (See

Transcoding a Portion of the Clip with the Preview Window

for more information.)

Use the following features in the Frame Controls pane of the Inspector to select and adjust frame controls attributes that you want to assign to your settings.

Automatic button

Frame Controls pop-up menu

Resizing controls

Retiming controls

Frame Controls Area

Use this pop-up menu to enable or disable the Frame Controls feature. Use the corresponding Automatic button to enable or disable automatic mode.

Frame Controls

Automatic button

Frame Controls pop-up menu: Use this pop-up menu to enable or disable the Frame

Controls pane.

Off: The default setting for most Apple presets. Choose Off if your Compressor project does not involve changes to the frame size, frame rate, or field dominance.

On: Allows you to manually adjust all the attributes in the Frame Controls pane.

Automatic button: When this button is selected, Compressor analyzes the transcoding job (the source media file and the applied setting), and then automatically determines the appropriate Frame Controls attributes. For more information, see

About the

Automatic Settings .

In Automatic mode, Frame Controls technology is engaged in the following two types of transcodes only:

• Transcoding from high definition (HD) sources to standard definition (SD) MPEG-2 output files

Chapter 23

Working with Frame Controls

• Transcoding from interlaced sources to H.264 for DVD Studio Pro and H.264 for Apple

Devices (progressive) output files

Resizing Controls Area

Use the controls in this area to choose the algorithm with which frames are resized.

Resize Filter: Use this pop-up menu to choose from the following resizing options. This decision is a trade-off between faster processing time and higher output quality in projects that involve a change in resolution.

Fast (Nearest pixel): This option provides the fastest processing time.

Better (Linear filter): This option provides a medium trade-off between processing time and output quality.

Best (Statistical prediction): This option provides highest output quality, but takes longer.

Output Fields: Use this pop-up menu to choose the output scanning method (either the field dominance or a conversion to progressive scanning).

Same as source: No change to the scanning method.

Progressive: Scanning method where each frame is complete (not divided into fields).

Use this setting in place of the Compressor Deinterlacing filter (a legacy filter in the

Filters pane) as it will always provide much higher quality.

Top first: Interlaced field dominance (field order), also known as field two, the upper

field, or the odd field.

Bottom first: Interlaced field dominance (field order), also known as field one, the lower

field, or the even field.

Deinterlace: Use this pop-up menu to choose from different techniques for deinterlacing.

This decision is a trade-off between faster processing and higher-quality deinterlacing of motion areas within the frame. In all cases, each higher-quality deinterlacing option yields the same or better results than the next lower quality option. However, if downward resizing is also applied to the frame, improvements in quality may not be noticeable. Under these circumstances, Fast or Better will likely provide sufficiently high quality, depending on the amount of downward resizing.

Chapter 23

Working with Frame Controls

271

For general information about deinterlacing, see

About Deinterlacing .

Important:

Using all Best settings may result in unexpectedly long processing times.

If you are reducing the frame size in addition to deinterlacing the frame, Fast or Better will likely provide sufficiently high quality, depending on the amount of downward resizing.

Note: While the Deinterlace pop-up menu is always active, Compressor only deinterlaces jobs that need it. (For example, if the source is interlaced and the Output Fields pop-up menu is set to Progressive, Compressor will deinterlace. If the source media file is progressive, Compressor will not deinterlace.)

Fast (Line averaging): This option averages adjacent lines in a frame.

Better (Motion adaptive): This option offers good-quality deinterlacing for areas of the image that are in motion.

Best (Motion compensated): This option offers higher-quality deinterlacing for areas of the image that are in motion.

Reverse Telecine: This option removes the extra fields added during the telecine process to convert the film’s 24 fps to NTSC’s 29.97 fps. Selecting this item disables

all other items in the Frame Controls pane. See About Reverse Telecine

for more information on 3:2 pull-down and using the Reverse Telecine feature.

Adaptive Details: Select this checkbox to use advanced image analysis to distinguish between noise and edge areas.

Anti-alias: Use this slider to set a softness level from 0 to 100. This parameter improves the quality of conversions when you’re scaling media up. For example, when transcoding standard definition video to high definition, Anti-alias smooths out jagged edges that might appear in the image.

272 Chapter 23

Working with Frame Controls

Details Level: Use this slider to set a level (from 0 to 100) to preserve sharp edges. This is a sharpening control that lets you add detail back to an image being enlarged. Unlike other sharpening operations, the Details Level setting is able to distinguish between noise and feature details, and generally doesn’t increase unwanted grain. Increasing this parameter may introduce jagged edges, however, which can be eliminated by increasing the Anti-alias level.

Note: Adaptive Details, “Anti-alias,” and Details Level pertain only to frame resizing

(scaling), not deinterlacing.

Retiming Controls Area

Use the controls in this area to choose the algorithm with which frame rates are adjusted.

Note: When you use the retiming controls to change the video speed, Compressor will also adjust the audio portion of the output media file so that it stays in sync with the video. The retiming controls will not affect the audio pitch. See

Using the Retiming Controls

for more information about using these options.

Rate Conversion: Use this pop-up menu to choose from the following techniques for retiming frames (changing the frame rate). This decision is a trade-off between faster processing time and higher output quality. In many cases, the Better setting will provide sufficiently high-quality conversion at a substantial savings in processing time over the

Best setting.

Important:

Using all Best settings may result in unexpectedly long processing times.

The Better setting for rate conversion will provide sufficiently high-quality conversion at a substantial savings in processing time over the Best setting.

Fast (Nearest frame): No frame blending is applied; Compressor simply uses a copy of the nearest available frame to fill the new in-between frames.

Good (Frame blending): Averages neighboring frames together to create new in-between frames.

Better (Motion compensated): Uses optical flow to interpolate frames, with good-quality results.

Best (High quality motion compensated): Uses optical flow to interpolate frames, with higher-quality results; this option is particularly useful for transcodes that involve increases in frame rates (for example, 23.98 fps to 59.94 fps).

Chapter 23

Working with Frame Controls

273

274

Set Duration to: Use this to choose one of three methods to convert the clip’s duration to a new duration.

Selection pop-up menu

Percent of source: Use this to enter a percentage value to modify the clip’s speed or choose a specific situation from the pop-up menu. For more information about the options in this radio button, see

Entering a Percentage .

Total duration: Use this to choose a duration for the clip. For more information about the options in this radio button, see

Entering a Duration

.

So source frames play at [frame rate] fps: Use this when the source media file’s frame rate does not match the Encoder pane frame rate (shown as the frame rate for this item). For more information about the options in this radio button, see

Forcing Frames to Play at the Encoder Pane’s Frame Rate Setting .

Adding Frame Controls to a Setting

You use the Frame Controls pane in the Inspector window to add frame resizing and retiming adjustments to your settings.

To add automatic Frame Controls adjustments to a setting

1

Open the Settings tab.

2

Select the setting in the Settings tab that you want to modify. (Or select a setting already applied to a source media file in the Batch window.)

3

Click the Frame Controls tab in the Inspector window.

4

Click the Automatic button next to the Frame Controls pop-up menu.

Compressor analyzes the transcoding job (the source media file and the applied setting) and then automatically determines the appropriate Frame Controls attributes.

In Automatic mode, Frame Controls technology is engaged in the following two types of transcodes only:

• Transcoding from high definition (HD) sources to standard definition (SD) MPEG-2 output files

• Transcoding from interlaced sources to H.264 for DVD Studio Pro and H.264 for Apple

Devices (progressive) output files

To add custom Frame Controls adjustments to a setting

1

Open the Settings tab.

Chapter 23

Working with Frame Controls

2

Select the setting in the Settings tab that you want to modify. (Or select a setting already applied to a source media file in the Batch window.)

3

Click the Frame Controls tab in the Inspector window.

4

Choose On from the Frame Controls pop-up menu.

Choosing On allows you to manually adjust all the attributes in the Frame Controls pane.

5

Make changes to any of the following controls in the Frame Controls pane. (See

About the Frame Controls Pane

for details on each of the controls.)

• Resize Filter

• Output Fields

• Deinterlace

• Adaptive Details

• Anti-alias

• Details Level

• Rate Conversion

• Duration settings

6

Click Save to save the changes.

About Deinterlacing

You can use the Frame Controls feature in Compressor to deinterlace your video media.

NTSC and PAL video is interlaced. This means that each frame of video consists of two fields (1/60 of a second apart), one with the odd broadcast lines and one with the even lines of the image. The differences between these two fields create the impression of motion. Our eyes combine these two images into one whole frame of smooth, realistic motion at 30 fps in standard definition television, and because of the high field-refresh speeds (1/60 of a second), the interlacing is invisible.

Chapter 23

Working with Frame Controls

275

Because interlacing creates two fields for each frame, areas with fast movement within the field become separated into alternating jagged lines. You can view your source media one frame at a time and check for horizontal stripes along the leading and trailing edges of moving objects. If you find these, you need to deinterlace your source media to convert it to a frame-based format.

Interlacing creates a “comb” effect that should be removed.

If your source media file needs to be converted to a frame-based format, you must deinterlace it to remove the effects of interlacing. Interlacing on computer displays can cause high-motion parts of your video to look fuzzy, so this is especially important if you’re outputting a QuickTime movie for desktop or web playback. You can remove the upper (odd) or lower (even) field from an interlaced video file, although smooth motion may be compromised within the clip. This filter can also be used to eliminate flickering caused by interlacing in still frames that have thin vertical lines, such as title pages with small text. The remaining fields are interpolated to create a whole image, resulting in an overall softening of the image.

About Reverse Telecine

The Deinterlace pop-up menu includes a setting for reversing the telecine.

276 Chapter 23

Working with Frame Controls

About Reverse Telecine

The most common approach to distributing film’s 24 fps among NTSC video’s 29.97 fps is to perform a 3:2 pull-down (also known as a 2:3:2:3 pull-down). If you alternate recording two fields of one film frame and then three fields of the next, the 24 frames in 1 second of film end up filling the 30 frames in 1 second of video.

A B C D

A A B B B C C D D D

Field

1

Field

2

Field

1

Field

2

Field

1

Field

2

Field

1

Field

2

Field

1

Field

2

3:2 Pull-Down

Before (23.98 fps)

A B C D A

After (29.97 fps)

B C D A B C D A B C D A B C D A B C D

A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D

One second

As shown above, the 3:2 pattern (actually a 2:3:2:3 pattern since frame A is recorded to two fields followed by frame B recorded to three fields) repeats after four film frames.

Virtually all high-end commercials, movies, and non-live television shows use this process prior to being broadcast.

For editing and effects purposes, it is often desirable to remove the extra fields and restore the video to its original 23.98 fps rate. An additional benefit of restoring the original

23.98 fps rate is that it is easier to convert this to the PAL 25 fps rate.

Chapter 23

Working with Frame Controls

277

278

The lower frame rate also has the advantage of requiring fewer frames per second of video, leading to smaller file sizes. The reverse telecine feature makes it easy to do this.

3:2 Pull-Down Removal

One second

Before (29.97 fps)

A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D A A B B B C C D D D

After (23.98 fps)

A B C D A B C D A B C D A B C D A B C D A B C D

A A B B

Field

1

Field

2

Field

1

Field

2

B

Field

1

C C

Field

2

Field

1

D

Field

2

D D

Field

1

Field

2

A B C D

About the Cadence

When film is telecined to NTSC video, it has a constant cadence. This means that the 3:2 pattern is consistent and uninterrupted. It is relatively easy to remove the telecine from a constant cadence clip since you only have to determine the pattern once.

If you take these telecined clips and edit them as NTSC video, the result will be a final video file that has a broken cadence with an inconsistent 3:2 pattern. It is much more difficult to remove the telecine from this clip since you have to constantly verify the cadence to make sure you don’t inadvertently choose incorrect fields when creating the

23.98 fps video.

The Reverse Telecine feature included with Compressor automatically detects broken cadences and adjusts its processing as needed.

Other Reverse Telecine Issues

There are a few other issues to be aware of when you use the Reverse Telecine feature.

All Other Frame Controls Settings Are Disabled

Since the goal of the Reverse Telecine feature is progressive 23.98 fps video, all the other options of the Frame Controls pane are disabled when Reverse Telecine is selected.

Chapter 23

Working with Frame Controls

About Reverse Telecine and Segmented Encoding

Because of the unpredictable nature of the processing when reversing the telecine, segmented encoding does not work as efficiently as it does when reverse telecine is not being used.

About Pausing the Transcode Process

If you pause the transcode process, the transcode must start from the beginning when you restart it.

Creating PAL Video During the Reverse Telecine Process

It is a common practice to convert 23.98 fps or 24 fps video to PAL’s 25 fps rate by speeding up the playback by 4 percent. If you are starting with NTSC 29.97 fps video from a telecine, you can convert it to PAL video using two jobs.

First job: Apply a setting to the job that performs the reverse telecine process and results in an NTSC frame size at 23.98 fps.

Note: You could apply a setting that also converts the video to PAL; however, the format conversion will not be done using Frame Controls and may not be of suitable quality.

Second job: Create the second job by having the first job selected and choosing Job >

New Job With Target Output. This creates a job that is chained to the output of the first job. You can now apply a setting that sets the output format to PAL and use the

Frame Controls feature to ensure a high-quality output file.

See

About Adding and Copying Jobs

for more information about chaining jobs.

Using the Retiming Controls

The retiming controls have two common uses.

Converting video from one frame rate to another: This typically involves converting NTSC to PAL frame rates or PAL to NTSC frame rates. This function uses only the setting of the Rate Conversion pop-up menu and is automatically configured when necessary.

Converting video to a new speed: This can be a matter of playing the existing frames at a different rate or, in the case of slow-motion effects, it can require generating intermediate frames.

In all cases, if the source media file contains audio, the audio also has its speed changed, with the audio pitch corrected so that it sounds the same as the original, just at a different speed. This ensures that you will maintain sync between the video and audio.

If you preview a setting that uses retiming controls, the video will play at its new frame rate or speed, but it will not have been processed by Frame Controls and will be of a lower quality than the actual transcoded output file will be. The audio is pitch corrected when the setting is previewed.

Chapter 23

Working with Frame Controls

279

280

Important:

If you are using retiming controls on a setting using the QuickTime Movie output format and choose “Pass-through” for the audio setting, the audio does not have its speed changed and will not maintain sync with the video. See

About the QuickTime

Movie Encoder Pane

for more information.

Converting Video to a New Speed

The retiming controls give you three options for determining the playback speed.

You can determine the playback speed of the output media file by:

• Entering a percentage

• Entering a duration

• Forcing the frames to play at the Encoder pane’s Frame Rate setting

Entering a Percentage

You have two options when using the percentage method to determine the clip’s duration:

• Entering a percentage value

• Choosing a preset value

The presets that you choose from are intended to be used for specific situations.

24 @ 25: Use this setting when you have 24 fps video that you want to convert to 25 fps for PAL distribution.

23.98 @ 24: Use this setting when you have 23.98 fps video and want to convert it to

24 fps.

23.98 @ 25: Use this setting when you have 23.98 fps video and want to convert it to

25 fps for PAL distribution.

30 @ 29.97: Use this setting when you have 30 fps video and want to convert it to

29.97 fps.

29.97 @ 30: Use this setting when you have 29.97 fps video and want to convert it to

30 fps.

Chapter 23

Working with Frame Controls

24 @ 23.98: Use this setting when you have 24 fps video and want to convert it to

23.98 fps for NTSC DVD distribution.

With all these options, no intermediate video frames are required—the existing frames are just set to play back faster or slower.

Entering a Duration

The duration field shows the clip’s current duration. As you change the duration, the percentage value changes to reflect that change.

This option is most useful when you have a source media file whose duration is a bit longer or shorter than it needs to be, and you’d rather change its playback speed than add or remove video frames.

With this method, intermediate video frames are created as needed.

Forcing Frames to Play at the Encoder Pane’s Frame Rate Setting

This option is used when your source media file uses a frame rate different from the

Encoder pane’s Frame Rate setting.

Chapter 23

Working with Frame Controls

281

Adding Geometry Settings

24

You can make advanced adjustments to your settings with the Geometry pane of the

Inspector window.

This chapter covers the following:

Working with Cropping, Scaling, and Padding

(p. 283)

About the Geometry Pane

(p. 285)

Making Geometry Adjustments to a Setting

(p. 290)

Working with Cropping, Scaling, and Padding

The Geometry pane provides three different methods you can use to affect the output image.

Cropping

When you crop an image, you are removing video content. Often that content is unnecessary image area (such as the overscan area, which is necessary for television, but not for computers) to make what’s left seem bigger in the same frame size.

Cropping also includes an automatic setting that detects image edges and automatically enters crop values to match them. This is especially useful if you want to crop out the letterbox area of a source media file.

When you adjust the crop settings, one of two things happens to the output video file’s frame size:

• The frame size remains the same if you have chosen anything other than the 100% of source, 50% of source, and 25% of source settings in the Frame Size pop-up menu of the Dimensions section of the Geometry pane. This means that the source video image is scaled larger to fill the output video file’s frame size, which results in larger pixels and overall image degradation.

• The frame size reduces by the crop amounts if you have chosen the 100% of source,

50% of source, or 25% of source settings in the Frame Size pop-up menu of the

Dimensions section of the Geometry pane. This can result in nonstandard frame sizes.

283

284

The cropping settings are in the “Source inset (Cropping)” section of the Geometry pane.

Scaling

Scaling provides a way to alter the output video file’s frame size without removing any of the source image. Most often, scaling involves shrinking your output media image size to save storage space or reduce the bit rate.

Compressor offers four basic methods for scaling the image size of an output media file.

Choose a percentage of the source size: Three settings scale the source image based on a percentage (100% of source, 50% of source, and 25% of source). In addition to the source image frame size, crop values will affect the actual frame size of the output video.

Choose a maximum frame size: Five settings scale the source image to maintain the original aspect ratio and to be as large as possible without going over the selected frame size.

Choose a specific frame size: There are several standard frame size settings you can choose from, such as 720x486, 720x576, and so on. When you choose any of these, the output video file’s frame size will match this setting.

Enter a custom value: You can enter a custom frame size. Additionally, you can have the custom frame size constrained to a common aspect ratio such as 4:3 or 16:9. When you enter a custom frame size, the output video file’s frame size will match this setting.

You are also able to define the output image’s pixel aspect ratio by choosing from a pop-up menu with the common settings.

Note: The scaling settings are only active when using the MPEG-4, QuickTime Movie, and

Image Sequence output encoding formats.

The scaling settings are in the “Dimensions (encoded pixels)” section of the Geometry pane.

Padding

Padding provides a method to scale the image to a smaller size while retaining the output image’s frame size by filling the padded areas with black. Unlike cropping, padding does not remove any of the source image—the image is reduced by scaling by the padding amounts.

Padding is useful when the source image frame size is smaller than the output image frame size and you want to prevent the source image from being scaled to the output image size. By adding the correct amount of padding, the source image will remain the same size in the output image, with black filling the rest of the image frame.

Padding is automatically applied when the source video image is uncompressed NTSC

720 x 486 and the output image is 720 x 480.

Chapter 24

Adding Geometry Settings

There are also several common padding settings you can choose from, such as 16 x 9 and

Panavision. These make it easy to have Compressor automatically enter padding values to ensure the source image retains its original aspect ratio.

The padding settings are in the Output Image Inset (Padding) section of the Geometry pane.

About the Geometry Pane

You use the Geometry pane to choose cropping and sizing settings, output media file sizes, and the aspect ratio (the ratio between image frame width and height).

Cropping

Scaling

Padding

Source Inset (Cropping) Settings

You can use the “Crop to” pop-up menu to apply a center crop or enter cropping settings in the fields described below.

“Crop to” pop-up menu: Choose from the following options for manual cropping or automatic center cropping.

The actual numeric crop values are determined once a target setting is applied to a job.

Chapter 24

Adding Geometry Settings

285

286

Note: If you want to transcode a normal size standard definition (SD) source media file

(720 x 486) using an MPEG-2 NTSC setting, your output media file will be automatically cropped (two pixels from the top and four from the bottom) to achieve the MPEG-2 required dimensions of 720 x 480, unless you already specified cropping attributes. This crop attribute is only temporary and is not saved in the setting. You can see the automatic crop in the usual way, by double-clicking the setting in the job to open the

Preview window. See About the MPEG-2 Encoder Pane

for more information about the

Video Format pop-up menu.

Custom: Choose this option to manually enter values in the Left, Right, Top, and

Bottom cropping fields, or to adjust these values by dragging the red frame bars in the Preview window. For more information, see

Making Geometry Adjustments to a

Setting .

4:3 (1.33:1): Applies an automatic center crop with an aspect ratio of 4:3.

16:9 (1.78:1): Applies an automatic center crop with an aspect ratio of 16:9.

Panavision (2.35:1): Applies an automatic center crop with an aspect ratio of 2.35:1.

Europe Standard (1.66:1): Applies an automatic center crop with an aspect ratio of

1.66:1.

UK Standard (1.75:1): Applies an automatic center crop with an aspect ratio of 1.75:1.

Academy (1.85:1): Applies an automatic center crop with an aspect ratio of 1.85:1.

Letterbox area of source: This option allows Compressor to detect whether the source media file has been letterboxed, and if it has, to enter crop values to remove the letterbox.

Left, Right, Top, and Bottom: The four cropping fields (Left, Top, Right, and Bottom) allow you to crop the frame of your source media file in pixel increments. Most broadcast video files have overscan areas. If the output file will be shown exclusively on a computer screen rather than on a television screen, you can safely remove some edging from your file without affecting the picture area. The numbers give the distance (in pixels) between the edge of the original frame and the resulting cropped frame. All fields default to 0.

Note: The regular (action safe) overscan area is the outer 5 percent of the image on all four sides. Cut in an additional 5 percent and you have the more conservative title safe area. So you can safely crop anywhere between 5 and 10 percent of your outer frame area and still preserve the essential material.

Chapter 24

Adding Geometry Settings

Dimensions (Encoded Pixels) Settings

The settings in the Dimensions section are only active when using the MPEG- 4, QuickTime

Movie, and Image Sequence output encoding formats. For other formats, the settings are dimmed but show the settings that will be used when the batch is submitted.

Frame Size Width and Height fields: These text fields and associated pop-up menus allow you to customize the frame size and aspect ratio of your output media file. Enter a value in either the Width or the Height field or choose an option from the associated pop-up menu.

Frame Size pop-up menu: The relevant output size dimensions are automatically entered in the Width and Height fields based on the choices you make in the pop-up menus.

100% of source: Defines an output dimension identical to the dimension of the source media. (This option makes leaves the dimension unchanged.)

50% of source: Scales the output dimension to exactly 50% of the source media dimension.

25% of source: Scales the output dimension to exactly 25% of the source media dimension.

Up to 1280x720: Scales the output dimensions to not exceed a 1280 x 720 frame size while maintaining the original aspect ratio.

Up to 960x540: Scales the output dimensions to not exceed a 960 x 540 frame size while maintaining the original aspect ratio.

Up to 854x480: Scales the output dimensions to not exceed a 854 x 480 frame size while maintaining the original aspect ratio.

Chapter 24

Adding Geometry Settings

287

Up to 428x240: Scales the output dimensions to not exceed a 428 x 240 frame size while maintaining the original aspect ratio.

Up to 214x120: Scales the output dimensions to not exceed a 214 x 120 frame size while maintaining the original aspect ratio.

320x240: Defines an output dimension of exactly 320 x 240.

640x480: Defines an output dimension of exactly 640 x 480.

720x480: Defines an output dimension of exactly 720 x 480.

720x486: Defines an output dimension of exactly 720 x 486.

1280x720: Defines an output dimension of exactly 1280 x 720.

1920x1080: Defines an output dimension of exactly 1920 x 1080.

Custom: This is a manually created setting. Enter whichever dimensions suit your needs in the Width and Height fields. This setting has no constraint on the aspect ratio.

Custom (4:3): This manual setting is constrained to the 4:3 aspect ratio. Enter a value in either the Width or the Height field, and the other value is entered automatically.

Custom (16:9): This manual setting is constrained to the 16:9 aspect ratio. Enter a value in either the Width or the Height field, and the other value is entered automatically.

Custom (2.35:1): This manual setting is constrained to the 2.35:1 aspect ratio. Enter a value in either the Width or the Height field, and the other value is entered automatically.

Pixel Aspect field: You can choose Custom from the Pixel Aspect pop-up menu and enter any value in this field. The pixel aspect ratio refers to the shape of the pixels in a digital image. This is especially important when using some filters. For example, if the graphic you use for the Watermark filter uses a circle and you want to be sure it still looks like a circle when finished (as opposed to an oval), you must choose the pixel aspect setting that matches your output format.

288 Chapter 24

Adding Geometry Settings

Pixel Aspect pop-up menu: Use this pop-up menu to set the pixel aspect ratio of the output media file. This forces the pixel aspect ratios to conform to specific formats.

Options include the following.

Custom: Choose this option to manually enter values in the Pixel Aspect field.

Default for size: The pixel aspect ratio is set to the commonly assumed value for the setting’s width and height. For example, the default for 720 x 480 or 720 x 486 is

NTSC CCIR 601/DV NTSC.

Square: Use this when the output is to be displayed on computers.

NTSC CCIR 601/DV: Forces the pixel aspect ratio to 4:3 using 720 x 480 pixels.

NTSC CCIR 601/DV (Anamorphic): Forces the pixel aspect ratio to 16:9 using 720 x 480 pixels.

PAL CCIR 601: Forces the pixel aspect ratio to 4:3 using 720 x 576 pixels.

PAL CCIR 601 (Anamorphic): Forces the pixel aspect ratio to 16:9 using 720 x 576 pixels.

DVCPRO HD 720p60 (169): Forces the pixel aspect ratio to 16:9 using 1280 x 720 pixels.

DVCPRO HD 1080i60 (169): Forces the pixel aspect ratio to 16:9 using 1920 x 1080 pixels.

HDV 1080i (169): Forces the pixel aspect ratio to 16:9 using 1440 x 1080 pixels.

Output Image Inset (Padding) Settings

Use the following settings to apply and adjust padding.

Padding pop-up menu: Use this pop-up menu to choose one of the following options.

Custom: Allows you to manually enter values in the Left, Right, Top, and Bottom fields.

Chapter 24

Adding Geometry Settings

289

Preserve source aspect ratio: Pads the image so that the original aspect ratio is maintained.

4x3 1.33:1: Uses a 4 x 3 aspect ratio.

16x9 1.78:1: Uses a 16 x 9 aspect ratio.

4x3 1.33:1: Uses a 4 x 3 aspect ratio.

Panavision 2.35:1: Uses a 2.35:1 aspect ratio.

Europe Standard 1.66:1: Uses a 1.66:1 aspect ratio.

UK Standard 1.75:1: Uses a 1.75:1 aspect ratio.

Academy 1.85:1: Uses a 1.85:1 aspect ratio.

Left, Right, Top, and Bottom fields: Use these fields to add pixels of image “padding” around the sides of a frame. This is the opposite of cropping. In cases where the frame size of the output media file differs from that of the source media file, you may wish to pad an image rather than scale it.

Making Geometry Adjustments to a Setting

You use the Geometry pane in the Inspector window to crop, scale, and change the frame aspect ratio in a setting.

To add cropping, frame sizing, and aspect ratio settings to your setting

1

Open the Settings tab.

2

Select the setting in the Settings tab that you want to modify. (Or select a setting already applied to a source media file in the Batch window.)

290 Chapter 24

Adding Geometry Settings

3

Click the Geometry tab in the Inspector.

4

Enter your source inset (cropping) settings, choose output size dimensions from the

Frame Size pop-up menu, and choose padding settings from the output image inset section.

You can see all changes you make to your setting by viewing the Summary table in the

Summary pane.

Chapter 24

Adding Geometry Settings

291

Note: There are two ways to adjust frame size. You can either enter numbers in the cropping fields or drag the red frame bars in the Preview window. Using the latter method, the resulting numbers dynamically appear in the cropping fields so that you can see a numerical representation of your frame cropping. Hold down the Shift key to constrain the crop to either the source aspect ratio, the source height, or the source width.

If you select a batch’s target, any resizing in the Preview window is reflected in the

Geometry pane. You can also directly enter numbers into these cropping fields.

See

About the Geometry Pane

or

Previewing a Clip

for more details.

Drag the red frame bars (by the handles) to adjust the output file frame size.

292 Chapter 24

Adding Geometry Settings

Adding Actions

25

You can create automatic post-transcoding actions and apply them to jobs and settings

(and thereby also individual targets). Post-transcoding actions simplify and accelerate your day-to-day workflow and make it easy to share your work with others. You can quickly create and deliver output media files for the iPod, iPhone, Apple TV, MobileMe,

DVD, Blu-ray Disc, the web, and YouTube without having to open any additional applications. You can also automatically send emails giving notice of when individual output media files are completed. And you can trigger Automator workflows for individual jobs and trigger AppleScript documents for individual targets.

This chapter covers the following:

Working with Post-Transcoding Actions

(p. 293)

Adding Setting Actions

(p. 293)

Adding Job Actions

(p. 297)

Working with Post-Transcoding Actions

Compressor supports both job actions and setting actions. Job actions apply to entire jobs.

Job actions are often associated with batch templates. (For more information about batch templates, see

Quick and Easy Compressor Workflow: Batch Template Method .) Setting

actions apply to individual settings (and thereby, also individual targets). You can save settings that have setting actions applied as custom settings for future use.

Adding Setting Actions

Compressor can send an email to one recipient per applied preset setting, giving notice of when a transcode is complete. You can also add one AppleScript script per applied setting. This gives you some post-transcoding options for your output media file, such as creating a script in AppleScript for adding metadata to a QuickTime file, or creating a watched folder and having the transcoding process start automatically whenever new source media files are dropped into the folder.

You apply script actions with the Actions pane in the Inspector.

293

About the Actions Pane

You can use the Actions pane in the Inspector to set options related to transcode completion notification emails, post-transcoding AppleScript options, and default destinations.

“Email Notification to” checkbox

Choose button

294

The Actions pane contains the following items.

Email Notification to: If you want to be notified when a particular transcoding job has been completed, select this checkbox and enter the appropriate email address in the text field. (You can enter only one email address.) This is useful if you are transcoding an especially large source media file that may take many hours to complete. Rather than continuously checking to see if the transcoding is finished, you just wait until you receive an email.

Note: To enable this email feature, you must first enter an email address and outgoing mail server in Compressor preferences. (Choose Compressor > Preferences.)

Execute AppleScript on output: Select this checkbox to activate a chosen script. Even if you have chosen a script, it will not run unless you have selected this checkbox.

Choose button: Click this button to select an existing script that you want to assign to the output file. Adding a script is a useful way of applying post-transcoding actions to your job, such as adding metadata to QuickTime files or adding interactive QuickTime elements.

Default Destination pop-up menu: Use this pop-up menu to assign a destination to the particular setting. (This is in contrast to setting a default destination for all settings in

Compressor preferences.) For information about setting a default destination for all settings in Compressor preferences, see

Setting Compressor Preferences .

Chapter 25

Adding Actions

How to Add Setting Actions

You use the Actions pane in the Inspector window to set post-transcoding options for your output media file, such as sending an email, adding metadata to QuickTime files, or transferring the transcoded file to a streaming web server or to DVD Studio Pro.

To add an email notification to your setting

1

Open the Settings tab, or open a batch with a job that has a setting applied to it.

2

Select the setting in the Settings tab that you want to modify.

This must be a custom setting, because Apple settings are read-only. (Or you can select a setting already applied to a source media file in the Batch window.)

3

Click the Actions tab in the Inspector.

4

Select the “Email Notification to” checkbox and enter the relevant email address in the accompanying field.

Note: To enable this email feature, you must first enter an email address and outgoing mail server in Compressor preferences. (Choose Compressor > Preferences.)

To add a script to your setting

1

Open the Settings tab.

2

Select the setting in the Settings tab that you want to modify.

This must be a custom setting, because Apple settings are read-only. (Or you can select a setting already applied to a source media file in the Batch window.)

3

Click the Actions tab in the Inspector.

4

Click the Choose button.

The File Selection dialog appears.

Chapter 25

Adding Actions

295

5

Navigate to the relevant AppleScript file and click Open.

The path to the AppleScript file appears below the Choose button. Make sure the checkbox is selected; otherwise, the script won’t be applied to the setting.

296

See

About the Actions Pane

for more details.

Using AppleScript Droplets

Follow these steps to ensure that your script will successfully process Compressor output media files.

To create an AppleScript Droplet application to process files created by Compressor

1

In Script Editor, Choose File > Save As.

2

In the Save Dialog:

a

Choose Application from the File Format pop-up menu.

b

Disable the Run Only, Startup Screen, and Stay Open options.

c

Click Save.

The script is saved as a script application. Because the script contains an “on open” handler, the script application is saved as an application Droplet, indicated by the arrow in the script application’s icon.

More information about writing scripts to use with Compressor is available on the web.

For information about AppleScript that is geared toward Apple developers, go to http://developer.apple.com/applescript .

Chapter 25

Adding Actions

For general information about writing scripts using AppleScript, go to http://macscripter.net

.

Adding Job Actions

You can use job actions to automate your transcoding workflow. For example, you can automatically upload output media files to web streaming sites such as MobileMe and

YouTube, burn DVDs and Blu-ray discs, trigger Automator workflows, transfer output media files to iTunes, open output media files in other applications, and create web reference movies. Job actions are integral to the functioning of batch templates.

For more information about batch templates, see

Quick and Easy Compressor Workflow:

Batch Template Method

.

About the Job Actions Tab

You apply and adjust job actions with the Job Action tab in the Inspector window. To use the Job Action tab, you must first select a job in the Batch window.

To open the Job Action tab

1

Add a source media file to the Batch window so that there is at least one job present in the Batch window.

2

Select a job in the Batch window.

The Inspector window opens with the A/V Attributes tab selected. If the Inspector window is not open, click the Inspector button or choose Window > Show Inspector to open it.

3

Click the Job Action tab to open it.

Chapter 25

Adding Actions

297

The Job Action tab consists of a single “When job completes” pop-up menu. The list below details the purpose of each option in this pop-up menu. For a detailed description of the user interface for each option, see

About Job Actions .

“When job completes” pop-up menu: Use this pop-up menu to select and apply a post-transcoding action for a job selected in the Batch window.

Note: Blu-ray output options are available only on computers that have Final Cut Studio installed.

298

Do nothing: Choose this option to disable the Job Action tab.

Add to iTunes Library: Compressor will add the output media file to an iTunes playlist.

Create DVD: Compressor will create a standard definition DVD using MPEG-2 (.m2v) video and Dolby Digital Professional (.ac3) audio and automatically burn it to a disc.

Create Blu-ray Disc: Compressor will create and automatically burn a Blu-ray disc or an AVCHD disc using video and audio that is compatible with Blu-ray.

Create Web Reference Movie: Compressor will create a reference movie that enables a web browser and a server to automatically select the right movie for any device or connection speed, without requiring the viewer to make a choice.

Open with Application: Compressor will open the output media file with a specific application.

Publish to MobileMe: Compressor will create video files suitable for viewing on

MobileMe and upload them to a MobileMe account.

Run Automator Workflow: This option opens a dialog for you to locate and select an

Automator script that Compressor will execute automatically on completion of the transcoding job.

Publish to YouTube: Compressor will create a video file suitable for viewing on YouTube and upload it to a YouTube account.

About Job Actions

This section describes the user interface for each job action.

Chapter 25

Adding Actions

Add to iTunes Library

Use this form to automatically add output media files to iTunes.

“Add to Playlist” pop-up menu: Use the “Add to Playlist” pop-up menu to add the output media file to a particular playlist in your iTunes media library.

Note: The first time you use this feature, this pop-up menu will be empty. To populate this menu with playlists from your iTunes library, choose Refresh from the “Add to

Playlist” pop-up menu.

Create DVD

Use this form to enter information and settings for the DVD you want to burn.

Chapter 25

Adding Actions

299

Important:

For information about using Share to burn dual-layer discs, see

Using Job

Actions to Burn Dual-Layer Discs .

300

Output Device pop-up menu: Use this pop-up menu to choose the device to format to.

The pop-up menu displays a list of your system’s suitable output devices, including optical drives and the computer’s hard disk. Choose Hard Drive to create a disk image

(.img) file that you can burn to DVD media at a later time using the Disk Utility application (available in the Utilities folder). Other settings may change depending on the device you choose.

Disc Template pop-up menu: Use this pop-up menu to choose a menu template for the

DVD.

Title field: Use this field to enter a name for the program on the DVD.

When Disc Loads pop-up menu: Use this pop-up menu to choose what happens when the disc loads in the player.

Show Menu: Choose this option to show the menu.

Play Movie: Choose this option to play the movie.

“Use Chapter Marker Text as Subtitles” checkbox: Select this checkbox to have marker text appear as subtitles. This is particularly useful for creating DVD dailies. This allows you to line up a series of clips or scenes and identify each item with a marker text-subtitle.

Title Graphic button: Opens a dialog for you to locate and select a title graphic.

Main Menu and Chapter Menu preview: Use the Main Menu and Chapter Menu buttons to display previews of the menus included with the selected template.

Create Blu-ray Disc

Use this form to enter information and settings for the Blu-ray disc you want to burn.

Additionally, you can burn an AVCHD disc based on settings in this form.

Chapter 25

Adding Actions

An AVCHD disc can be thought of as a simpler HD disc that is burned to red laser media.

The resulting disc plays in Blu-ray Disc players that are compatible with the AVCHD format.

This means that you can burn a disc that contains HD video content and some basic menu features using a standard DVD burner and play that disc in compatible Blu-ray Disc players. See

About the H.264 for Blu-ray Disc Encoder Pane

for information on creating

H.264 streams suitable for Blu-ray discs and AVCHD discs.

Important:

You cannot play any disc containing Blu-ray content on a Mac computer.

You choose whether to burn a Blu-ray disc or an AVCHD disc by your choice in the Output

Device pop-up menu. The setting descriptions below identify which items do not apply to AVCHD discs.

Output Device pop-up menu: Use this pop-up menu to choose the device to format to.

The pop-up menu displays a list of your system’s suitable output devices, including optical drives and the computer’s hard disk. Each device also includes the words Blu-ray or AVCHD to indicate which type of disc it creates. Choose Hard Drive to create a disk image (.img) file that you can burn to Blu-ray Disc media at a later time using the Disk

Utility application (available in the Utilities folder). Other settings may change depending on the device you choose.

Note: If you choose a standard DVD burner, the disc is formatted as an AVCHD disc.

All other devices format the disc as a Blu-ray disc.

Disc Template pop-up menu: Use this pop-up menu to choose a menu template for the

Blu-ray disc.

Title field: Use this field to enter a name for the program on the Blu-ray disc.

When Disc Loads pop-up menu: Use this pop-up menu to choose what happens when the disc loads in the player.

Show Menu: Choose this option to show the menu.

Chapter 25

Adding Actions

301

Play Movie: Choose this option to play the movie.

“Use Chapter Marker Text as Subtitles” checkbox: Select this checkbox to have marker text appear as subtitles. This is particularly useful for creating Blu-ray Disc dailies . This allows you to line up a series of clips or scenes and identify each item with a marker text-subtitle.

Note: Subtitles are not supported on AVCHD discs.

Include Loop Movie Button checkbox: Select this checkbox to add a “Loop Movie” button to the menu. This option is not available on all disc templates.

Title Graphic button: Opens a dialog for you to locate and select a title graphic.

Logo Graphic button: Opens a dialog for you to locate and select a logo graphic.

Background button: Opens a dialog for you to locate and select a background graphic.

Main Menu and Chapter Menu preview: Use the Main Menu and Chapter Menu buttons to display previews of the menus included with the selected template.

Note: Blu-ray and AVCHD menus are best suited for display at 1080i or 1080p resolutions. Users should ensure that their player and display are set accordingly.

Using Job Actions to Burn Dual-Layer Discs

When you burn a disc using a Compressor job action, the data rate for the output media file is calculated automatically based on the capacity of the disc media, the type of disc format (DVD or Blu-ray disc), and duration of source media file.

• If you submit a job before inserting blank DVD or Blu-ray Disc media into your disc-burning device, the Share feature assumes single-layer media and adjusts the data rate accordingly.

• If you submit a job after inserting blank dual-layer DVD or Blu-ray Disc media into your disc-burning device, the Share feature detects the dual-layer media and adjusts the data rate accordingly.

To ensure the best quality for a dual-layer projects, first insert blank dual-layer DVD or

Blu-ray Disc media into your disc-burning device, then click Submit to submit the job.

Note: If you choose Hard Drive (Blu-ray) in the Output Device pop-up menu to create a disk image (.img) file, the Share feature invariably assumes single-layer media and adjusts the data rate accordingly.

302 Chapter 25

Adding Actions

Create Web Reference Movie

Use this form to create a reference movie that enables a web browser and a server to automatically select the right movie for any device or connection speed, without requiring the viewer to make a choice.

”Web reference movie destination” field and button: Use this field and the associated

Choose button to define a destination folder for the output web reference movie. Click the button to open a dialog for locating and selecting the folder.

“Create Read Me file with sample HTML” checkbox: Use this checkbox to control whether

Compressor creates a text document containing complete instructions and sample

HTML for embedding the web reference movie in a web site.

Create Poster Image checkbox: Use this checkbox to control whether Compressor creates a thumbnail image for embedding the web reference movie in a web site.

Chapter 25

Adding Actions

303

Open with Application

Use this form to specify an application to open the output media file.

Open With pop-up menu: Use this menu to either confirm or select the application that will open the output media file.

Publish to MobileMe

Use this form to enter information about movies you want to publish to a MobileMe

Gallery on the web.

When you choose Publish to MobileMe, Compressor creates three targets for each source media file: Mobile, Medium, and Large. Once these files are uploaded to your MobileMe gallery, the MobileMe gallery will automatically play the most appropriate version for any viewer's device and connection speed.

304 Chapter 25

Adding Actions

For information on manually adjusting the number and the details of the targets created by the Publish to MobileMe job action, see

About Targets

and

Modifying an Assigned

Setting .

Username: Use this field to enter a MobileMe member name. Do not include “@me.com” or “@mac.com.”

The MobileMe member name is required for successful uploading.

Password: Use this field to enter a MobileMe password.

The MobileMe password is required for successful uploading.

Title: Use this field to enter the name of the movie you are publishing.

Description: Use this field to enter a description of the movie you are publishing.

“Hide Movie on my Web Gallery page” checkbox: Select this checkbox to limit viewing to the movie you are publishing. In other words, viewers will not be able to access other items in your MobileMe gallery.

“Allow movies to be downloaded” checkbox: Select this checkbox to allow viewers to download the movie you are publishing.

“Viewable by” pop-up menu: Use this pop-up menu to control viewing access to the the movie you are publishing.

Everyone: Select this option to make the movie freely available on the web.

“Only me”: Select this option to limit access to anyone with your MobileMe member name and password.

Chapter 25

Adding Actions

305

“Edit Names and Passwords”: Select this option to open the Names and Passwords dialog in which you create names and passwords to restrict viewing of your published movies. You can assign only one name and password to each movie, but you can use the same name and password for multiple movies. Names may contain letters, numbers, underscores, and one dot (.). Names and passwords are case sensitive.

Passwords must contain four or more characters.

Run Automator Workflow

Choose Automator Workflow: Click Choose to open a dialog for locating and selecting an Automator script that Compressor will execute automatically on completion of the transcoding job.

Publish to YouTube

Use this form to enter information about movies you want to publish to a YouTube account on the web.

306 Chapter 25

Adding Actions

Note: To upload multiple YouTube output media files in one batch, create a separate job for each output media file.

Important:

You must complete all fields for successful uploading.

Username: Use this field to enter a YouTube username.

Password: Use this field to enter a YouTube password.

Title: Use this field to enter the name of the movie you are publishing.

Description: Use this field to enter a description of the movie you are publishing.

Tags: Use this field to enter keywords that describe your movie. These are search terms that your intended audience might use to find your movie on YouTube. For more information, see YouTube help.

Category pop-up menu: Use this pop-up menu to select a YouTube category for your movie. On YouTube, a movie can belong to one of several categories (topic areas).

“Make this movie private” checkbox: Select this checkbox to control viewing access to the the movie you are publishing. When you make a video private on YouTube, you have the option of sharing it with a select number of people from any of the contact lists you create for your account. See YouTube help for more information.

Chapter 25

Adding Actions

307

Using the Preview Window

26

The Preview window has two main roles. You can use it to play your source media file in its original format, or you can preview your source media file with whichever settings have been assigned to it.

This chapter covers the following:

About the Preview Window

(p. 309)

Previewing a Clip

(p. 315)

Transcoding a Portion of the Clip with the Preview Window

(p. 320)

Adding Markers to a Clip

(p. 321)

About the Preview Window Keyboard Shortcuts

(p. 327)

About the Preview Window

When you use the Preview window to compare the original version of the clip with the version that will be output, you can make and view real-time changes. This comparison lets you check the effects of settings on your file before spending time and resources transcoding it. Do this to check the quality of the output media file.

Original version of the clip

Scaled, cropped, and filtered version of the clip

309

310

You can also use the Preview window to enlarge the Preview screen size, manually add

I-frames (MPEG-1 and MPEG-2 only), and designate a portion of your media file for transcoding using the In and Out markers.

The Preview window allows you to play batch items before submitting them for transcoding and allows you to compare versions of your clip to ensure that the quality of the output media file is acceptable.

Batch Item selection controls

Preview scale selection

Source/Setting selection

Preview screen area

Marker pop-up menu

Timeline controls

In and Out controls

Source/Output information

Transport controls

The Preview window contains the following items.

Preview scale selection: Adjusts the Preview screen size. The three settings are 100%,

75%, and 50%, but you can also drag the Preview window handle to any size you like.

Source/Setting selection: Use these buttons to preview the selected batch item using either the source’s aspect and size or the output’s aspect and size. The Source View button also provides a cropping boundary that you can use to define one or more edges to be cropped. The Output View button shows the cropped version of the media scaled to its aspect and size setting.

Source/Output information: The clip’s frame size and frame rate are shown in the lower-left corner of the Preview window. The clip’s duration (from the In point to the

Out point) is shown in the lower-right corner. With the Source View button selected, the frame size and frame rate represent the source media clip. With the Output View button selected, the frame size and frame rate represent the setting for this batch item.

Note: To see the total duration of the clip (without In and Out points), select the source file in the Batch window and open the Inspector window (choose Window > Show

Inspector).

Chapter 26

Using the Preview Window

Batch Item Selection Control Area

You can use the batch item selection area to choose specific items from the Batch window to show in the Preview window.

Batch Item selection buttons

Batch Item pop-up menu

Batch Item selection buttons: Use these buttons to click backward or forward through the list of source media files and clips with settings available for previewing. As you click through the list, the selected batch item appears in the batch item pop-up menu.

Batch Item pop-up menu: Choose the source media file you want to preview from this pop-up menu, with or without its assigned settings.

In and Out Controls

Once you have selected the batch item, the In and Out controls can be used to see and adjust the In and Out point timecode information.

In point timecode Out point timecode

Sets Out point to current playhead position.

Sets In point to current playhead position.

In and Out timecode fields: The exact locations of the In and Out points are displayed here using the standard timecode format of hh:mm:ss:ff. You can manually edit these fields by selecting the field and entering new values. If a new value is entered, the timeline’s relevant In or Out point moves to the specified point in the current batch item.

Note: If your source media file has a timecode track with a specific timecode, the Start and End timecode of the clip will appear in both the In and Out timecode fields. For everything else, the timecode will start with 00:00:00:00.

In and Out Point buttons: Drag the In point (right-pointing arrow) or Out point

(left-pointing arrow) buttons in the timeline to set a new In or Out point. You can also use the Set In and Set Out buttons (next to the timecode fields) to set In and Out points.

Chapter 26

Using the Preview Window

311

312

Preview Screen Area

The Preview screen area displays the currently selected batch item.

Split screen slider

Cropping dimensions

(also seen in Source

Inset fields in the

Geometry pane)

Cropping boundary

Cropping handle for the lower-right corner

The Preview screen also contains the following items.

Split screen slider: Drag the split screen slider any distance across the top of the Preview screen to get a comparison view between the source media file (left side) and output media file (right side). In addition to the location of the slider at the top, the screen division is indicated by a vertical white line bisecting the image.

Cropping boundary: The cropping boundary is only available in Source view. Use the handles to drag the red boundary edges and corners in the direction you want to crop your output media file. Use the center handle to drag the entire frame in any direction while still maintaining its dimensions. The new values (for left, top, right, and bottom) appear dynamically in the Preview screen as you crop the frame. If you also have the

Inspector window open with the batch’s target selected, you can see the same values changing in the cropping fields of the Geometry pane. Select the Output view to show the results of the crop boundary settings.

Timeline Controls

The timeline controls provide information about the clip, including any markers it has and the current In and Out point settings. You can also use the timeline to position the playhead to a specific frame and set the In and Out points.

In point Playhead Out point

Playhead timecode Marker

Playhead timecode: Shows the timecode of the playhead’s position in the timeline using the standard timecode format of hh:mm:ss:ff. You can enter a new value to precisely position the playhead along the timeline.

Chapter 26

Using the Preview Window

Note: If your source media file has a timecode track with a specific timecode, the timecode of the clip will appear in the playback timecode field. For everything else, the timecode will start with 00:00:00:00.

In and Out points: Use these if you want to transcode only a section of your source media file, rather than the whole thing. Drag the points to indicate the Start and End points within the source media file that you want to transcode. The In and Out timecode fields at the bottom of the Preview window update as you drag these points. (You can also click the Set In Point or Set Out Point buttons to set the points to wherever the playhead is currently positioned.)

In and Out points are not preserved after a transcode has been completed, so if you want to resubmit a batch from the History table, you need to reapply these points to your clip. In and Out points are assigned to the source media file rather than the setting, so whatever In and Out points you create will be the same for all other settings related to that source media file in the current batch.

Playhead: Gives you a visual indication of where the displayed frame is located within the clip. You can drag the playhead to navigate quickly to a specific location within the clip.

Marker: Gives you a visual indication of where a marker has been placed in the clip.

The color of the marker indicates its type:

Blue: Compression markers (These are compression markers that you add manually.)

Purple: Chapter or Podcast markers (These are named markers that are intended to be navigational chapter stops or visual artwork in the output media file.)

Green: Edit/cut markers (These are compression markers that are added automatically at edit points in the Final Cut Pro sequence.)

See

Adding Markers to a Clip

for more information.

Transport Controls

These move the playhead backward or forward to the exact position of the next marker or In and Out point, making it easy to navigate quickly between existing markers. You can also use these buttons to quickly move the playhead to the start or end of the clip.

Move to previous marker

Play/Pause

Move to next marker

Playback Loop button

Fast Backward Fast Forward

Play/Pause button: Starts or stops playback of the clip. If you stop playback, the playhead remains at its current position. To return to the start of the clip, you need to drag the playhead back to the beginning or click the “move to previous marker” control.

Chapter 26

Using the Preview Window

313

314

“Move to previous marker” or “Move to next marker” buttons: Moves the playhead to the previous or next marker, or to the start or end of the clip if no more markers are present.

Fast Backward and Fast Forward buttons: Allow you to play your clip in either direction at twice the normal speed. Hold down a button to continue scanning in either direction.

Playback Loop button: Click to play the media in a continuous loop.

Marker Pop-Up Menu

Use the Marker pop-up menu to manage the clip’s markers. While you can use markers with all settings, they actually affect only the output file when the setting uses the MPEG-1,

MPEG-2, MPEG-4 when configured for podcasting, H.264 for DVD Studio Pro, H.264 for

Apple Devices, or QuickTime Movie output file formats. See Adding Markers to a Clip

for more information.

Choose items from the Marker pop-up menu to add, remove, show, hide, and edit markers and poster frames.

Import Chapter List: Opens a file import dialog that allows you to import a file containing a list of chapter marker times for the source media file. See

Adding Chapter or Podcast

Markers to a Clip

for more information.

Add/Remove marker: Actual state depends on whether or not the playhead is positioned on a marker.

When the playhead is not positioned on a marker: Choosing “Add marker” places a new marker on the timeline at the playhead’s current position.

When the playhead is positioned on a marker: Choosing “Remove marker” deletes the current marker.

Edit: Available only when the playhead is positioned on a marker. Choosing Edit opens a dialog for configuring the marker. The dialog allows you to set the marker type and assign a URL and an image to it. See

Adding Chapter or Podcast Markers to a Clip

for more information.

Show Chapter/Podcast Markers: Controls whether chapter and podcast markers (those with names) are shown in the timeline. A checkmark indicates they are shown.

Show Compression Markers: Controls whether compression markers (those without names) are shown in the timeline. A checkmark indicates they are shown.

Chapter 26

Using the Preview Window

Show Edit/Cut Markers: Controls whether markers automatically placed at each edit point by another application, such as Final Cut Pro, are shown in the timeline. A checkmark indicates they are shown.

Set poster frame: Choose this item to make the current frame the poster frame. A poster

frame is a still image that represents a video or audio media file or a podcast chapter in applications such as iTunes and the Finder. By default, the first frame in a video file is the poster frame.

Go to poster frame: Moves the playhead to the poster frame.

Clear poster frame: Deletes the poster frame marker.

Previewing a Clip

You can preview either the original source media file or the file with a setting applied to it. Source media files appear in the list as their filenames. Any settings that have been applied to the source media file are listed immediately below the file’s name and are indented to make it easier to identify them. Whether you choose to view the original source media file or the source media file with a setting determines which options you see in the Preview window.

Important:

Settings you make in the Encoder pane and the Frame Controls pane cannot be previewed. Only the settings made in the Filters pane and Geometry pane can be previewed. See

Transcoding a Portion of the Clip with the Preview Window

for an alternative method of previewing Encoder pane and Frame Controls pane settings.

To preview a source media file

1

Open the Preview window.

Note: You can open your file into the Preview window in one step by double-clicking the source media file in its job in the Batch window.

Chapter 26

Using the Preview Window

315

316

2

Do one of the following:

• Choose a source media file from the Batch Item pop-up menu (identified by its filename).

Selects the default color bars image.

The original source media file “Nancy at table CU 5.”

A setting applied to the source media file “Nancy at table CU 5.” The checkmark indicates that this is currently being viewed in the

Preview window.

• Click the Batch Item selection buttons until the source media file appears in the pop-up menu.

• Select the source media file in its job in the Batch window.

Only the Source View button is active (and the Output View button is dimmed). This is because you selected a regular source media file, so you can only see the unadulterated clip—without the split screen divider or cropping bars.

3

Choose a Preview screen size from the Preview Scale pop-up menu, or drag the Preview window handle to a size you like.

This does not affect the display frame size of the actual output media file. That can only be set from the Geometry pane in the Inspector window.

4

Click the Play button to preview the selected source media file.

Source media files with markers already added, such as files from Final Cut Pro, will show

the markers in the timeline. You can manage the markers if needed. See Adding Markers to a Clip

for more information.

To preview a clip with an assigned setting

1

Open the Preview window.

Note: You can open the clip into the Preview window in one step, by double-clicking the target (that contains the setting) of a job in Batch window.

2

Do one of the following:

• Choose a setting from the Batch Item pop-up menu (the indented setting names, not the source filenames).

Chapter 26

Using the Preview Window

• Click the Batch Item selection buttons until the clip with a setting appears in the pop-up menu.

• Select the clip’s setting in its job in the Batch window.

Both Source and Setting (Output) View buttons are active so you can switch between these two views. Because you selected a setting, you can use the split screen slider and cropping boundary in the Preview window.

3

Click the Setting view button in the upper-right corner of the Preview window.

4

Choose a Preview screen size from the Preview Scale pop-up menu, or drag the Preview window handle to a size you like.

This does not affect the display frame size of the actual output media file. That can only be set from the Geometry pane in the Inspector window.

Note: When you adjust the frame size of a setting (in the Geometry pane) while you are viewing it in the Preview window, the frame size may not resize accordingly. If this occurs, select Sample Movie or a different target from the Batch Item pop-up menu and then select this target again. It will display the correct frame size.

5

Drag the split screen slider left or right across the top of the screen to move the split screen divider over more or less of the transcoded portion of the clip.

6

Use the cropping boundary to adjust the display frame size of your output media file.

Batch Item pop-up menu

Source and Setting

View buttons

Split screen slider

Cropping boundary and handles

Cropping dimensions

(also seen in Source

Inset fields in the

Geometry pane)

Split screen divider

7

Check the results of your cropping by clicking the Source and Setting View buttons.

Chapter 26

Using the Preview Window

317

Note: The more you reduce the clip image by cropping it, the larger the scale factor of the output image will be (as the framing geometry conforms to the settings of the output size ratio rather than to the source file settings). This effect is similar to zooming in on an image, which results in larger pixels and overall image degradation. So make sure that you don’t crop in so far that the image is enlarged past its original size relative to the original size of the frame.

Source and Setting

View buttons

8

Select the filter that you want to adjust and make changes as necessary.

Note: The filter you select must have a checkmark next to it in the Filters list. Otherwise, the filter won’t be applied to the setting.

Setting selection

318

Selected filter settings are displayed in the

Preview window.

Chapter 26

Using the Preview Window

9

If you want to make the display frame size of your output media file different from that of your source media file, open the Geometry pane in the Inspector window and choose a preexisting value from the Frame Size pop-up menu or enter different output size values in the relevant fields.

Note: MPEG-2 is limited to preestablished display frame sizes based on MPEG-2 specifications. In this instance, all output size items are unavailable.

Cropping dimensions

(also displayed in the

Inspector window when you drag cropping bars)

10

Click the Play button in the Preview window to view the clip.

See

About the Preview Window

for more information about these settings.

Chapter 26

Using the Preview Window

319

Playing Dolby Digital Professional (AC-3) Files in the Preview Window

You can use the Preview window to play back Dolby Digital Professional (AC-3) files.

Compressor includes a Dolby Digital decoder so that when you add an AC-3 source media file to a batch and play it, you are able to hear it using your computer’s current speakers. This includes everything from the built-in stereo speakers, which play a mixed-down version of the AC-3 file if it contains more than two channels, to a set of external surround speakers connected to a USB or FireWire output.

Important:

Since Compressor is decoding the Dolby Digital audio file, you cannot use your computer’s optical output to preview Dolby Digital audio.

This feature is important if you are using the Dolby Digital Professional encoder since you cannot preview the encoder’s settings in real time in the Preview window. Instead, you can add the encoded AC-3 files to a batch and play them to verify that the encoder’s settings produced good results. See

Transcoding a Portion of the Clip with the Preview

Window

for information on creating a short test clip for this purpose.

Transcoding a Portion of the Clip with the Preview Window

Although Geometry (cropping and scaling) and Filters adjustments are displayed instantly in the Preview window, Encoding pane and Frame Controls pane settings are not. To preview Encoder pane and Frame Controls pane settings, do a test transcode of a small section of your source media file.

You can use the Preview window to set In and Out points to transcode only a portion of your media file rather than transcoding the whole thing.

To designate a portion of your media file for transcoding

1

Open the Preview window.

2

Choose a clip from the Batch Item pop-up menu or click the Batch Item selection buttons until the clip appears in the pop-up menu.

3

Do one of the following:

• Drag the In point to the appropriate location.

320 Chapter 26

Using the Preview Window

• Drag the playhead to where you want transcoding to begin and click the Set In Point button.

In point

Playhead

Out point

Set In Point button

Set Out Point button

4

Do one of the following:

• Drag the Out point to the appropriate location.

• Drag the playhead to where you want transcoding to end and click the Set Out Point button.

The only segment of the media file that will be transcoded is between the two points that you set. The rest of the clip will not be transcoded.

Important:

When you use the markers to specify a segment of the source media file to transcode, they apply to all targets assigned to the file’s job. You can add a source media file multiple times to a batch, creating multiple jobs, and set the In and Out points differently in each job.

Adding Markers to a Clip

Compressor can import and create several different kinds of markers. In addition,

Compressor can import entire lists of chapter markers.

Output File Formats That Support Markers

Not all output file formats support markers. Following is a list of those that do support them.

• MPEG-2

• MPEG-4 when configured for podcasting (audio-only with the “Allow Podcasting information” checkbox selected)

• QuickTime Movies

Chapter 26

Using the Preview Window

321

322

• H.264 for DVD Studio Pro

• H.264 for Apple Devices

You can set and configure markers for other output file formats, but they will not be included in the encoded output file.

Types of Markers

Compressor can import and create the following types of markers.

Chapter markers: Chapter markers allow easy access to index points throughout a DVD,

QuickTime movie, or podcast. Compressor and DVD Studio Pro can both read chapter markers exported from Final Cut Pro. QuickTime Player can interpret any text track containing time stamps as a chapter track. Chapter markers can also have artwork and a URL assigned to them that appear when playing a podcast.

These markers appear as purple in the Preview window timeline.

Podcast markers: Like chapter markers, podcast markers can have artwork and a URL assigned to them. Podcast markers cannot be used to access frames within the clip, though, and they do not appear as chapter markers in DVD Studio Pro or QuickTime.

You can use podcast markers to provide a slideshow (with URLs) for users to view when playing audio podcasts.

Compression markers: Compression markers are also known as manual compression

markers. These are markers you can add to a Final Cut Pro sequence (or in the

Compressor Preview window) to indicate when Compressor should generate an MPEG

I-frame during compression. See

Understanding GOPs and Frame Types

for more information on I-frames.

These markers appear as blue in the Preview window timeline and are the type created when you manually add markers using Compressor. You can convert compression markers into chapter markers using the Edit item of the Markers pop-up menu.

Edit/Cut markers: Edit/Cut markers are also known as automatic compression markers.

These markers are automatically generated by Final Cut Pro at each cut or transition point in a sequence. During transcoding, Compressor uses Edit/Cut markers to generate

MPEG I-frames at these points, improving compression quality.

These markers appear as green in the Preview window timeline.

Note: DVD Studio Pro ignores Edit/Cut markers because they can interfere with GOP alignment for multi-angle DVD video. For more information, see the documentation included with DVD Studio Pro.

Chapter 26

Using the Preview Window

Manually Adding and Removing Markers

The Preview window includes comprehensive marker support, including the ability to manage markers already added to the source media file, manually add or remove markers, and import chapter marker lists (described in

Adding Chapter or Podcast Markers to a

Clip

).

To add a compression marker to your clip

1

Open the Preview window.

2

Choose the Show Chapter/Podcast Markers and Show Compression Markers items from the Marker pop-up menu, so there is a checkmark by them.

3

Choose a clip from the Batch Item pop-up menu or click the Batch Item selection button until the clip you want appears in the pop-up menu.

Note: Clips that already contain markers, such as those from Final Cut Pro, will show those markers in the timeline. You can edit those markers the same way you would if you had manually entered them.

4

Do one of the following to determine where the marker is to be placed:

• Drag the playhead where you want to add a marker.

• Enter a timecode value in the playhead timecode field.

5

Do one of the following to add a marker:

• Click the Marker button and choose “Add marker” from the pop-up menu.

• Press M.

Chapter 26

Using the Preview Window

323

A blue marker appears in the timeline.

324

A blue marker appears under the playhead after the marker is added.

Compression markers can be converted to chapter or podcast markers by using the Edit option of the Marker pop-up menu. See

Adding Chapter or Podcast Markers to a Clip

for more information.

To remove a marker from your clip

1

Click either the “Move to Previous Marker” or “Move to Next Marker” control to move the playhead to the marker you want to remove.

2

Do one of the following to remove the marker:

• Click the Marker button and choose “Remove marker” from the pop-up menu.

• Press M.

The marker disappears.

Adding Chapter or Podcast Markers to a Clip

To manually add a chapter or podcast marker to a clip, you first add a compression marker

(as described in the previous section) and then you edit the marker.

Note: A podcast can have both chapter and podcast markers. The only difference is that the viewer can navigate directly to a chapter marker but cannot navigate to a podcast marker. See

Types of Markers

for more information.

To manually add a chapter or podcast marker to a clip

1

Do one of the following to determine where the marker is to be placed:

• Drag the playhead where you want to add a marker.

• Enter a timecode value in the playhead timecode field.

2

Do one of the following to add a marker:

• Click the Marker button and choose “Add marker” from the pop-up menu.

Chapter 26

Using the Preview Window

• Press M.

A blue compression marker appears in the timeline.

3

Open the Markers pop-up menu and choose Edit (or press Command-E).

A dialog for editing the marker appears.

4

Choose Chapter or Podcast from the Type pop-up menu.

5

Enter a name for the marker in the Name field.

For chapter markers, this name appears in the output media file where it can be seen with QuickTime Player, in DVD Studio Pro (where it can be edited), and in playback devices.

For podcast markers, this name does not appear to the viewer.

6

Optionally, enter a URL in the URL field.

This URL applies only to podcasts. The marker’s name appears over the artwork where the viewer can click it to open a web browser to the URL’s website.

7

Optionally, you can assign an image to the marker by choosing one of the following from the Image pop-up menu:

None: No image is associated with the marker.

“Frame in source”: You choose a frame from the source media file. The default image is the frame two seconds further than the frame where the marker is.

From File: This opens a file selection dialog that you use to select a still image file to assign to the marker.

Note: Images assigned to chapter markers are ignored by DVD Studio Pro.

8

Click OK to close the dialog.

The marker in the timeline changes to purple to indicate it is now a chapter or podcast marker. You can use the Previous Marker and Next Marker buttons to select other markers in the timeline to edit.

Chapter 26

Using the Preview Window

325

326

You also have the option of importing a chapter marker list. These lists can use either the

QuickTime TeXML format (an XML-based format for constructing 3GPP-compliant timed text tracks in a QuickTime movie file) or the plain text chapter list files supported by

DVD Studio Pro. See Creating Plain Text Chapter Marker Lists

for information.

To import a chapter marker list

1

Open the Preview window.

2

Choose a clip from the Batch Item pop-up menu or click the Batch Item selection button until the clip you want appears in the pop-up menu.

3

Choose Import Chapter List from the Markers pop-up menu.

A file selection dialog opens so that you can locate and select the chapter marker file for that source media file.

4

Select the chapter marker file and click Open.

The markers are imported and added to the Preview window timeline.

Note: While all markers imported by using a chapter marker list are configured as chapter markers, you can use the marker edit dialog to change them to podcast or compression markers. Additionally, you can add URLs and artwork to them as needed.

Important:

The timecode values in the list must be based on the source media file’s timecode.

Creating Plain Text Chapter Marker Lists

You can create a list of timecode points that Compressor can import to create markers.

The timecode values need to match the timecode of the track’s video clip. The list of timecode values must be a plain text file; you can create it with TextEdit (as long as you save the file as plain text). If you create the list with a more advanced word-processing application, be sure to save the file as a plain ASCII text file with no formatting.

The file must follow these rules.

• Each marker must be on a new line that starts with a timecode value in the 00:00:00:00 format. These values identify the marker positions.

• After the timecode value, you can include a name for the marker. You can use a comma, space, or tab character to separate the timecode value from the marker name.

• Any lines that do not begin with a timecode value are ignored. This makes it easy for you to add comments to the list.

• The timecode values do not have to be listed in chronological order.

Chapter 26

Using the Preview Window

About the Preview Window Keyboard Shortcuts

For a complete list of Preview window keyboard shortcuts, see

Preview Window

Keyboard Shortcuts

in the

Keyboard Shortcuts

chapter.

Chapter 26

Using the Preview Window

327

Creating and Changing

Destinations

27

Compressor allows you to choose where to save your transcoded files.

Without a selected destination, the output file is saved to the same folder as the source media file. This may be satisfactory for your needs, but if there are various remote uploading servers, or if you just want a specific type of output file to end up in a specific location, you must assign that destination.

If you have a volume open on your desktop, it is treated the same as a local destination and allows you to save output media files directly, without the extra steps needed for remote destinations, such as specifying the host name and entering the user name and password. When you use the remote option for your destination, you can save to any folder under the User directory of that remote computer.

Once you have created all your necessary destinations, you won’t have to open the

Destinations tab again, because you can select all destinations directly from the Batch window once they have been created.

Note: Make sure that your output files have access and appropriate privileges to any remote destination you assign.

This chapter covers the following:

About the Destinations Tab

(p. 330)

Using the Inspector with Destinations

(p. 332)

Creating a Destination

(p. 333)

Warning Triangles

(p. 335)

Deleting and Duplicating a Destination

(p. 336)

Creating Destinations for Use with DVD Studio Pro

(p. 337)

329

About the Destinations Tab

You use the Destinations tab together with the Inspector window to create, modify, or remove your destination settings and add file identifiers to your output media filename.

Duplicate button

Default destinations Add and Remove buttons

Default filename identifiers

Filename Template pop-up menu

Sample filename line

330

Custom destinations

The Destinations tab contains the following items.

Destinations list: This lists destination names and pathnames.

There are four default destinations in the Apple folder: Source is the same folder from which the source media file originated; Desktop is the user’s Desktop folder; User’s

Movies Folder is the user’s Movies folder; Cluster Storage is a cluster’s scratch storage location.

Note: Cluster Storage applies only to installations of Compressor that have distributed processing enabled. The distributed processing feature is limited to computers that have Final Cut Studio installed.

Add (+): To create a local or remote destination, click this button and choose either

Local or Remote from the pop-up menu.

Local: If you choose Local, a file selection dialog appears in which you can select a destination folder.

Remote: If you choose Remote, the Remote destination dialog appears. Enter FTP information concerning host name, file path, user, and password for accessing the remote location. You can also enter an iDisk location.

Chapter 27

Creating and Changing Destinations

Duplicate button: Makes a copy of the selected destination, placing it in the Custom folder. Using this option allows you to create a new destination from a preexisting destination, which you can then adjust according to your needs, rather than creating a new destination from scratch.

Remove (-): Removes a selected custom destination from the Destinations tab immediately. You are not asked for confirmation, so be sure you want to remove the destination before clicking this button.

Note: You cannot remove the destinations from the Apple folder.

About the Remote Destination Dialog

If you click the Add (+) button and choose Remote from the pop-up menu to add a remote destination, the Remote destination dialog appears.

Host Name is required.

File Path is required.

The Remote destination dialog contains the following fields.

Name: Use this field to modify the name of the destination preset.

Template: Use this pop-up menu to add file identifiers to your output media file. You can manually edit this field by dragging the elements to reorder them. Selecting any of the following file identifiers adds it to your output media filename:

Date: Date the file was transcoded in the YYYY-MM-DD format

Setting Name: Name of the setting used for the transcoding job

Source Media Name: Source media filename without its extension

Source Media Extension: Extension of the source media file

Sample From Defined Template: Displays a sample of what the output filename will look like with any file identifiers you have added. You cannot edit the Sample line, but it changes dynamically based on the file identifiers you add or delete.

Chapter 27

Creating and Changing Destinations

331

ftp or iDisk: Select the type of remote destination you want to create.

ftp: Select this button if the destination is an FTP server.

iDisk: Select this button if the destination is an iDisk.

Host Name: (Required) Name of the host server. Compressor assumes that the URL scheme being used is ftp, so you don’t need to enter this or any other URL scheme. For example, a valid host name for this field would be da0101wa-dhcp191.lemur.com/ or an an IP Address, such as 192.168.001.010

File Path: (Required) Specifies the path on the host where the output media file will be stored. For example: /Volumes/Movies/OutputMedia. Only enter the path to the location where the output media file will be stored. You don’t need to include the filename.

User: (Optional) This is required only if the host server has access restrictions requiring a user name and password. If anyone can access the host server, you can leave this field blank.

Password: (Optional) This is required only if the host server has access restrictions requiring a user name and password. If anyone can access the host server, you can leave this field blank.

Using the Inspector with Destinations

When you double-click or select a destination in the Destinations tab, the Inspector window opens. It contains the following items:

Name: Use this field to modify the name of the destination preset.

Template: Use this pop-up menu to add file identifiers to your output media file. You can manually edit this field. Selecting any of the following file identifiers adds it to your output media filename.

Date: Date the file was transcoded in the YYYY-MM-DD format

Setting Name: Name of the setting used for the transcoding job

Source Media Name: Source media filename without its extension

Source Media Extension: Extension of the source media file

332 Chapter 27

Creating and Changing Destinations

Sample From Defined Template: Displays a sample of what the output filename will look like with any file identifiers you have added. You cannot edit the Sample line, but it changes dynamically based on the file identifiers you add or delete.

Path: Displays the path to the destination folder.

Creating a Destination

You use the Destinations tab with the Inspector window to create and assign a destination and to add file identifiers to your output file. If you want to save your output media files to a remote destination, you need to enter information into the Remote dialog so that

Compressor can successfully access the remote server.

You can create the following destinations.

Local: Any directory on your own computer

Open Volume: Any shared volume open on your desktop

Remote: A directory in the default location of an FTP or iDisk server, if you have suitable access privileges and permissions

Note: By default, the output media file destination is the same folder from which the source media files originated. You can change the default destination to any other

Destination preset. Choose Compressor > Preferences and use the Default Destination pop-menu to choose from the list of Destination presets.

To create a local or open volume destination

1

Open the Destinations tab.

2

Click the Add (+) button and choose Local from the pop-up menu.

Choose Local from the pop-up menu.

Chapter 27

Creating and Changing Destinations

333

334

The Destination Selection dialog appears.

3

Navigate to your chosen destination folder or open mounted volume, then click Open.

A new destination called Untitled Local-1 appears in the Custom folder of the Destinations tab along with the path to the folder you just assigned.

4

Double-click the new destination in the Destinations tab.

The Inspector window opens, showing relevant information for the new destination.

5

Do either of the following in the Inspector:

• Modify the name of the new destination in the Name field.

• Modify the pathname of the new destination by clicking Choose to open the destination selection dialog and navigating to a new folder.

6

Add file identifiers to your output filename using the pop-up menu in the Template field.

Filename Template pop-up menu

You can also manually edit this field by doing any of the following:

• Drag the file identifiers to rearrange their order.

• Click on either side of the file identifiers to type additional text.

• Use the Delete key on your keyboard to remove any of the file identifiers.

The Sample From Defined Template field in the Inspector window shows a sample of the output filename with its chosen file identifiers. The default file identifier combination is

Source Media Name-Setting Name.

Note: Avoid customizing your filename templates with anything beginning with a period

(.). The resulting file will only be visible via the command line and not visible using the

Mac OS X Finder.

See

About the Destinations Tab

for more details about these settings.

To create a remote destination

1

Open the Destinations tab.

2

Click the Add (+) button and choose Remote from the pop-up menu.

The Remote destination dialog appears. For detailed information about the remote destination dialog, see

About the Remote Destination Dialog .

3

Enter information in the relevant fields, as necessary.

Chapter 27

Creating and Changing Destinations

4

Click OK.

Once you have at least one destination in the Destinations tab other than Source, you can set a new default destination.

To change the default destination

1

Choose Compressor > Preferences.

2

Use the Default Destination pop-up menu to choose from the list of existing destination presets.

The destination you choose appears as the default destination when you import a new source file in the Batch window.

Warning Triangles

When there is a problem with your destination, a yellow warning triangle appears. You must resolve this problem before you can successfully transcode. Warning triangles appear in the Destinations tab if the destination isn’t reachable or writable, and in the Batch window if:

• There is already an identical file at that destination.

• You have two destinations with the same name.

• The destination isn’t reachable or writable.

The warning appears at whatever level the problem originated (preset, job, or batch) and propagates upward, so that if the problem occurs at the preset level, you see warning triangles next to the preset and job.

If you hold the pointer over the warning triangle for a few seconds, a tooltip displays information about the nature of the problem. As soon as you resolve the problem, the warning triangle disappears and you can continue to transcode.

Click the warning triangle in the Batch window to see an explanation dialog.

Chapter 27

Creating and Changing Destinations

335

Deleting and Duplicating a Destination

You can manage destinations by deleting those you no longer need and creating new ones based on existing destinations.

To delete a destination

1

Open the Destinations tab.

2

In the Destinations tab, select the destination you want to remove, then click the Remove

(–) button, or press Delete.

Important:

There is no confirmation step in this process, so you need to be sure you want to remove the destination before clicking the button.

Remove button

To duplicate a destination

1

Open the Destinations tab.

336 Chapter 27

Creating and Changing Destinations

2

In the Destinations tab, select the destination you want to copy, then click the Duplicate button.

Duplicate button

A new entry appears in the Destinations tab with Copy appended to its name. This destination is identical in all other ways. Rename the duplicate destination as appropriate.

The duplicated destination

Creating Destinations for Use with DVD Studio Pro

When you are encoding video and audio files for use in DVD Studio Pro, you can make importing and using the files within DVD Studio Pro easier by creating a custom destination for them.

Chapter 27

Creating and Changing Destinations

337

DVD Studio Pro includes the ability to automatically locate and, if applicable, import or use an audio file when you import or use a video file with the same root name. For example, if you assign a video file to a menu’s background, DVD Studio Pro looks for an audio file with the same name and automatically sets it as the menu’s audio.

The default Compressor destinations add the Setting name to the filename. Since different settings are required to output DVD compatible video and audio files, this results in the video and audio filenames never being the same—even if they are from the same source file.

When creating custom destinations in Compressor, you can choose to not include the preset name file identifier with the output filename.

To remove the setting name from a destination

1

Double-click the destination.

The Template field in the Inspector window lists the file identifiers assigned to the destination.

2

If “Setting name” is listed in the Template field, delete it.

Template field

338 Chapter 27

Creating and Changing Destinations

Using Droplets

28

Compressor allows you to save one or more settings or groups of settings into a Droplet.

A Droplet is a standalone preset created by Compressor, packaged into a drag-and-drop application and saved as an icon.

When you drag source media files to a Droplet icon, they are automatically submitted for transcoding using the specified embedded settings. The transcoding process begins, whether or not Compressor is open.

Drag selected source media files to a Droplet to transcode them.

You can drag any number of media files onto a Droplet. You can double-click a Droplet to open it and see the settings it contains.

Note: Compressor must already be installed on any computer on which you intend to use Droplets.

This chapter covers the following:

Creating Droplets

(p. 340)

About the Droplet Window

(p. 342)

Checking Droplet Settings

(p. 344)

Using a Droplet to Transcode Source Media Files

(p. 346)

Using Droplets to Create Jobs and Settings in Compressor

(p. 348)

Droplet Tips

(p. 349)

339

Creating Droplets

Droplets are easy to create, and once created, allow you to quickly and easily submit source media files for transcoding. Compressor offers two methods for creating Droplets, each with its own advantages. In the Settings Tab, you can use the “Save Selection as

Droplet” button. And, in the File menu, you can choose the Create Droplet item.

Creating a Droplet from the Settings Tab

If you are already working in the Settings tab and you have identified an existing setting from which you want to create a Droplet, the “Save Selection as Droplet” button is a handy tool for creating the Droplet.

To create a Droplet using the “Save Selection as Droplet” button in the Settings tab

1

Open the Settings tab.

2

Select one or more settings or setting groups that you want to save as a Droplet.

• Click the “Save Selection as Droplet” button.

“Save Selection as

Droplet” button

• Control-click the settings you selected and choose Save as Droplet from the shortcut menu.

The Save dialog appears.

340

Note: You can Shift-click or Command-click to add multiple settings and/or setting groups to a Droplet. In this situation, every source media file is transcoded by every setting in the Droplet. For example, if you submitted two source media files to a Droplet containing three settings, Compressor creates six different output media files.

3

In the Save dialog, enter a name for the Droplet in the Save As field and use the Where pop-up menu to navigate to the Droplet location.

You can save your Droplet anywhere on your computer, but it’s most convenient to save it on your desktop, so you can conveniently drag source media files to it.

4

Use the “Choose Destination for Droplet results” pop-up menu to choose a destination folder for the output media files that the Droplet will create.

Chapter 28

Using Droplets

You can only select destinations that have already been created using the Destinations tab. If no custom destinations have been created, only four default Apple destinations appear in the Choose Destination pop-up menu. See

Creating a Destination

for more information about destinations.

5

Click Save.

Your newly created Droplet appears as an icon at whatever location you selected. You are now ready to use it for transcoding.

Creating a Droplet from the File Menu

No matter where you are working in the Compressor application, you can always use the

Create Droplet item in the File menu.

To create a Droplet using the Create Droplet command in the File menu

1

Choose File > Create Droplet.

The Droplet Settings Selection and Save dialog appears.

2

In the Save Droplet dialog, select one or more settings or setting groups that you want to save as a Droplet.

You can Shift-click or Command-click to add multiple settings and/or setting groups to a Droplet. In this situation, every source media file is transcoded by every setting in the

Droplet. For example, if you submitted two source media files to a Droplet containing three settings, Compressor creates six different output media files.

3

In the Save Droplet dialog, enter a name for the Droplet in the Save As field and use the

Where pop-up menu to navigate to the Droplet location.

You can save your Droplet anywhere on your computer, but it’s most convenient to save it on your desktop, so you can conveniently drag source media files to it.

Chapter 28

Using Droplets

341

4

Use the “Destination for files created by the droplet” pop-up menu to choose a destination folder for the output media files that the Droplet will create.

You can only select destinations that have already been created using the Destinations tab. If no custom destinations have been created, only four default Apple destinations appear in the Choose Destination pop-up menu. See

Creating a Destination

for more information about destinations.

5

Click Save.

Your newly created Droplet appears as an icon at whatever location you selected. You are now ready to use it for transcoding.

Drag selected source media files to a Droplet to transcode them.

About the Droplet Window

You can open any Droplet to view its full details as well as add, remove, and modify settings and source media files. You can also modify the filenames for the output media files using the Filename Template and change the destination folder for the output media files that the Droplet will create.

342 Chapter 28

Using Droplets

See

About the Destinations Tab

for more information on using file identifiers.

Source files table

Destination pop-up field

Individual jobs

Jobs table

Submit button

“Show window on startup” checkbox

Job Type Filename Template Show Info button

Add Output and Remove

Output buttons

Action checkbox

(only present for some job types)

Job type identifier

The Droplet window contains the following items.

Destination Folder: This field displays the path to the destination folder for the output media file. You can modify this by clicking the Choose button to open the destination selection dialog and navigating to a new folder.

Source Files: Contains a list of all the jobs in the batch about to be submitted. If the

“Show window on startup” checkbox is selected, the Droplet window opens after you drag your source media files to the Droplet icon, and all the source media files appear in the Source Files table. You can drag one or more source media files into this table, and they will all be transcoded together when you submit the batch, just like a normal batch submission from the Batch window.

Job Type pop-up menu: Use this pop-up menu to select the type of output media file.

The choices are: Apple TV, Blu-ray, DVD, iPhone, iPod, MobileMe, YouTube, and Other.

The Other option opens a dialog in which you can choose from a list of existing

Compressor settings. For a complete description of each these job types, see Quick and Easy Compressor Workflow: Batch Template Method

and

About Job Actions .

Chapter 28

Using Droplets

343

344

Jobs table: Each job in this table represents a separate media file that will be generated from each item in the Source files list.

Filename Template: Compressor automatically enters a filename in this field for the output media file. The first part of the filename is based on the source file name.

Compressor also automatically appends an output type identifier (such as “iPod” or

“YouTube”) at the end of the filename. You can manually edit any portion of the filename by double-clicking it.

Job type identifier: Compressor automatically appends an output type identifier (such as “iPod” or “YouTube”) at the end of each filename. You can manually edit any output type identifier by double-clicking it.

Add/Remove Output buttons: Click Add Output to create additional outputs. To remove a particular output, click its Remove Output button.

Show Info button: Click this button to display extensive details about the current setting and the output media file. If you are transcoding multiple source files, you can view information about each individual media file.

Action checkbox: Select this checkbox to activate any post-transcoding actions (beyond simply creating the output media file). For more information, see

Adding Job Actions .

“Show window on startup” checkbox: When this checkbox is selected, the Droplet window opens when you drag source media files to the Droplet icon, before the batch is submitted. This allows you to verify the settings contained within the Droplet. If the checkbox is not selected, the batch is submitted as soon as the batch is dragged to the Droplet icon (as long as there are no errors), and the Droplet window doesn’t open.

Submit: Click this button to open the submit dialog and submit the batch. For more information about submitting, see

Using a Droplet to Transcode Source Media Files

and

Submitting a Batch

. You only need to do this if the “Show window on startup” checkbox is selected; if this checkbox is not selected, the batch is submitted automatically.

Checking Droplet Settings

This section describes several ways to check and adjust Droplet settings.

“Show window on startup” Checkbox

The “Show window on startup” checkbox at the bottom of the Droplet window determines whether or not a Droplet window opens when a batch is dragged to a Droplet icon. If it is selected, the Droplet window opens when you drag a batch to the Droplet icon, and you can view the Droplet settings.

Chapter 28

Using Droplets

If this checkbox is not selected, double-click the Droplet icon to open its window and see the settings.

Show Details button

“Show window on startup” button

See

About the Droplet Window

for more information about Droplet settings.

Show/Hide Details Button

Use this button to open or close the action drawer for any particular job. You can use the action drawer to apply and adjust job actions. For more information about post-transcoding actions, see

Adding Job Actions .

Show/Hide

Details button

MobileMe

Action drawer

Chapter 28

Using Droplets

345

Info Button

Click the Info button on any job to get detailed information about the resulting output media file.

“Show info for” pop-up menu

Note: If you are transcoding multiple source files, you can use the “Show info for” pop-up menu in the Info dialog to choose which particular source media file will have its details displayed.

Using a Droplet to Transcode Source Media Files

Once you have created a Droplet, you can transcode source media files by dragging them to the Droplet icon.

To transcode source media files using a Droplet

1

Drag your selected source media files over the Droplet icon.

The “Show window on startup” checkbox at the bottom of the Droplet window determines what happens next.

If the “Show window on startup” checkbox is not selected: The Droplet begins transcoding the source media files immediately.

346 Chapter 28

Using Droplets

If the “Show window on startup” checkbox is selected: The Droplet window opens with the source media files displayed in the Droplet Source Files table. Proceed to step 2 to submit your batch.

If the Droplet window opens, you can view its full details as well as add, remove, and modify settings and source media files. You can also modify the filenames for the output media files using the Filename field and change the destination folder for the output media files that the Droplet will create.

2

When you’re satisfied with the settings, click Submit.

The submit dialog appears. For detailed information about the submit dialog, see

Submitting a Batch .

3

Enter a name for the batch in the Name field.

This is useful for identifying the batch in Batch Monitor.

4

Use the Cluster pop-up menu to choose which computer or cluster will process the batch.

The default Cluster setting is This Computer, which means Compressor will not involve any other computers in completing the batch. You can choose from any other available clusters that appear in this list. See the Distributed Processing Setup Guide, available in

Compressor Help, for more details on setting up an Apple Qmaster distributed processing network.

5

Select the “Include unmanaged services on other computers” checkbox to create an ad hoc cluster including This Computer and any available service nodes.

This is part of the AutoCluster feature. See

About AutoCluster and Unmanaged Services

for more information.

6

Use the Priority pop-up menu to choose priority level for the batch.

7

Click Submit or press Enter to submit the batch for processing.

Each source media file is processed according to the existing setting or group of settings contained within the Droplet.

Chapter 28

Using Droplets

347

8

Open Batch Monitor if you want to view the processing status of your source media files.

See the Batch Monitor User Manual for more information.

If a Droplet window is open, you can drag your source media files directly to the Source

Files table and submit them for transcoding.

To transcode source media files using an open Droplet

1

Double-click the Droplet icon to open it.

2

Using the Finder, locate the source media files and drag them into the Droplet’s Source

Files table.

348

3

Modify your Droplet settings as necessary, then click Submit.

Each source media file is processed according to the existing setting or group of settings contained within the Droplet. For example, if you submitted two source media files to a

Droplet containing three settings, Compressor would create six different output media files.

4

Open Batch Monitor if you want to view the processing status of your source media files.

Using Droplets to Create Jobs and Settings in Compressor

You can drag Droplets from the Finder to the Batch window in Compressor to either create a complete job/target based on the Droplet or apply targets (settings and destinations) to existing jobs in the Batch window.

To create new jobs using Droplets

µ

Drag a Droplet to an empty space in the Batch window.

A new job appears with one or more target rows populated from the Droplet's properties, including settings and destinations.

To create new targets using Droplets

µ

Drag a Droplet to an empty space on a job tile in the Batch window.

Chapter 28

Using Droplets

One or more new target rows appear on the job, populated from the Droplet's properties, including settings and destinations.

Droplet Tips

Here are some additional tips on using Droplets to transcode source media files.

Droplets and Compressor Processing Services

If you drag files to a Droplet icon without first opening the application or opening a

Droplet, Compressor may display an alert message (“This computer is unavailable”), indicating that Compressor processing services have not yet started up in the background.

Click Submit at the bottom of the Droplet window. Compressor processing services will start up and transcode the files.

Droplets and Large Numbers of Source Media Files

If you submit a large number of source media files (such as 200 or more) using a Droplet, there may be a delay of about 1 minute between the “Getting ready for processing” alert message and the dialog reporting that the job is being submitted. You can avoid this reporting delay by reducing the number of source files you submit at one time with a

Droplet.

Chapter 28

Using Droplets

349

Keyboard Shortcuts

A

Compressor keyboard shortcuts can maximize your efficiency with Compressor.

This appendix covers the following:

General Compressor Keyboard Shortcuts

(p. 351)

Preview Window Keyboard Shortcuts

(p. 352)

General Compressor Keyboard Shortcuts

Keyboard shortcut

option

I

Function

Brings the Inspector window to the front.

Brings the History window to the front.

1

Brings the Preview window to the front.

2

Brings the Settings tab to the front.

3

Brings the Destinations tab to the front.

4

Saves the current batch.

S

Saves the current batch as a new batch.

shift

S

Opens a saved batch.

,

O

Opens the Preferences window.

Imports a source asset to create a new job in the batch.

I

Opens dialog to replace the source of the current job.

shift

I

Creates a new surround sound group job in the batch.

control

I

Creates a new image sequence job in the batch.

option

I

351

352

Keyboard shortcut

option

I return delete tab

Function

Submits the current batch.

Submits a batch from an open Droplet.

Removes a selected item from the Batch, Preview, or Destinations window.

Navigates up list items in the Batch, Destinations, Settings, and

Filters lists.

Navigates down list items in the Batch, Destinations, Settings, and

Filters lists.

Navigates through text fields in all panes.

Opens the Mount Cluster Storage dialog.

Opens Compressor Help.

shift shift

M

?

I

O

Preview Window Keyboard Shortcuts

Keyboard shortcut

J

Function

Starts fast reverse motion.

Starts fast forward motion.

L

Moves the clip backward frame by frame.

space

M

E

Moves the clip forward frame by frame.

Starts or stops clip playback.

Adds or removes a marker.

When the playhead is positioned on a marker, opens the Edit Marker dialog.

Sets an In point for the clip.

Sets an Out point for the clip.

Appendix A

Keyboard Shortcuts

Solving Problems

B

If you are having trouble working with Compressor, look here for answers to your questions.

This appendix covers the following:

Resources for Solving Problems

(p. 353)

Solutions to Common Problems

(p. 353)

Contacting AppleCare Support

(p. 358)

Resources for Solving Problems

If you run into problems while working with Compressor, there are several resources you can use to find a solution.

This appendix: This appendix includes information about some of the most frequent issues users encounter.

Release Notes: The Release Notes document, available from the Help menu, provides up-to-date information that didn’t make it into the manual. Be sure to consult this document as soon as you install or upgrade Compressor.

AppleCare Knowledge Base: AppleCare Support maintains a database of common support issues that is updated and expanded to include new issues as they arise. This is an excellent, free resource for Compressor users. To access the AppleCare Knowledge Base, go to the AppleCare support page at http://www.apple.com/support .

AppleCare Support: There are a variety of support options available to Final Cut Studio customers. For more information, see the Apple service and support guide that was included with your Final Cut Studio package.

Solutions to Common Problems

The following tips address some common issues.

353

354

Exporting from Final Cut Pro and Distributed Processing

You can use Compressor to transcode sequences or clips from within other applications, such as Final Cut Pro. This saves time and hard disk space by eliminating the need to export self-contained media files before processing them.

There are two methods you can use to avoid exporting self-contained media files for

Compressor distributed processing:

• Export a sequence directly from Final Cut Pro to Compressor and then submit that job to a cluster in an Apple Qmaster distributed processing network. In this workflow,

Final Cut Pro opens on each processing node in that cluster to complete the job.

• Export the Final Cut Pro sequence as a QuickTime reference movie and then submit the resulting movie to the cluster for processing. This method does not require that

Final Cut Pro be installed on each computer in the distributed processing cluster.

Note: You can also use distributed processing with the Share feature in Final Cut Pro and

Motion. For more information, see the Final Cut Pro User Manual or the Motion User Manual.

To export a Final Cut Pro sequence directly to Compressor for distributed processing

1

Make sure Final Cut Pro is installed on each computer in the cluster that you intend to use for distributed processing.

Each installation of Final Cut Pro requires a product serial number. For information about volume licenses, go to http://www.apple.com/finalcutstudio .

2

Make sure all of the source media files and render files for your Final Cut Pro project are on a hard disk that can be shared (mounted) by all the computers in the cluster that will process the job. (The following instructions use an example of a shared hard disk named

Media1.)

If you copy all the media files to another hard disk for this purpose, you may need to reconnect the media files in Final Cut Pro before proceeding.

Important:

The hard disk you use to store the media files may not be a startup disk for any computer in the cluster.

3

In Final Cut Pro, set the scratch disk to the same hard disk used for storing media files in step 2:

a

Choose Final Cut Pro > System Settings, then click the Scratch Disks tab.

b

Click Set.

c

In the dialog that appears, locate and select the disk you want to use (Media1 in this example).

d

Click Choose. The specified disk (Media1) is listed next to the Set button, along with the amount of available disk space.

For more information about Final Cut Pro scratch disks, see the Final Cut Pro User Manual.

Appendix B

Solving Problems

4

Enable file sharing on the computer where the scratch disk (Media1) is located (in the

Sharing pane of System Preferences, click Services and then select Personal File Sharing).

5

On each computer in the intended cluster, mount the scratch disk you specified in step

3 (in the Finder sidebar, click Network, navigate to the computer that contains the Media1 disk, click Connect, and select Media1).

6

In Compressor preferences, specify cluster options settings:

a

Choose Compressor > Preferences, or press Command-Comma (,).

The Preferences window appears.

b

Choose “Copy Source to Cluster as Needed” from the Cluster Options pop-up menu.

7

In Final Cut Pro, choose File > Export > Using Compressor.

Compressor opens with the selected media file (the Final Cut Pro sequence) in the Batch window.

8

In Compressor, double-click the selected file and play it in the Preview window to verify the integrity of the clip.

9

In the Batch window, assign settings and destinations to the selected file as necessary.

10

Choose the intended cluster from the Cluster pop-up menu in the lower-left corner of the Batch window.

11

Click Submit.

To export a Final Cut Pro sequence as a QuickTime reference movie and submit it to

Compressor for distributed processing

1

Make sure all of the source media files and render files for your Final Cut Pro project are on a hard disk that can be shared (mounted) by all the computers in the cluster that will process the job. (The following instructions use an example of a shared hard disk named

Media1.)

If you copy all the media files to another hard disk for this purpose, you may need to reconnect the media files in Final Cut Pro before proceeding.

Important:

The hard disk you use to store the media files may not be a startup disk for any computer in the cluster.

2

In Final Cut Pro, choose File > Export > QuickTime Movie.

3

In the Save dialog, make sure that the Make Movie Self-Contained checkbox is not selected.

4

Save the QuickTime reference movie to the same hard disk (Media1) used to store media files in step 1.

5

Enable file sharing on the computer where the scratch disk (Media1) is located (in the

Sharing pane of System Preferences, click Services and then select Personal File Sharing).

Appendix B

Solving Problems

355

356

6

On each computer in the intended cluster, mount the hard disk (Media1) where the media files and QuickTime reference movie are located (in the Finder sidebar, click Network, navigate to the computer that contains the Media1 disk, click Connect, and select Media1).

7

In Compressor preferences, specify cluster options settings:

a

Choose Compressor > Preferences, or press Command-Comma (,). The Preferences window appears.

b

Choose “Never Copy Source to Cluster” from the Cluster Options pop-up menu.

8

Import the QuickTime reference movie into Compressor. (Drag it from the desktop to the

Compressor Batch window.)

9

Double-click the file in the Batch window and play it in the Preview window to verify the integrity of the clip.

10

In the Batch window, assign settings and destinations to the selected file as necessary.

11

Choose the intended cluster from the Cluster pop-up menu in the lower-left corner of the Batch window.

12

Click Submit.

QuickTime Reference Movies

If you submit a reference movie for distributed processing, the Apple Qmaster distributed processing system will automatically copy the appropriate media files to the processing cluster. For the best performance, you can avoid this file transfer step by making sure that the media files specified in the reference movie are available to each node of the

Apple Qmaster cluster. For more information, see the Distributed Processing Setup Guide, available in Compressor Help, and

Exporting from Final Cut Pro and Distributed Processing

.

Cluster Settings for Extended Transcoding Sessions

If you are using Compressor 2 or later for distributed processing, and you anticipate a transcoding session that will last up to seven days or longer, you must make an adjustment in the Advanced section of the Apple Qmaster preferences pane. By default, temporary process files may remain on a cluster’s scratch location for seven days before they are automatically deleted. You can increase this value (the number of days) in the

Apple Qmaster pane of System Preferences.

Cleaning Up Cluster Storage

If you are using cluster storage and an error occurs, partial files may be left on the designated cluster storage location. Check the designated cluster storage location to make sure no partial media files are left there. If you find partial media files, delete them and submit the job again.

Appendix B

Solving Problems

Using Apple Qmaster with an NFS Server

By default, Apple Qmaster uses /etc/exports to define its Cluster Storage export. This can cause a conflict if you defined an NFS export in your local NetInfo database. When you enable a controller using Apple Qmaster 2 or later, Apple Qmaster uses /etc/exports, not entries defined in your NetInfo database. To work around this issue, either move the exports to /etc/exports, or move the controller to a computer that doesn’t export anything.

Apple Qmaster Distributed Processing and Xsan

Here are some tips on using the Apple Qmaster distributed processing system with Xsan.

Restarting Apple Qmaster and Xsan

Using previous versions of Apple Qmaster distributed processing on an Xsan may cause mounting problems when restarting an Apple Qmaster distributed processing cluster controller.

Restart Apple Qmaster and Xsan computers in the following order

1

Turn off the cluster controller by clicking Stop Sharing in the Apple Qmaster pane of

System Preferences.

2

Restart the Apple Qmaster cluster controller computer.

3

Wait for the Xsan volume to mount on the desktop.

4

Click Start Sharing in the Apple Qmaster pane of System Preferences to restart the controller.

Xsan Compatibility

Xsan 1.3 is not compatible with Compressor and the Apple Qmaster distributed processing system when Xsan media drives are used for cluster (scratch) storage. To use Xsan with

Apple Qmaster 2.3, update to Xsan 1.4.

To download and install Xsan 1.4

µ

Go to http://www.apple.com/support/xsan .

Compressor Command-Line Usage Requires Login

Although it is possible to use the command line to run an Apple Qmaster distributed processing network, each Compressor service node (each computer providing Compressor distributed processing services) must be logged in (with a Mac OS X user name and password) for full functionality.

Create Blu-ray Disc Job Action

If you attempt to use the HD DVD H.264 setting with a Create Blu-ray Disc job action, an error message will result. The following is a better-worded version of the error message:

“Cannot create a Blu-ray Disc because there is no target that is either a Blu-ray Disc MPEG-2 video elementary stream or a Blu-ray Disc H.264 stream."

Appendix B

Solving Problems

357

Contacting AppleCare Support

Information about the support options available from Apple is included in your

Final Cut Studio package. Several levels of support are available.

Whatever your issue, it’s a good idea to have the following information immediately available when you contact Apple for support. The more of this information you have to give to the support agents, the faster they will be able to address your issue.

• The Support ID number found on the back of the Installing Your Software booklet that came with Final Cut Studio.

Note: The 11-digit Support ID number is different from the product serial number used to install Final Cut Studio.

• The version of Mac OS X you have installed. This information can be viewed by choosing

About This Mac from the Apple menu.

• The version of Compressor you have installed, including updates if applicable. The version number can be viewed by choosing Compressor > About Compressor.

• The model of computer you are using.

• The amount of RAM installed in your computer, and how much is available to

Compressor. You can find out how much RAM is installed by choosing About This Mac from the Apple menu.

• What other third-party hardware is connected to or installed in the computer, and who the manufacturers are. Include hard disks, graphics cards, and so on.

• Any third-party plug-ins or other software installed along with Compressor.

In certain support situations, AppleCare may require information about both your computer and how this particular application is configured. Choosing Help > Create

Support Profile creates a file that contains the necessary information and can be emailed to AppleCare. You would not normally use this feature unless directed to by an AppleCare representative.

AppleCare Support can be reached online at http://www.apple.com/support/compressor .

There is also an item in the Help menu that will take you directly to the AppleCare website.

To go to the AppleCare website from within Compressor

µ

Choose Help > Compressor Support.

358 Appendix B

Solving Problems

Using the Command Line

C

If you are accustomed to doing your work from Terminal shells, and you need or prefer to run Compressor from the command line with minimal use of application interfaces, this appendix is for you.

This appendix covers the following:

Installing Apple Qmaster from the Command Line

(p. 359)

Using the Command Line for Distributed Processing

(p. 360)

Using Scripts to Run Apple Qmaster, Compressor, and Batch Monitor

(p. 367)

Installing Apple Qmaster from the Command Line

Follow these steps to install Apple Qmaster software on each computer you want to use for distributed processing. (All computers must be on the same subnet.)

Note: On any given Final Cut Studio system or network, the Compressor and

Apple Qmaster version (numbers) and the version of QuickTime must all match. For example, Compressor 3.0.5 will work only with the 3.0.5 version of Apple Qmaster, and no other version. In this example, the correct version of QuickTime is QuickTime 7.5.5 or later. Non-matching configurations are not supported.

To install Apple Qmaster software from the command line

1

Copy the standalone installer package (AppleQmasterNode.mpkg) to the remote system.

Note: Do not alter the file hierarchy of the packages.

2

Log in to the remote system.

3

Enter the following command: sudo installer -pkg AppleQmasterNode.mpkg -target /

Apple Qmaster processes start automatically after installation.

4

Repeat these steps for each computer in your distributed processing network.

Tip: You can also install Apple Qmaster using Apple Remote Desktop. Just select a node, click Install Package, and select the standalone installer package

(AppleQmasterNode.mpkg). The copy and installation process is done automatically.

359

360

Using the Command Line for Distributed Processing

The following sections describe how to issue shell commands (from the command line) to run your distributed processing network.

Shell Commands for Configuring Service Nodes and Cluster Controllers

As an alternative to using the Apple Qmaster pane in System Preferences, you can use the command qmasterprefs

, with command-line options for enabling and disabling service node and cluster-controlling services.

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 enabling and disabling Apple Qmaster services on a computer. The qmasterprefs command is located in /usr/sbin.

qmasterprefs [options] [-cluster <on | off> [options]] [-service <name> <on

| off> [options]]

Command Options

This table provides information about each of the enabling and disabling service-node and cluster-controlling services on a computer.

Preference command option

-help

-list

-resetCluster

[cancelJobs]

Description

Displays information about supported options for qmasterprefs

.

Lists the current qmasterprefs settings.

Restarts cluster processes.

cancelJobs deletes batches in the queue.

-allowBonjourDiscovery

<on | off>

Enables or disables Bonjour advertisements.

-startSharing

[servicesOnly | servicesAndCluster | servicesAndQuickCluster]

Sets sharing state. (Similar to the Apple Qmaster pane in System

Preferences.)

-stopSharing

-restart

-reset

Stops Apple Qmaster services on local computer.

Restarts all Apple Qmaster services.

Resets Apple Qmaster services to default configuration.

-launchContentAgent <on

| off>

Automatically launches content agent at startup.

-log [0-5] [truncate on

| off]

-statusMenu <on | off>

Sets logging level. Default is 3. Off is 0. Sets whether logs are overwritten when services are restarted.

Displays service node status indicator in menu bar.

Appendix C

Using the Command Line

Preference command option

-cluster <on | off>

[options]

Description

Turns cluster-controlling services on or off. All [options] are:

[timeout min] [[quickcluster] servername name]

[maxactivetargets val] [maxactivesegments val]

[storagepath path] [privatestorage on|off]

[publishedstorage on|off]

[storagecleanupthreshold days] [unmanagedservices

on|off] [unmanagedmulticapturethreshold sec]

[networkinterface allinterfaces | <bsd name>]

[log [0-5] | [truncate on|off]]

-service “name” [on|off]

[options]

Turns service on or off. Valid names are

Rendering or

"Compressor Processing"

. All [options] are: [timeout min]

[sharing on|off ] [instances n] [autorestart on|off ] [unmanaged on|off ]

[log [0-5] [truncate on|off ]]

Note: For a complete list of shell command options, enter qmasterprefs -help

.

Example of the qmasterprefs Command

In the following example, the computer is set to be a cluster controller, bound to the primary network interface (en0), with logging set to verbose, with the logs not overwritten.

The

Rendering service is on, with 4 managed services and logging set to verbose, with the logs not overwritten. The

Compressor Processing service is configured with the same settings, with two instances.

qmasterprefs -sharingType servicesAndCluster -cluster on networkinterface en0 log 5 truncate off -service Rendering on sharing on instances 4 unmanaged

off log 5 truncate off -service "Compressor Processing" on sharing on instances 2 unmanaged off log 5 truncate off

To reset controller and service configurations

µ

Enter the following: qmasterprefs -reset

To reset all controller and service processes and cancel all batches in queue

µ

Enter the following: qmasterprefs -resetCluster cancelJobs

To stop sharing

µ

Enter the following: qmasterprefs -stopSharing

To start sharing

µ

Enter the following: qmasterprefs -startSharing

Appendix C

Using the Command Line

361

362

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 <name>][-clusterid

<username:password@ipaddress:portNumber>] [-batchfilepath <path>] [-batchname

<batchname>] [-priority <value>] [-jobpath <path>] [-settingpath <path>]

[-destinationpath <path>] [-info <xml>] [-timeout <seconds>] [-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.

Appendix C

Using the Command Line

Additionally, if you specify

-batchfilepath

, then

-jobpath

,

-settingpath

, and

-destinationpath are not necessary because the previously saved batch file already contains information about the job, settings, and destination.

Example of

-batchfilepath

:

Compressor -clustername "This Computer" -batchfilepath

"/Volumes/Hermione/SavedCompressorBatches/FreeChampagne.compressor"

Once the job is submitted successfully, this command displays the batch ID (identifier) and job ID (identifier) in the shell, and you can monitor the progress of a batch in

Batch Monitor.

Command Options

This table provides information about each of the command options for submitting jobs.

Submission command option

-clustername <name>

-password <value>

-batchname <name>

-clusterid <user name:password@IP address:port number>

-priority <value>

-jobpath <url>

-settingpath <url>

-destinationpath <url>

-info <xml>

-timeout <seconds>

-show

Description

Use to specify the name of the cluster to which you want to send the job. Using the cluster name, Compressor looks for the cluster on the network in order to use it.

User password for the cluster specified by ID or name.

Use to specify a name for the batch so that you can easily recognize it in Batch Monitor.

Optionally, you can use

-clusterid to enter the cluster ID and port number instead of using

-clustername

. (When you enter the cluster ID and port, less time is required to find the cluster on the network.)

Or, if you used

-clustername and the cluster requires a password, use

-clusterid to specify the user name and password. (You need to include the

IP address:port number as well whenever you use

-clusterid

.)

Use

Compressor -show to see a cluster's IP address and port number.

Specifies the priority level for a job.

Specifies the location of the source file.

Specifies the location of the settings for the job.

Specifies the destination file URL for the job.

Gives detailed information for a batch or a job.

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

Shows the ID information for the cluster specified with

-clustername or

-clusterid

, or for all clusters if no cluster is specified.

Appendix C

Using the Command Line

363

364

Submission command option

-help

Description

Displays information regarding the required parameters for the

Compressor command.

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.

• Batch name 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 Submitting Apple Qmaster Jobs

You can use the Apple Qmaster command,

Apple Qmaster

, 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

Apple Qmaster command is located in /Applications/Apple Qmaster.app/Contents/MacOS/.

Apple Qmaster [-clustername <name>] [-clusterid <user name:password@IP address:port number>][-command <command type> -options <XML command>

[-wd<working directory>] [-timeout <seconds>] [-show] [-batchname <name>]

[-help]

Once the job is submitted successfully, this command displays the batch ID (identifier) and job ID (identifier) in the shell.

Command Options

This table provides information about each of the command options for submitting jobs.

Appendix C

Using the Command Line

Submission command option

-clustername <name>

-batchname <name>

-clusterid <user name:password@IP address:port number>

-command <command type>

-options <XML command>

-wd <working directory>

-timeout <seconds>

-show

-help

Description

Use to specify the name of the cluster to which you want to send the job. Using the cluster name, Apple Qmaster looks for the cluster on the network in order to use it.

Use to specify a name for the batch so that you can easily recognize it in Batch Monitor.

Optionally, you can use

-clusterid to enter the cluster ID and port number instead of using

-clustername

. (When you enter the cluster ID and port, less time is required to find the cluster on the network.)

Or, if you used

-clustername and the cluster requires a password, use

-clusterid to specify the user name and password. (You need to include the

IP address:port number as well whenever you use

-clusterid

.)

Use

Apple Qmaster -show to see a cluster’s IP address and port number.

Specifies the kind of command you are entering:

Shell, Shake,

Maya, or other command, depending on the application you want to use for distributed processing.

Specifies the command with XML code. Enter the XML code after

-options

, with the necessary qualifiers for entering it in a shell.

See

Example of Shake Command XML

, next, for an example.

If no

-option is entered, the values from the application’s preferences file, in ~/Library/Preferences/, are used (which are the values of the most recent job submitted).

Use to specify the working directory path (from which the command should be executed). The default working directory is

/Applications/Shake.

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

Shows the ID information for the cluster specified with

-clustername or

-clusterid

, or for all clusters if no cluster is specified.

Displays information about supported options for

Apple Qmaster

.

Example of Shake Command XML

The code below is an example of XML code for submitting a Shake command.

/Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername

elvis -command "Shake" -options "<command executable="/Applications/Shake/shake.app/Contents/MacOS/shake" script="/Volumes/Data/scripts/applestyle.shk" start="1" end="1000" stepsOf="1" minCount="10" otherOptions="" previewNode="" previewWidth="0" shutterOn="yes" motion="yes" proxyFlags="0" proxyScale="1.000000" proxyRatio="1000.000000" shutter="1.000000"></command>"

Appendix C

Using the Command Line

365

366

Note: Apple Qmaster stores the XML code for the last command you entered in

~Library/Preferences/com.apple.AppleQmaster.plist. You can copy the command in XML form there, and customize it to use for a new job submission.

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

µ

Use the following command:

Batch Monitor [-clustername <name>] [-clusterid <IP address> <port number>

<user name> <password>] -kill -jobid <identifier> -batchid <identifier>

Command Options

This table provides information about each of the command options for monitoring batches.

Monitoring command option

-clustername <name>

-password <value>

-clusterid <user name:password@IP address:port number>

-jobid <identifier>

-batchid <identifier>

Description

Use to specify the name of the cluster to which the job was sent.

User password for the cluster specified by ID or name.

Optionally, you can use

-clusterid to enter the cluster ID and port number instead of using

-clustername

.

Or, if you used

-clustername and the cluster requires a password, use

-clusterid to specify the user name and password. (You need to include the

IP address:port number as well whenever you use

-clusterid

.)

Use

Apple Qmaster -show or

Compressor -show to see a cluster’s IP address and port number.

Use to specify the job you want to monitor.

When you use the

-jobid option, you must also specify the

-batchid

, in the form of the name that was given to the batch when it was submitted. (The

-batchid and

-jobid are displayed after a batch is submitted.)

If you do not use the

-jobid option, all the jobs submitted to the specified cluster are listed.

Appendix C

Using the Command Line

Monitoring command option

-timeout <seconds>

-query <seconds>

Description

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

Use to specify how frequently, in seconds, the job status should be updated.

Cancels the specified job or batch.

-kill -jobid

<identifier> -batchid

<identifier>

-help

Displays information about supported options for

Batch Monitor

.

Using Scripts to Run Apple Qmaster, Compressor, and

Batch Monitor

To simplify your use of the command line, you can add command-line friendly scripts to

/usr/bin. Each script sets an ENV variable for location and then executes the binary. Using the following scripts would be useful if you frequently use the command line for submissions or automated submissions. You do not need to specify the full path, and you can add frequently used ENV variables and options to speed up the submission process. To run Apple Qmaster, Compressor, or Batch Monitor, you can simply open up a terminal and type qmaster

, compressor

, or batchmonitor

.

Apple Qmaster Script Example

#!/bin/csh -f

#

# set env var, QMASTER_LOCATION if not set

# if ${? QMASTER_LOCATION} == 0 then

pushd `dirname $0` >& /dev/null

setenv QMASTER_LOCATION /Applications/Apple\ Qmaster

popd >& /dev/null endif

#

# launch qmaster

# exec ${QMASTER_LOCATION}/Apple\ Qmaster.app/Contents/\

MacOS/Apple\ Qmaster $argv:q

Appendix C

Using the Command Line

367

Compressor Script Example

#!/bin/csh -f

#

# set env var, COMPRESSOR_LOCATION if not set

# if ${?COMPRESSOR_LOCATION} == 0 then

pushd `dirname $0` >& /dev/null

setenv COMPRESSOR_LOCATION /Applications/Compressor.app/Contents/MacOS

popd >& /dev/null endif

#

# launch Compressor

# exec ${COMPRESSOR_LOCATION}/Compressor $argv:q

Batch Monitor Script Example

#!/bin/csh -f

#

# set env var, BATCHMONITOR_LOCATION if not set

# if ${?BATCHMONITOR_LOCATION} == 0 then

pushd `dirname $0` >& /dev/null

setenv BATCHMONITOR_LOCATION

"/Applications/Utilities/Batch Monitor.app/Contents/MacOS"

popd >& /dev/null endif

#

# launch Batch Monitor

# exec "${BATCHMONITOR_LOCATION}/Batch Monitor" $argv:q

368 Appendix C

Using the Command Line

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement