Class StreamRecorderVideoOptions

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.StreamRecorder.dll

    Specifies the options associated with video recording.

    public class StreamRecorderVideoOptions
    Inheritance
    object
    StreamRecorderVideoOptions

    Constructors

    View Source

    StreamRecorderVideoOptions(RecorderVideoCodec, Size, StreamRecorderVideoFormat, int, int)

    Initialize a new instance of the StreamRecorderVideoOptions class with the specified codec, resolution, source format, frame rate, and bit rate.

    Declaration
    public StreamRecorderVideoOptions(RecorderVideoCodec codec, Size resolution, StreamRecorderVideoFormat sourceFormat, int frameRate, int bitRate)
    Parameters
    Type Name Description
    RecorderVideoCodec codec

    The RecorderVideoCodec for encoding video stream.

    Size resolution

    The resolution of video recording.

    StreamRecorderVideoFormat sourceFormat

    The format of source stream.

    int frameRate

    The frame rate for encoding video stream.

    int bitRate

    The bit rate for encoding video stream.

    See Also
    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions
    View Source

    StreamRecorderVideoOptions(RecorderVideoCodec, Size, StreamRecorderVideoFormat, int)

    Initialize a new instance of the StreamRecorderVideoOptions class with the specified codec, resolution, source format, and frame rate.

    Declaration
    public StreamRecorderVideoOptions(RecorderVideoCodec codec, Size resolution, StreamRecorderVideoFormat sourceFormat, int frameRate)
    Parameters
    Type Name Description
    RecorderVideoCodec codec

    The RecorderVideoCodec for encoding video stream.

    Size resolution

    The resolution of video recording.

    StreamRecorderVideoFormat sourceFormat

    The format of source stream.

    int frameRate

    The frame rate for encoding video stream.

    Remarks

    BitRate will be set as default.

    See Also
    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions

    Properties

    View Source

    BitRate

    The bit rate of the video encoder in bits per second.

    Declaration
    public int BitRate { get; set; }
    Property Value
    Type Description
    int

    The bit rate value for video stream recording. The default is 0.

    See Also
    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions
    View Source

    Codec

    Gets or sets the video codec for encoding video stream.

    Declaration
    public RecorderVideoCodec Codec { get; set; }
    Property Value
    Type Description
    RecorderVideoCodec

    The codec for video stream recording.

    See Also
    GetSupportedVideoCodecs()
    View Source

    FrameRate

    Gets or sets the frame rate for recording media stream.

    Declaration
    public int FrameRate { get; set; }
    Property Value
    Type Description
    int

    The frame rate value for video stream recording.

    See Also
    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions
    View Source

    Resolution

    Gets or sets the resolution of the video recording.

    Declaration
    public Size Resolution { get; set; }
    Property Value
    Type Description
    Size

    The output resolution for video stream recording.

    See Also
    GetSupportedVideoResolutions()
    View Source

    SourceFormat

    Gets or sets the video source format for recording media stream.

    Declaration
    public StreamRecorderVideoFormat SourceFormat { get; set; }
    Property Value
    Type Description
    StreamRecorderVideoFormat

    The source format of buffers for video stream recording.

    See Also
    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)

    See Also

    StreamRecorder
    StreamRecorderOptions
    StreamRecorderAudioOptions
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX