Movie Recorder properties
The Movie Recorder generates videos in the H.264 MP4, VP8 WebM, or ProRes QuickTime format. Movie Recorder also generates GIF files.
This page covers all properties specific to the Movie Recorder type.
Note: To fully configure any Recorder, you must also set the general recording properties according to the recording interface you are using: the Recorder window or a Recorder Clip.
The Movie Recorder properties fall into three main categories:
Input
Use this section to define the source of your recording.
Property | Function | |
---|---|---|
Source | Specifies the input for the recording. | |
Game View | Records frames rendered in the Game View. Selecting this option displays the Game View source properties. |
|
Targeted Camera | Records frames captured by a specific camera, even if the Game View does not use that camera. Selecting this option displays the Targeted Camera source properties. |
|
360 View | Records a 360-degree video. Selecting this option displays the 360 View source properties. |
|
Render Texture Asset | Records frames rendered in a Render Texture. Selecting this option displays the Render Texture Asset source properties. |
|
Texture Sampling | Supersamples the source camera during the capture to generate anti-aliased images in the recording. Selecting this option displays the Texture Sampling source properties. |
|
Flip Vertical | When you enable this option, the Recorder flips the output image vertically. This is useful to correct for systems that output video upside down. This option is not available when you record the Game View. |
|
Render Frame Step | Available when you set Playback to Variable. Specifies the number of rendered frames to discard between recorded frames. The duration of the discarded frames is preserved, reducing frames per second. Example: if the value is 2, every second frame is discarded, but the duration of the recording remains the same. | |
Accumulation | Available if your project uses HDRP (High Definition Render Pipeline). Enable this feature to render multiple sub-frames for accumulation purposes. See Accumulation properties below. For set up and use cases, see Recording Accumulation. Note: Enabling the Accumulation feature might slow down your recording process considerably as it involves more rendering steps. |
Game View source properties
These properties appear when you set Source to Game View.
Note:
- If you have multiple Game Views in your project, the Recorder captures only the last one you selected in the Editor.
- If you are using more than one Recorder to capture Game View, they must all use the same resolution settings.
- If the Output Resolution and/or Aspect Ratio in the Recorder is different than the Game view resolution, the Recorder switches the Game view to the Recorder's resolution before starting the recording. After the recording ends, the Game view does not automatically revert to its previous resolution. If you need to revert this change afterward, use the Aspect ratio dropdown menu in the Game view control bar.
- Recording the Simulator view is not supported.
Property | Function | |
---|---|---|
Output Resolution | Allows you to set the dimensions of the recorded view using different methods. | |
Use Game View Resolution | Matches the resolution and aspect ratio of the currently selected Game View. | |
[PRESET RESOLUTIONS] | Choose from several standard video resolutions such as FHD (1080p) and 4K (2160p). The numeric value represents the image height. To set the image width, you must select a specific Aspect Ratio. |
|
Custom | Uses custom width and height values that you supply in the W and H fields. | |
Aspect Ratio | Specifies the ratio of width to height (w:h) of the recorded view when you set the Output Resolution to a preset resolution. | |
[PRESET ASPECT RATIOS] | Choose from several standard aspect ratios such as 16:9 (1.7778) and 4:3 (1.3333). | |
Custom | Uses a custom aspect ratio that you supply in the displayed fields (w:h). |
Targeted Camera source properties
These properties appear when you set Source to Targeted Camera.
Note
- If the Output Resolution and/or Aspect Ratio in the Recorder is different than the Game view resolution, the Recorder switches the Game view to the Recorder's resolution before starting the recording. After the recording ends, the Game view does not automatically revert to its previous resolution. If you need to revert this change afterward, use the Aspect ratio dropdown menu in the Game view control bar.
- You can't capture images from a Targeted Camera if you are using a URP 2D Renderer, due to a known limitation. As an alternative, you can capture from the Game View or from a Render Texture Asset.
Property | Function | |
---|---|---|
Camera | Specifies which camera the Recorder uses to capture the recording. | |
ActiveCamera | The Camera that is active when you launch the recording. Note: The ActiveCamera option is not available when your project uses a Scriptable Render Pipeline (SRP). |
|
MainCamera | The Camera tagged with the MainCamera Tag. | |
TaggedCamera | A camera tagged with a specific Tag. If you select this option, you must enter a value in the Tag field. |
|
Tag | Specifies which Camera Tag to look for when you set Camera to Tagged Camera. | |
Output Resolution | Allows you to set the dimensions of the recorded view using different methods. | |
Use Game View Resolution | Matches the resolution and aspect ratio of the currently selected Game View. | |
[PRESET RESOLUTIONS] | Choose from several standard video resolutions such as FHD (1080p) and 4K (2160p). The numeric value represents the image height. To set the image width, you must select a specific Aspect Ratio. |
|
Custom | Uses custom width and height values that you supply in the W and H fields. | |
Aspect Ratio | Specifies the ratio of width to height (w:h) of the recorded view when you set the Output Resolution to a preset resolution. | |
[PRESET ASPECT RATIOS] | Choose from several standard aspect ratios such as 16:9 (1.7778) and 4:3 (1.3333). | |
Custom | Uses a custom aspect ratio that you supply in the displayed fields (w:h). | |
Include UI | Enable this option to include UI GameObjects in the recording. This option only appears when you set Source to ActiveCamera. |
360 View source properties
These properties appear when you set Source to 360 View.
To capture 360 degree recordings, the Recorder rotates the Camera 360 degrees around its Y axis.
Note: The Recorder doesn't fully support 360 View recording. See the Known issues and limitations for more details.
Property | Function | |
---|---|---|
Camera | Specifies which camera the Recorder uses to capture the 360 degree recording. | |
MainCamera | The Camera tagged with the MainCamera Tag. | |
TaggedCamera | A camera tagged with a specific Tag. If you select this option, you must enter a value in the Tag field. |
|
Tag | Specifies which Camera Tag to look for when you set Camera to Tagged Camera. | |
Output Dimensions | W and H specify the width and height, in pixels, of the 360-degree video. | |
Cube Map Size | The side length of the cube map, in pixels, for the 360-degree video. | |
Record in Stereo | Use this option to record separate left and right stereoscopic views of the 360-degree video. The Recorder includes both views in the same image: left view at the top and right view at the bottom. |
|
Stereo Separation | When you select Record in Stereo, this is the angle between the left and right views on the selected Camera's Y axis. |
Render Texture Asset source properties
These properties appear when you set Source to Render Texture Asset.
Property | Function |
---|---|
Render Texture | Points to the render texture you want the Recorder to capture. |
Size | The actual dimensions (width x height) of the targeted Render Texture. |
Texture Sampling source properties
These properties appear when you set Source to Texture Sampling.
Use this capture method when the Rendering Resolution has the same or higher resolution than the Output Resolution.
Property | Function | |
---|---|---|
Camera | Specifies which camera the Recorder uses to capture the recording. | |
ActiveCamera | The Camera that is active when you launch the recording. | |
MainCamera | The Camera tagged with the MainCamera Tag. | |
TaggedCamera | A camera tagged with a specific Tag. If you select this option, you must enter a value in the Tag field. |
|
Tag | Specifies which Camera Tag to look for when you set Camera to Tagged Camera. | |
Aspect Ratio | The ratio of width to height of the recorded output. | |
Supersampling Grid | The size of the grid of sub-pixels to use for supersampling patterns. | |
Rendering Resolution | The vertical resolution of the input to sample from. | |
Output Resolution | The vertical resolution of the recording to output to. |
Accumulation properties
Note
The use of the Accumulation feature is subject to very specific conditions:
- Your project must use High Definition Render Pipeline (HDRP).
- You can only select Game View or Targeted Camera as the Source for the recording.
- You can only use one active Recorder at a time when you capture accumulation.
Use the properties in this section to specify the number of samples to accumulate, the interval for accumulation between subsequent frames, and the weight each sample contributes to the rendered frame.
To understand how Accumulation properties relate to each other, see Understanding sub frame capture.
Property | Function | |
---|---|---|
Samples | The number of sub-frames to capture and accumulate between two subsequent frames. Depending on the specified Shutter Interval, the Effective number of accumulated samples might be lower than the value you specify here. |
|
Shutter Interval | The portion of the interval between two subsequent frames in which the Recorder actually applies the specified Shutter Profile. Select Normalized or Angle according to your preferred way to specify the value. • The maximum value applies the shutter profile to the whole interval between the two frames. • A value of 0 disables the accumulation of motion blur. If path tracing is enabled, path-tracing samples are captured for the number of sub frames defined in Samples. • Any value in between proportionally rescales the shutter profile and makes the shutter remain closed during the rest of the interval to the next frame. Note: A longer Shutter Interval results in more motion blur. |
|
Normalized | Lets you define a portion of the interval using a value normalized to the interval's full length (between 0 and 1). | |
Angle | Lets you define a portion of the interval using an angle value (between 0 and 360 degrees). | |
Shutter Profile | Allows you to define a custom response profile that simulates the physical motion of a camera shutter at each frame when the Recorder captures the sub-frames. 0 is a closed shutter and 1 is a fully open shutter. A fully open shutter produces the strongest image. The visibility of the image is weighted according to the degree to which the shutter is open. |
|
Range | Select this type to use a trapezoidal shutter profile. Specify two values to define the time range in which the shutter remains fully open. • The values, between 0 and 1, are relative to the full length of the shutter profile. • The shutter opening and closing portions (from 0 to the first value, and from the second value to 1) are linear. |
|
Curve | Select this type to use a curve as the shutter profile. Select or draw a curve according to your needs. |
|
Anti-aliasing | Enables subpixel jitter anti-aliasing. | |
Effective number of accumulated samples | Displays the actual number of samples to be effectively accumulated from the specified number of Samples, according to the specified Shutter Interval. |
Output Format
Use this section to set up the media format you need to save the recorded images in.
Property | Function |
---|---|
Encoder | The encoder to use for the recording. Each encoder has a specific set of properties: • Select Unity Media Encoder to generate an H.264 MP4 or VP8 WebM video. • Select GIF Encoder to generate an animated GIF. • Select ProRes Encoder to generate a video file encoded with an Apple ProRes codec. Note: To integrate a custom command line encoder such as FFmpeg and make it available from this list, use the Custom Encoder: FFmpeg sample provided along with the Recorder package. |
Include Audio | Enable this option to include audio in the recording when the Encoder supports it. The Unity Media Encoder supports Mono or Stereo audio recording. The ProRes encoder supports Stereo only. To enable recording when Include Audio is selected, in Project Settings > Audio > Default Speaker Mode, ensure that Mono, or Stereo is selected. Note: If you include audio, during recording, the audio signal is sent to the Recorder, not to your system's audio output. |
Include Alpha | Enable this property to include the alpha channel in the recording. Disable it to only record the RGB channels. This property is not available when the selected Codec doesn't support transparency, when the Source is set to Game View, or when Movie Recorder is used as a camera input to the Universal Rendering Pipeline (URP). |
Unity Media Encoder properties
Property | Function |
---|---|
Codec | The video codec to use to encode the output file. The Unity Media Encoder includes H.264 MP4 and VP8 WebM codecs. Note: Encoding with H.264 MP4 codec is not supported on Linux. |
Encoding quality | The quality of the output movie: Low, Medium, or High. The lower the quality, the smaller the file size. Select Custom to set up specific quality properties. |
Target Bitrate | Custom value for the bitrate the encoder tries to average throughout the video, in Mbps. |
GOP Size or Keyframe Distance |
Custom value for the interval between two full images (I-frames). |
Encoding Profile (H.264 MP4 only) |
Custom encoding profile: choose H.264 Baseline, H.264 Main, or H.264 High. Each encoding profile defines a different set of capabilities and constraints on which decoders rely. |
B-Frames (H.264 MP4 only) |
Custom value for the number of bidirectional predicted frames (B-frames). |
Tip: See Youtube's Recommended upload encoding settings for H.264 MP4.
GIF Encoder properties
Property | Function |
---|---|
Quality | The encoding quality of the GIF file. A higher quality results in a larger file size. |
Loop | Makes the generated file loop the frame sequence indefinitely. |
ProRes Encoder properties
Property | Function |
---|---|
Codec | The video codec to use to encode the output file. The ProRes Encoder includes a variety of Apple ProRes codecs: ProRes 4444 XQ, ProRes 4444, ProRes 422 HQ, ProRes 422, ProRes 422 LT or ProRes 422 Proxy. Notes:
|
Output File
Use this section to specify the output Path and File Name pattern to save the recorded movie file.
Note: Output File properties work the same for all types of recorders.