Struct rusoto_mediaconvert::VideoCodecSettings
source · [−]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
sourceimpl Clone for VideoCodecSettings
impl Clone for VideoCodecSettings
sourcefn clone(&self) -> VideoCodecSettings
fn clone(&self) -> VideoCodecSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VideoCodecSettings
impl Debug for VideoCodecSettings
sourceimpl Default for VideoCodecSettings
impl Default for VideoCodecSettings
sourcefn default() -> VideoCodecSettings
fn default() -> VideoCodecSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VideoCodecSettings
impl<'de> Deserialize<'de> for VideoCodecSettings
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<VideoCodecSettings> for VideoCodecSettings
impl PartialEq<VideoCodecSettings> for VideoCodecSettings
sourcefn eq(&self, other: &VideoCodecSettings) -> bool
fn eq(&self, other: &VideoCodecSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VideoCodecSettings) -> bool
fn ne(&self, other: &VideoCodecSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for VideoCodecSettings
impl Serialize for VideoCodecSettings
impl StructuralPartialEq for VideoCodecSettings
Auto Trait Implementations
impl RefUnwindSafe for VideoCodecSettings
impl Send for VideoCodecSettings
impl Sync for VideoCodecSettings
impl Unpin for VideoCodecSettings
impl UnwindSafe for VideoCodecSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more