MPEG-2 preset in Compressor
The built-in MPEG Files presets in Compressor use the MPEG-2 transcoding format. (The MPEG-2 for DVD preset in the Create DVD destination also uses this format.) Use this format to encode MPEG-2 stream files for DVD and Blu-ray authoring.
Note: You can create custom presets that use the MPEG-2 transcoding format.
The built-in MPEG-2 for DVD preset encodes only a video file. To encode the accompanying audio, use the Dolby Digital audio preset. The easiest way to do this is to apply the Create DVD destination to your source file, which adds both the MPEG-2 for DVD preset and the Dolby Digital preset to your job. For more information, see Dolby Digital presets in Compressor.
The properties of built-in and custom presets that use this transcoding format are located in the General, Video, and Audio inspectors (described below).
Displays the preset name and transcoding format used by Compressor, as well as an estimated output file size. When you add a preset to a job or change the preset’s properties, this summary is automatically updated.
Name: Displays the name of the preset.
Description: Displays the description of the preset.
Extension: Displays the extension of the output file.
Allow export segmentation: Select this checkbox to have Compressor process the output file using available media engines or your shared computer group. For more on using shared computer groups, see Transcode batches with multiple computers using Compressor.
Default location: Select an item from the pop-up menu to set the default save location for transcoded files.
Format: Use the pop-up menu to set the stream type for the output file. There are three options:
Program Stream: This stream type contains 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.
Elementary Stream: This stream type contains only one MPEG-2 content channel and no audio. When you select this option, you should also set the “Stream usage” property.
Transport Stream: This stream type 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 also include associated audio. 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.
Stream usage: Use this pop-up menu to specify the MPEG-2 transcoding output. Compressor modifies the available properties based on the option you choose:
Generic: This option allows you complete access to all the MPEG-2 properties. This is the only option that supports the MPEG-2 640 x 480 video format in addition to the standard-definition (SD) and high-definition (HD) video formats. It’s 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.
DVD: This option restricts the encoding properties 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: This option restricts the encoding properties 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.
Add Apple metadata: Select this checkbox to have Compressor parse specific MPEG-2 authoring information during the transcoding process and provide it in the output file. The resulting file will be read faster by other applications.
Include chapter markers only: Select this checkbox to include chapter markers, but not unnamed compression markers, in MPEG-2 output. When this checkbox is deselected, all markers are included in the output file. See Add markers using Compressor.
Sets the processing algorithm used to adjust the frame rate during transcoding. Select one of the following options:
Set to percent of source using: Modifies the output clip’s speed by a percentage of the source clip’s speed. Enter a value in the percentage field or choose a preset value from the adjacent pop-up menu (with a down arrow).
Set to: Sets the duration of the clip. Enter a timecode duration in the field or click the arrows to increase or decrease the time.
So source frames play at [frame rate] fps: Nondestructively changes the playback speed of the clip without discarding frames or creating new frames. This property has no effect unless the “Frame rate” value in the Video inspector is different from the source file’s frame rate. For example, if you add a 10-second source file with a frame rate of 24 fps to Compressor, set the “Frame rate” property in the Video inspector to 25 fps, and then select “So source frames play at 25 fps” in the General inspector, the resulting duration of the transcoded clip (at 25 fps) will be 9 seconds and 15 frames.
For more information, see Retime video and audio using Compressor.
This area contains a single property, the “Embed closed captions” checkbox. Select the checkbox if you’ve added CEA-608 closed captions to a job and you want Compressor to insert the captions into the output video file. See Intro to supporting captions in Compressor.
Frame size: Use this pop-up menu to set the frame size (resolution) for the output file. There are four categories to choose from:
Automatic: Adjusts the output based on the size of the input, and can be constrained “up to” a maximum resolution.
Percentage: Adjusts the output based on a percentage of the input’s size.
Manual: Forces the output to a specific resolution.
Constrained: Constrains the output to a specific aspect ratio.
Pixel aspect ratio: Use this pop-up menu to set the pixel aspect ratio (the ratio between the encoded width and the display width).
Frame rate: Use this pop-up menu to set the playback rate (the number of images displayed per second) for the output file. See Retiming options in Compressor.
Center crop for output aspect ratio: Select this checkbox to ensure that when changing the aspect ratio in the Frame size pop-up menu, the video remains centered in the new aspect ratio.
Field order: Use the pop-up menu to set the output scanning method (either the field dominance or a conversion to progressive scanning). There are four options:
Automatic: Selects the most appropriate field order, based on the field order of the source and the capabilities of the selected codec.
Progressive: The video is displayed in complete frames with all lines sampled at the same instant in time.
Top First: The video is interlaced and displayed as two separate interleaved fields. The field containing the top line (even lines) is sampled at an earlier instant in time than the field containing the bottom line (odd lines). This field order is commonly used for high-definition video and standard-definition PAL video.
Bottom First: The video is interlaced and displayed as two separate interleaved fields. The field containing the bottom line (odd lines) is sampled at an earlier instant in time than the field containing the top line (even lines). This field order is commonly used for standard-definition NTSC video.
Color space: Use this pop-up menu to convert the source media to a new color space. Choose Automatic to allow Compressor to choose the best color space based on the selected preset. You can also choose a manual preset to override the default.
RAW to log: Use this pop-up menu to select how ProRes RAW conversion is done. Choose Automatic to allow Compressor to choose the conversion method. You can also choose a manual preset to override the default. This option is available only if the source is ProRes RAW.
Camera LUT: Use this pop-up menu to select the camera lookup table (LUT) applied to the source. Select a custom LUT to transform your video from one color space to another. This preset is enabled if the source is ProRes RAW and if “RAW to log” is set to a value other than None. This preset is also enabled if “Camera log” in video properties in the Job inspector is set to a value other than None.
Cinematic: Use this pop-up menu, available in macOS Monterey 12 or later, to specify how to handle metadata in video that was recorded in Cinematic mode (on iPhone models that support Cinematic mode video). There are two options:
Ignore: Ignores any Cinematic mode metadata in the source file. If the source file contains no Cinematic mode metadata, Ignore is selected and the menu is dimmed.
Render: When Cinematic mode metadata is present and the “Enable video pass-through” checkbox is not selected, you may choose to render the Cinematic mode video to the destination file.
Note: If you’re running macOS 11 or earlier, the Cinematic pop-up menu is not available. If the source file contains Cinematic mode metadata and the “Enable video pass-through” checkbox isn’t selected, the warning “Cinematic mode video can only be rendered when running under macOS 12.0 or later” is displayed in the Errors & Warnings window.
Anamorphic: This property applies only to standard-definition video. If the source video’s storage aspect ratio doesn’t match its display aspect ratio, you can correct the image so the output doesn’t appear squeezed or stretched. Choose Automatic from the pop-up menu to have Compressor scale the image based on the frame size, or choose 16:9 or 4:3 to scale the image to a specific aspect ratio.
Encoding mode: Choose an option from the pop-up menu to set how Compressor encodes the output file: either faster and lower quality, or slower and better quality. Options include:
Single Pass CBR: This is the fastest MPEG-2 encoding mode. It provides good quality, especially at bit rates between 5 and 9 Mbps.
Single Pass VBR: This mode aims to maintain constant quality (at the expense of constant bit rate) for the transcoded video file. 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.
Single Pass VBR (Best): This mode provides the best possible quality output for SD video at bit rates of 3 to 3.5 Mbps and above.
Two Pass VBR: This mode uses two passes—one pass to analyze the entire source video stream, and a second pass to compress the file. This mode takes longer and provides a better-quality file than the one-pass modes, and is recommended for source media files with a substantial difference between the most and the least complex scenes.
Two Pass VBR (Best): This mode provides the best possible quality output, and outstanding quality at bit rates of 3 to 3.5 Mbps and above for HD and SD video.
Motion estimation: This pop-up menu sets the amount of motion processing that will be performed on the file. There are three options:
Good: The fastest processing preset. Use this preset when there is relatively low motion between frames. In general, use Good with the one-pass encoding modes.
Better: Provides very good results even in the presence of complex interlaced motion. In general, use Better with Single Pass VBR (Best) and Two Pass VBR (Best).
Best: The slowest processing preset. Use for the most complex motion and for interlaced source files. In general, use the Best mode to maximize quality when using Single Pass VBR (Best) or Two Pass VBR (Best).
GOP structure: This property is available only when the “Frame rate” property is set manually (does not use Automatic).
Compressor provides three methods of grouping frames, or “pictures,” in encoded video: as I-frames (intra-frames), P-frames (predictive frames), and B-frames (bidirectional predictive frames). These are collectively called a group of pictures (GOP). The “GOP structure” pop-up menu includes several methods of arranging frames:
IP: Use IP only if your media contains fast motion that isn’t encoded with sufficient quality using an IBBP or IBP structure.
IBP: Use IBP only if your media contains fast motion that isn’t encoded with sufficient quality using an IBBP structure.
IBBP: Recommended for the majority of MPEG-2 encoding situations.
Note: For most MPEG-2 encoding situations intended for use on a DVD, choose IBBP as the GOP structure preset, and a GOP size of 15 for NTSC, or 12 for PAL.
GOP size: This property is available when the “Frame rate” property is set manually (does not use Automatic).
This slider specifies how many frames are contained within a GOP (group of pictures). The values available in the slider are determined by the GOP structure property (described above). 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).
Automatically select bit rate: Select this checkbox to have Compressor automatically compute the best bit rate for the output file, based on the duration of the source file. To manually adjust the bit rate, deselect the checkbox and drag the “Average bit rate” and “Maximum bit rate” sliders (or enter values in the adjacent fields).
YUV 422 color encoding: This property appears in most built-in presets that output MPEG-2 files. Select this checkbox to use YUV 422 color encoding for superior chroma quality.
Cropping, Padding, Rotation, and Flip
Customize the final cropping, sizing, and aspect ratio in Compressor using the Cropping & Padding properties. Cropping removes video content from an image. Padding scales the image to a smaller size while retaining the output image’s frame size. For more information about these properties, see Intro to modifying frame size in Compressor.
You can also rotate and flip the final output image in Compressor using the Rotation and Flip properties. These allow you to rotate a widescreen image to be vertical, or to reverse the image horizontally, vertically, or both.
Cropping: Use this pop-up menu to set the dimensions of the output image. The default cropping is None, but you can select one of the predetermined presets in the menu to change the dimensions of the output image. The Letterbox Area of Source menu item detects image edges and automatically enters crop values to match them. This is useful if you want to remove a source file’s letterbox area, by cropping out the black bars above and below the widescreen image. To ensure that when changing the aspect ratio the video remains centered in the new aspect ratio, select the “Center crop for output ratio” menu item. You can also enter custom values into the Top, Bottom, Left, and Right text fields below the menu to create your own custom cropping.
Padding: Use this pop-up menu to set the scaling of the output image while retaining the size of the frame. This is particularly useful when you’re creating a pillarbox (black bars on the sides of the frame) or a letterbox (bars above and below the frame) around your source material. The default cropping is None, but you can select one of the predetermined presets in the menu to add a standard padding preset. The Preserve Aspect Ratio menu item ensures that the aspect ratio remains unchanged as you add padding. The custom option allows you to enter your own scaling dimensions in the fields; other options use predetermined dimensions. You can also enter custom values into the Top, Bottom, Left, and Right text fields below the menu to create your own custom padding. The default padding is None.
Rotation: Use this pop-up menu to set the rotation of the output image. The default rotation is None, but you can choose to rotate your image 90 degrees, 180 degrees, or 270 degrees. This is useful in situations where a camera was oriented incorrectly when capturing the video.
Flip: Use this pop-up menu to flip the output image. The default flip is None, but you can choose Horizontal, Vertical, or Horizontal and Vertical. This is useful if you want the output image to mirror the input image horizontally, vertically, or both. Note: the Rotation property is always applied before the Flip property, which can change the specific Flip option to use in an output image you also rotate.
The following properties determine how Compressor resizes, retimes, and otherwise adjusts the video when transcoded:
Resize filter: This pop-up menu sets the resizing method. There are several options:
Nearest Pixel (Fastest): Samples the nearest neighboring pixel when resizing an image. This option provides the fastest processing time, but it’s more likely to show aliasing artifacts and jagged edges.
Linear: Adjacent pixel values are averaged using a linear distribution of weights. Produces fewer aliasing artifacts than Nearest Pixel, with a small increase in processing time.
Gaussian: Adjacent pixel values are averaged using a gaussian distribution of weights. This provides a medium trade-off between processing time and output quality.
Lanczos 2: Adjacent pixel values are averaged using a truncated sinc function. This option is slower than Gaussian but provides sharper results.
Lanczos 3: Similar to Lanczos 2 but averages more pixel values. This option is slower than Lanczos 2 but may produce better results.
Bicubic: Adjacent pixel values are averaged using a bicubic function. The processing time and output are most similar to Lanczos 2 and Lanczos 3.
Anti-aliased (Best): Provides the highest output quality, but can take substantially longer to process.
Retiming Quality: This pop-up menu sets the retiming method. There are four options:
Fast (Nearest Frame): Linearly interpolates frames using nearest neighbor frames.
Good (Frame Blending): Blends neighboring frames using a filter to produce good-quality interpolation.
Best (Motion Compensated): Uses optical flow to interpolate using areas of movement between neighboring frames to produce high-quality output.
Reverse Telecine: Removes the extra fields added during the telecine process to convert the film’s 24 fps to NTSC’s 29.97 fps. Choosing this item disables all the other Quality controls. See Use reverse telecine in Compressor.
Adaptive details: Select this checkbox to use advanced image analysis to distinguish between noise and edge areas during output.
Anti-aliasing level: Sets the softness level in the output image. Double-click the value and then manually enter a new value or drag the slider to the right to increase softness. This property improves the quality of conversions when you’re scaling media up. For example, when transcoding SD video to HD, anti-aliasing smooths jagged edges that might appear in the image.
Details level: Sets the amount of detail in the output image. Double-click the value and then manually enter a new value or drag the slider to set the value. This sharpening control lets you add detail back to an image being enlarged. Unlike other sharpening operations, the “Details level” property distinguishes between noise and feature details, and generally doesn’t increase unwanted grain. Increasing this value may introduce jagged edges, however, which can be eliminated by increasing the “Anti-aliasing level” slider.
Dithering: When selected, adds a certain type of noise to images to prevent large-scale distracting patterns such as color banding. If your image has excessive noise after rendering, deselect this checkbox.
For a list of available video effects in Compressor, and instructions on how to add a video effect to a preset, see Add and remove effects in Compressor.
Download this guide: PDF