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

    Figure. Job Action tab in the Inspector window.

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.

About Job Actions

This section describes the user interface for each job action.

Add to iTunes Library

Use this form to automatically add output media files to iTunes.

Figure. Job action form for adding output media files to iTunes.
  • Title: Enter the text you want to appear as the title of the file in your iTunes library.
Create DVD

Use this form to enter information and settings for the DVD you want to burn.

Figure. Job action form for creating a DVD.
  • Eject button: Depending on your optical media drive type, click this button to eject optical media from the drive or open the drive’s media tray.
  • Title field: Use this field to enter a name for the program on the DVD.
  • 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.
  • Background pop-up menu: Opens a dialog for you to locate and select a still image to use as the menu’s background.
  • 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.

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.

Figure. Job action form for creating a Blu-ray disc.
  • Eject button: Depending on your optical media drive type, click this button to eject optical media from the drive or open the drive’s media tray.
  • Title field: Use this field to enter a name for the program on the Blu-ray disc.
  • 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.
  • Background button: Opens a dialog for you to locate and select a background graphic.
  • Logo Graphic button: Opens a dialog for you to locate and select a logo graphic.
  • 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.

    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.

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.

Figure. Job action form for creating a web reference movie.
  • 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.
Open with Application

Use this form to specify an application to open the output media file.

Figure. Job action form for opening an output media file with a specific application.
Prepare for HTTP Live streaming

Use this form to create a set of files you can use to stream audio and video to iPad, iPhone, iPod touch, and Mac, using an ordinary web server. Designed for mobility, HTTP live streaming can dynamically adjust movie playback quality to match the available speed of wired or wireless networks. HTTP live streaming is great for delivering streaming media to your iOS-based application or HTML5-based website. For detailed information on implementing HTTP live streaming, see the Apple Developer HTTP live streaming website.

Figure. Job action form for creating output files for HTTP live streaming.
  • Choose button: Click Choose to open a dialog for locating a destination for the HTTP live streaming assets.
  • Segment Duration number field: Enter a value (in seconds) to define the segment lengths for the media. This value defines how the video streams are split into chunks. This segmentation defines when the web server can switch between the various video formats while streaming to a device with varying network connection speeds. A smaller value allows the server to respond more quickly to changing connection speeds.
  • Create Read Me file with sample HTML checkbox: Select this to include a file with basic HTTP live streaming usage information.
Run Automator Workflow

Use this form to choose an Automator script to run.

  • 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.
    Figure. Job action form 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.

Note: To upload multiple YouTube output media files in one batch, create a separate job for each output media file.

Figure. Job action form for publishing an output media file to a YouTube account.

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.
  • Make this movie private checkbox: Select this checkbox to control viewing access to 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.
Publish to Facebook

Use this form to enter information about movies you want to publish to a Facebook account on the web.

Note: To upload multiple Facebook output media files in one batch, create a separate job for each output media file.

Figure. Job action form for publishing an output media file to a Facebook account.

Important: You must complete all fields for successful uploading.

  • Email: Use this field to enter the email address for a Facebook account.
  • Password: Use this field to enter a Facebook 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.
Publish to Vimeo

Use this form to enter information about movies you want to publish to a Vimeo account on the web.

Note: To upload multiple Vimeo output media files in one batch, create a separate job for each output media file.

Figure. Job action form for publishing an output media file to a Vimeo account.

Important: You must complete all fields for successful uploading.

  • Email: Use this field to enter the email address for a Vimeo account.
  • Password: Use this field to enter a Vimeo 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 Vimeo. For more information, see Vimeo help.
Publish to CNN iReport

Use this form to enter information about movies you want to publish to a CNN iReport account on the web.

Note: To upload multiple CNN iReport output media files in one batch, create a separate job for each output media file.

Figure. Job action form for publishing an output media file to a CNN iReport account.

Important: You must complete all fields for successful uploading.

  • Email: Use this field to enter the email address for a CNN iReport account.
  • Password: Use this field to enter a CNN iReport password.
  • Subject: Use this field to enter the name of the movie you are publishing.
  • Body: Use this field to enter a description of the movie you are publishing.
Send Email

Use this form to enter information for an email that is composed when the job completes. This email contains the actual output file and opens in Mail so that you can further edit the email’s contents and other settings. Once you are done editing the email, you can click Send.

Figure. Job action form for using email to distribute an output media file.
  • Send To: Enter the email address to where you want the email to be sent. You can enter multiple email addresses, separated by a comma.
  • Send From: Enter the email address you want the email to be sent from.
  • Subject: Use this field to enter the email’s subject.
  • Body: Use this field to enter the email’s text.