![](https://help.apple.com/assets/64F8DA5B4E13D3659507F9F5/64F8DA5D4E13D3659507F9FB/en_US/b922e7e85d19c91dbb51ab1cf18e05e4.png)
MPEG-4 presets in Compressor
In Compressor, the Prepare for HTTP Live Streaming destination and the AAC preset (for audio output) use the MPEG-4 transcoding format. The MPEG-4 format is widely compatible with many different platforms and is often used for distribution on the Internet. You can also use this format to create files for audio podcasting and digital music playback. (To learn more about HTTP Live Streaming, see HTTP Live Streaming and other related documents, available in Apple Developer Documentation.)
Presets based on the MPEG-4 format offer a choice of two encoders: H.264 and HEVC (High-Efficiency Video Coding, also known as H.265). When you add an MPEG-4-based preset to a job, Compressor chooses the H.264 format as the default codec. You can change the codec to HEVC in the Video inspector if your computer is running macOS 10.13 or later. HEVC is a recently established compression standard that supports larger frame sizes (including 8K) and HDR10 metadata for high-dynamic-range video. HEVC playback requires an Apple device running macOS 10.13, iOS 11, iPadOS 13, tvOS 11, or later.
Note: You can create custom presets that use the MPEG-4 transcoding format.
The properties of built-in and custom presets that use this transcoding format are located in the General, Video, and Audio inspectors (described below).
Preset summary
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.
General properties
Name: Displays the name of the preset.
Description: Displays the description of the preset.
Extension: Displays the extension of the output file (.mp4 or .m4a).
Allow export segmentation: Select this checkbox to have Compressor process the output file using available media engines or your shared computer group. Export segmentation requires macOS 14 or later and a Mac with Apple M1 Max, M1 Ultra, M2 Max, M2 Ultra, or M3 Max. For more on using shared computer groups, see Transcode batches with multiple computers using Compressor.
Default location: Choose an item from the pop-up menu to set the default save location for transcoded files.
Format: Use this pop-up menu to specify whether the output includes video and audio, video only, or audio only. For podcasting and digital music playback, choose audio only. If format is set to Audio, audio-only files are created with the .m4a extension, and you can choose Apple Lossless or AAC output. If format is set to Audio and Video or Video, files are created with the .m4v extension.
Optimize for network use: Select this checkbox to create a file that will start playing after only a small portion of the file has been downloaded from the network.
Enhanced podcast: Select this checkbox to have Compressor embed podcasting information (annotations, markers, and artwork) into the output media file. See Work with metadata annotations in Compressor and Add markers using Compressor.
Retiming
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.
Captions
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.
Metadata
Specifies how metadata is embedded in the transcode. See Work with metadata annotations in Compressor.
Use Job Annotations: Includes the metadata from the Job Annotations listed in the Job Inspector. This is the default preset.
Pass through source file metadata: Passes the existing metadata from the source file to the transcode. Ignores Job Annotations listed in the Job Inspector.
Remove all metadata and annotations: Passes no metadata to the source file.
Include metadata from the source file that cannot be displayed as a job annotation: Available when Use Job Annotations is selected. Includes the metadata from the Job Annotations listed in the Job Inspector and passes the existing metadata from the source file to the transcode.
Video properties
Some video properties are enabled only for codecs that support them. If a video property is disabled in Compressor, it’s not supported by the selected codec.
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.
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.
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.
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, including wide color gamut. 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. For more information about wide color gamut, see Intro to wide color gamut and HDR in Compressor.
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.
Codec: Choose one of two available transcoding formats, H.264 or HEVC.
Encoder type: Use this pop-up menu to set the type of encoder. This pop-up menu is enabled when Codec is set to HEVC. Choose from two options:
Faster (standard quality): Encodes the output file using a faster codec, with standard quality.
Slower (higher quality): Encodes the output file using a slower codec, with higher quality.
Important: Not all options are available on all hardware.
Profile: Use this pop-up menu to set the quality of compression used in the output file. When Codec is set to H.264, this pop-up menu offers three options:
High: Provides high-quality output, which may not be compatible with older H.264 playback devices.
Main: Similar to the Baseline profile, with additional support for standard-definition (SD) video requirements.
Baseline: Primarily for video conferencing and mobile applications.
When Codec is set to HEVC, the Profile pop-up menu sets the color depth of the output file (the number of bits used to represent color in each color channel—red, green, and blue). There are two options:
8-Bit Color: Provides a good balance between picture quality and file size. (This option is available only on recent Mac computers that support hardware encoding of HEVC.)
10-Bit Color: Provides better picture quality but with larger file sizes. (Because this option uses software encoding, performance may be significantly slower than 8-bit hardware encoding.)
Entropy mode: When Codec is set to H.264, use this pop-up menu to set the entropy mode to CABAC (which provides higher-quality output) or CAVLC (which is faster and more compatible for playback on older devices).
Keyframe interval: Enter a value in the text field to set the key frame interval (number of frames) at which you want keyframes created in your output file. Alternatively, you can select Automatic to have Compressor choose the frame rate (the displayed value is 0 with Automatic on; the actual value is determined during the encoding process).
Avg. Data rate: Use this pop-up menu to choose a data rate for your video based on any of four options:
Custom: Preset data rate to Custom enables a value field that limits your video signal to a set number of kilobits per second (kbps). Higher rates allow higher-quality video but generate larger files that are slower to download or transmit.
Computer playback: Creates a larger file with higher quality.
Web publishing: Creates a smaller file (of lower quality) suitable for hosting on a website.
HTTP Live Streaming: Creates a smaller file suitable for streaming live over the internet. Available only for H.264 and HEVC encoding.
Important: When you set a data rate, you override other codec quality properties because the codec compresses the file as much as it needs to based on its data-rate limit.
Quality: Use this slider to set the quality level of your output. Select from least (smaller file size) to best (larger file size).
Multi-pass: Select this checkbox to turn on multi-pass encoding that uses additional analysis of video frames to produce a high-quality output file. Multi-pass is available when Codec is set to H.264 on an Intel-based Mac, and when Codec is set to H.264 or HEVC on a Mac with Apple silicon that’s running macOS Monterey 12 or later and has “Encoder type” set to “Faster (standard quality).” For faster (single-pass) transcoding, turn off this feature by deselecting the checkbox.
Include Dolby Vision 8.4 metadata: Select this checkbox to have Compressor include Dolby Vision 8.4 metadata in the output file. Dolby Vision 8.4 is a format designed to optimize HDR content for Apple devices. If this checkbox is selected, “Color space” is set to Rec. 2020 HLG, Codec is set to HEVC, and Profile is set to 10-Bit Color.
Allow frame reordering: Select this checkbox to potentially provide a better-quality output file by allowing Compressor to reorder video frames during transcoding. This option is available only when Codec is set to H.264 or HEVC.
Important: If you select “Allow frame reordering,” your output file may be more efficiently compressed but may not be compatible with decoders on older hardware.
360° metadata: Use this pop-up menu to choose the type of 360° metadata, if any, included in the output file.
Automatic: Compressor chooses the metadata format based on the properties in the Job inspector and the transcode preset you applied. The format chosen is listed to the right of the pop-up menu.
None: No 360° metadata is attached to your output file.
Spherical Video V1: The 360° metadata format most commonly used by sharing sites, including YouTube and Vimeo.
Spherical Video V2: A less common, but more up-to-date, 360° metadata format used by YouTube and Vimeo.
For more information, see View 360° video metadata using Compressor.
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 when 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.
Quality
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.
Video effects
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.
Audio properties
Channel layout: Use the pop-up menu to set the audio channel layout.
Sample rate: Use this pop-up menu to set the number of times per second that music waveforms (samples) are captured digitally. The higher the sample rate, the higher the audio quality and the larger the file size.
Quality: Use this pop-up menu to select the quality of the audio output.
Bit rate: Use this pop-up menu to set the bit rate for the encoded audio.
Bit rate strategy: Use this pop-up menu to select the strategy used to encode the audio. There are four options:
Constant bit rate: Uses the value set in “Bit rate” to determine the bit rate for the encoded audio.
Average bit rate: Uses the value set in “Bit rate” to determine the target average bit rate for the encoded audio. This option provides a more consistent bit rate than variable bit rate.
Variable bit rate constrained: Uses the value set in “Bit rate” to determine the maximum bit rate for the encoded audio.
Variable bit rate: Encodes the audio using a variable bit rate determined by Compressor.
Data rate: Use the slider to set the number of kilobits per second (kbps) required to deliver your audio file. Using a higher rate will produce a higher-quality audio file.
Audio effects
For a list of available audio effects in Compressor, and instructions on how to add an audio effect to a preset, see Add and remove effects in Compressor.
Download this guide: PDF