ad
ad

Producing H264 for Adobe Flash in Compressor.mp4

Science & Technology


Introduction

In this tutorial, we will explore the process of creating H.264 files for Flash distribution using Apple Compressor. The following workflow will ensure that your video is optimized for internet distribution, providing clear specifications and settings.

Introduction

I recently filmed a concert of a local group called Loose Strings using Progressive mode and widescreen DV format (16x9), designed primarily for online distribution. My goal is to use the H.264 codec for this project and although I prefer to produce an F4V file, Compressor can't handle that; instead, we will create a QuickTime (.mov) file that works well for Flash distribution.

Workflow Overview

  1. Produce a QuickTime reference movie from Final Cut Pro.
  2. Free Final Cut Pro for additional edits.
  3. Input the reference file into Compressor.
  4. Set encoding parameters, save preset, and begin encoding.

Step 1: Produce QuickTime Reference Movie

To create the QuickTime reference movie:

  1. Open Final Cut Pro and check the sequence settings. The current settings reveal a 720x480 anamorphic DV file.
  2. Export the sequence: Go to File > Export QuickTime Movie.
  3. Choose Current Settings but do not make the movie self-contained. This allows Compressor to link to the captured file instead of embedding it.
  4. Name the movie "Loose Strings QuickTime Reference Movie" and save it.

Step 2: Setting Up Compressor

Upon launching Compressor:

  1. Import the reference file.
  2. Select a suitable settings file slightly larger than the target output.

Modifying Compressor Settings

  1. Drag the QuickTime 7 Compatible setting into the settings window.
  2. Open the settings in the inspector window.
Video Settings:
  • File Format: QuickTime Movie (.mov)
  • Codec: H.264
  • Frame Rate: 29.97 fps (the original)
  • Key Frames: Automatic
  • Profile: Use Baseline for portable devices or Main for computer playback (we will use Main).
  • Data Rate: Set to 600 kilobits per second, causing the quality slider to become inactive.
Encoding Settings:
  • Quality: Choose between best quality (multi-pass, better quality but slower) and fast encode (for draft work).
  • Optimization: Select "Optimized for download" for variable bit rate encoding.
Audio Settings:
  • Codec: AAC
  • Channels: Stereo (ideal for music)
  • Audio Rate: Recommended settings at a bit rate of 128 kilobits per second.
Streaming Options:
  • Fast Start: Ensure "No compressed header" to avoid issues in Flash players.

Geometry and Frame Controls

To preserve the 16x9 aspect ratio:

  1. Navigate to the Geometry pane, set a custom size of 640x360.
  2. Adjust the pixel aspect ratio to 1.

In Frame Controls:

  1. Keep settings to "same as source."
  2. If de-interlacing were necessary (not in this case), could choose between better or best for quality.

Saving and Encoding

  1. Save custom settings as "640x360 Preset H.264 Flash."
  2. Click on Submit. Enable Q Master for faster encoding if applicable.
  3. Monitor the encoding process.

Conclusion

This detailed guide illustrates how to produce an H.264 file suitable for Flash distribution using Apple Compressor. By adhering to these settings and workflows, you can ensure high-quality video delivery for internet use.


Keywords

H.264, Flash distribution, Apple Compressor, QuickTime reference movie, encoding settings, variable bit rate, audio settings, aspect ratio, de-interlacing, video production.


FAQ

Q1: Why use H.264 for Flash distribution?
A1: H.264 provides a balance of high quality and relatively low file size, making it ideal for online video distribution.

Q2: What is a QuickTime reference movie?
A2: A QuickTime reference movie is a file that does not contain video/audio data but rather points to the original media files, allowing faster export and editing in Final Cut Pro.

Q3: How do I maintain the proper aspect ratio?
A3: In Compressor, ensure to set the dimensions to a 16x9 resolution (e.g., 640x360) for widescreen content.

Q4: What is the difference between multi-pass and fast encoding?
A4: Multi-pass encoding analyzes the video multiple times, providing better quality, while fast encoding processes the video more quickly but at a reduced quality.

Q5: Do I need to de-interlace my video?
A5: If your source video is progressive (not interlaced), there’s no need to de-interlace. If it’s interlaced, you may choose between better or best quality settings based on your needs.