logo
pub struct VideoCodecSettings {
    pub av_1_settings: Option<Av1Settings>,
    pub avc_intra_settings: Option<AvcIntraSettings>,
    pub codec: Option<String>,
    pub frame_capture_settings: Option<FrameCaptureSettings>,
    pub h264_settings: Option<H264Settings>,
    pub h265_settings: Option<H265Settings>,
    pub mpeg_2_settings: Option<Mpeg2Settings>,
    pub prores_settings: Option<ProresSettings>,
    pub vc_3_settings: Option<Vc3Settings>,
    pub vp_8_settings: Option<Vp8Settings>,
    pub vp_9_settings: Option<Vp9Settings>,
    pub xavc_settings: Option<XavcSettings>,
}
Expand description

Video codec settings, (CodecSettings) under (VideoDescription), contains the group of settings related to video encoding. The settings in this group vary depending on the value that you choose for Video codec (Codec). For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AV1, Av1Settings * AVCINTRA, AvcIntraSettings * FRAMECAPTURE, FrameCaptureSettings * H264, H264Settings * H265, H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * VC3, Vc3Settings * VP8, Vp8Settings * VP9, Vp9Settings * XAVC, XavcSettings

Fields

av_1_settings: Option<Av1Settings>

Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.

avc_intra_settings: Option<AvcIntraSettings>

Required when you choose AVC-Intra for your output video codec. For more information about the AVC-Intra settings, see the relevant specification. For detailed information about SD and HD in AVC-Intra, see https://ieeexplore.ieee.org/document/7290936. For information about 4K/2K in AVC-Intra, see https://pro-av.panasonic.net/en/avc-ultra/AVC-ULTRAoverview.pdf.

codec: Option<String>

Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec.

frame_capture_settings: Option<FrameCaptureSettings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value FRAME_CAPTURE.

h264_settings: Option<H264Settings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value H_264.

h265_settings: Option<H265Settings>

Settings for H265 codec

mpeg_2_settings: Option<Mpeg2Settings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.

prores_settings: Option<ProresSettings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value PRORES.

vc_3_settings: Option<Vc3Settings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VC3

vp_8_settings: Option<Vp8Settings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP8.

vp_9_settings: Option<Vp9Settings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value VP9.

xavc_settings: Option<XavcSettings>

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value XAVC.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more