Struct aws_sdk_mediaconvert::types::VideoCodecSettings
source · #[non_exhaustive]pub struct VideoCodecSettings {Show 13 fields
pub av1_settings: Option<Av1Settings>,
pub avc_intra_settings: Option<AvcIntraSettings>,
pub codec: Option<VideoCodec>,
pub frame_capture_settings: Option<FrameCaptureSettings>,
pub h264_settings: Option<H264Settings>,
pub h265_settings: Option<H265Settings>,
pub mpeg2_settings: Option<Mpeg2Settings>,
pub prores_settings: Option<ProresSettings>,
pub uncompressed_settings: Option<UncompressedSettings>,
pub vc3_settings: Option<Vc3Settings>,
pub vp8_settings: Option<Vp8Settings>,
pub vp9_settings: Option<Vp9Settings>,
pub xavc_settings: Option<XavcSettings>,
}
Expand description
Video codec settings 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. For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AV1, Av1Settings * AVC_INTRA, AvcIntraSettings * FRAME_CAPTURE, FrameCaptureSettings * H_264, H264Settings * H_265, H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * UNCOMPRESSED, UncompressedSettings * VC3, Vc3Settings * VP8, Vp8Settings * VP9, Vp9Settings * XAVC, XavcSettings
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.av1_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<VideoCodec>
Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.
frame_capture_settings: Option<FrameCaptureSettings>
Required when you set Codec to the value FRAME_CAPTURE.
h264_settings: Option<H264Settings>
Required when you set Codec to the value H_264.
h265_settings: Option<H265Settings>
Settings for H265 codec
mpeg2_settings: Option<Mpeg2Settings>
Required when you set Codec to the value MPEG2.
prores_settings: Option<ProresSettings>
Required when you set Codec to the value PRORES.
uncompressed_settings: Option<UncompressedSettings>
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
vc3_settings: Option<Vc3Settings>
Required when you set Codec to the value VC3
vp8_settings: Option<Vp8Settings>
Required when you set Codec to the value VP8.
vp9_settings: Option<Vp9Settings>
Required when you set Codec to the value VP9.
xavc_settings: Option<XavcSettings>
Required when you set Codec to the value XAVC.
Implementations§
source§impl VideoCodecSettings
impl VideoCodecSettings
sourcepub fn av1_settings(&self) -> Option<&Av1Settings>
pub fn av1_settings(&self) -> Option<&Av1Settings>
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.
sourcepub fn avc_intra_settings(&self) -> Option<&AvcIntraSettings>
pub fn avc_intra_settings(&self) -> 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.
sourcepub fn codec(&self) -> Option<&VideoCodec>
pub fn codec(&self) -> Option<&VideoCodec>
Specifies the video codec. This must be equal to one of the enum values defined by the object VideoCodec. To passthrough the video stream of your input JPEG2000, VC-3, AVC-INTRA or Apple ProRes video without any video encoding: Choose Passthrough. If you have multiple input videos, note that they must have identical encoding attributes. When you choose Passthrough, your output container must be MXF or QuickTime MOV.
sourcepub fn frame_capture_settings(&self) -> Option<&FrameCaptureSettings>
pub fn frame_capture_settings(&self) -> Option<&FrameCaptureSettings>
Required when you set Codec to the value FRAME_CAPTURE.
sourcepub fn h264_settings(&self) -> Option<&H264Settings>
pub fn h264_settings(&self) -> Option<&H264Settings>
Required when you set Codec to the value H_264.
sourcepub fn h265_settings(&self) -> Option<&H265Settings>
pub fn h265_settings(&self) -> Option<&H265Settings>
Settings for H265 codec
sourcepub fn mpeg2_settings(&self) -> Option<&Mpeg2Settings>
pub fn mpeg2_settings(&self) -> Option<&Mpeg2Settings>
Required when you set Codec to the value MPEG2.
sourcepub fn prores_settings(&self) -> Option<&ProresSettings>
pub fn prores_settings(&self) -> Option<&ProresSettings>
Required when you set Codec to the value PRORES.
sourcepub fn uncompressed_settings(&self) -> Option<&UncompressedSettings>
pub fn uncompressed_settings(&self) -> Option<&UncompressedSettings>
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
sourcepub fn vc3_settings(&self) -> Option<&Vc3Settings>
pub fn vc3_settings(&self) -> Option<&Vc3Settings>
Required when you set Codec to the value VC3
sourcepub fn vp8_settings(&self) -> Option<&Vp8Settings>
pub fn vp8_settings(&self) -> Option<&Vp8Settings>
Required when you set Codec to the value VP8.
sourcepub fn vp9_settings(&self) -> Option<&Vp9Settings>
pub fn vp9_settings(&self) -> Option<&Vp9Settings>
Required when you set Codec to the value VP9.
sourcepub fn xavc_settings(&self) -> Option<&XavcSettings>
pub fn xavc_settings(&self) -> Option<&XavcSettings>
Required when you set Codec to the value XAVC.
source§impl VideoCodecSettings
impl VideoCodecSettings
sourcepub fn builder() -> VideoCodecSettingsBuilder
pub fn builder() -> VideoCodecSettingsBuilder
Creates a new builder-style object to manufacture VideoCodecSettings
.
Trait Implementations§
source§impl Clone for VideoCodecSettings
impl Clone for VideoCodecSettings
source§fn clone(&self) -> VideoCodecSettings
fn clone(&self) -> VideoCodecSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VideoCodecSettings
impl Debug for VideoCodecSettings
source§impl PartialEq for VideoCodecSettings
impl PartialEq for VideoCodecSettings
source§fn eq(&self, other: &VideoCodecSettings) -> bool
fn eq(&self, other: &VideoCodecSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoCodecSettings
Auto Trait Implementations§
impl Freeze for VideoCodecSettings
impl RefUnwindSafe for VideoCodecSettings
impl Send for VideoCodecSettings
impl Sync for VideoCodecSettings
impl Unpin for VideoCodecSettings
impl UnwindSafe for VideoCodecSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more