MPEG-4 presets in Compressor
In Compressor, the Prepare for HTTP Live Streaming destinations and the AAC and Apple Lossless presets 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.)
When configured for video output, presets based on the MPEG-4 format offer a choice of two encoders: H.264 and HEVC, with H.264 as the default codec. You can change the codec to HEVC in the Video inspector if you have macOS 10.13 or later installed.
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
The top section of the inspector displays the preset name and transcoding format used by Compressor, as well as an estimated output file size and a summary of video and audio properties. 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 Video or Video and Audio, files are created with the .mp4 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.
Set 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 “Set o 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 CEA-608 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 transcode.
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. You can enter custom values in the field next to the pop-up menu, or choose one of the items within four categories in the pop-up menu:
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, or enter a custom frame rate in the field next to the pop-up menu. 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.
Cinematic: Use this pop-up menu—available for video recorded in Cinematic mode with the iPhone Camera app—to specify how to handle Cinematic metadata (requires macOS 12 or later). There are two options:
Ignore: The Cinematic mode effect is not rendered in the output.
Render: The Cinematic mode effect is rendered in the output.
Note: This menu is only visible if the video file you imported has Cinematic mode metadata. You may need to adjust certain settings to ensure the metadata is retained when you import the file. For more information, see the Motion User Guide.
Stereoscopic: Use this pop-up menu—available for stereoscopic files or when you create a new stereoscopic preset—to choose how Compressor uses the left and right eye views in stereoscopic video:
Automatic: Automatically chooses a frame-packed or monoscopic output setting based on the source media. For monoscopic output, Compressor uses the hero eye if it can be determined from the file’s metadata; otherwise, the left eye is chosen.
Left Eye Monoscopic: Uses the left eye of the stereoscopic source to output a monoscopic video.
Right Eye Monoscopic: Uses the right eye of the stereoscopic source to output a monoscopic video.
Over/Under: Sets the transcoded video to a frame-packed stereoscopic output in which the left-eye layer is the top of the image and the right-eye layer is the bottom of the image.
Side by Side: Sets the transcoded video to a frame-packed stereoscopic output in which the left- and right-eye layers are shown next to each other.
Codec: When Format is set to Video or Video and Audio (in the General pane), 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.
Note: Encoder types are not available on all hardware or with all preset configurations.
Profile: Use this pop-up menu to set the level of complexity included in the transcode. 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. Bit 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.
Social Platforms: 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.
Multi-pass: Select this checkbox to turn on multi-pass encoding, which applies an additional analysis of video frames to produce a high-quality output file. For faster (single-pass) transcoding, deselect the checkbox.
Note: Multi-pass encoding is not available on all hardware or with all preset configurations.
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.
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, and Rotation
Customize the final cropping, sizing, aspect ratio, and orientation of video in Compressor using the Cropping, Padding, Rotation, and Flip 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.
Note: Cropping, Padding, Rotation, and Flip adjustments are not recommended when preparing stereoscopic output.
Cropping: Use this pop-up menu to set the dimensions of the output image. The default setting is None, but you can choose a cropping preset in the menu to change the dimensions of the output image. Choose Letterbox Area of Source to have Compressor detect image edges and automatically apply crop values. 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. Choose “Center crop for output ratio” to ensure that the video remains centered in the new aspect ratio when you modify the frame size of the output. For custom cropping, choose None, then enter pixel values into the Top, Bottom, Left, and Right text fields.
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 setting is None, but you can choose a padding preset in the menu. Choose Preserve Source Aspect Ratio to ensure that the aspect ratio remains unchanged when you modify the frame size of the output. For custom padding, choose None, then enter pixel values into the Top, Bottom, Left, and Right text fields.
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 setting 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.
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. 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.
Sample size: Use this pop-up menu to manually set the sample size of the audio signal.
Format: Use this pop-up menu to choose an MPEG-4 audio coding format.
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.
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