docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CoreEncoderSettings

    The settings of the Core Encoder.

    Inheritance
    object
    CoreEncoderSettings
    Implements
    IEncoderSettings
    IEquatable<CoreEncoderSettings>
    Inherited Members
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEditor.Recorder.Encoder
    Assembly: solution.dll
    Syntax
    [Serializable]
    [EncoderSettings(typeof(CoreEncoder))]
    public sealed class CoreEncoderSettings : IEncoderSettings, IEquatable<CoreEncoderSettings>
    Remarks

    This class is sealed because users shouldn't inherit from it. Instead, create a new encoder along with its settings class.

    Constructors

    Name Description
    CoreEncoderSettings()

    Default constructor.

    Properties

    Name Description
    Codec

    The selected codec of the encoder instance.

    EncodingProfile

    The choice of encoding profile for the H.264 codec. Each profile defines a set of capabilities and constraints on which decoders rely.

    EncodingQuality

    Indicates the encoding quality to use for the encoding.

    GopSize

    The interval in frames between two full images (I-frames), known as the Group of Pictures (GOP) size for the H.264 codec.

    KeyframeDistance

    The maximum interval in frames between two full images (I-frames), for the VP8 codec.

    NumConsecutiveBFrames

    The number of consecutive bidirectional predicted pictures (B-frames) for the H.264 codec. The maximum supported value is 2.

    TargetBitRate

    The target bitrate, in Mbps, for the H.264 codec.

    Methods

    Name Description
    Equals(object)

    Compares the current object with another one.

    GetHashCode()

    Returns a hash code of all serialized fields.

    SupportsCurrentPlatform()

    Indicates whether the encoder is supported on the current operating system or not.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023