#[non_exhaustive]pub struct VideoCodecSettingsBuilder { /* private fields */ }
Expand description
A builder for VideoCodecSettings
.
Implementations§
source§impl VideoCodecSettingsBuilder
impl VideoCodecSettingsBuilder
sourcepub fn av1_settings(self, input: Av1Settings) -> Self
pub fn av1_settings(self, input: Av1Settings) -> Self
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.
sourcepub fn set_av1_settings(self, input: Option<Av1Settings>) -> Self
pub fn set_av1_settings(self, input: Option<Av1Settings>) -> Self
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.
sourcepub fn get_av1_settings(&self) -> &Option<Av1Settings>
pub fn get_av1_settings(&self) -> &Option<Av1Settings>
Required when you set Codec, under VideoDescription>CodecSettings to the value AV1.
sourcepub fn avc_intra_settings(self, input: AvcIntraSettings) -> Self
pub fn avc_intra_settings(self, input: AvcIntraSettings) -> Self
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 set_avc_intra_settings(self, input: Option<AvcIntraSettings>) -> Self
pub fn set_avc_intra_settings(self, input: Option<AvcIntraSettings>) -> Self
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 get_avc_intra_settings(&self) -> &Option<AvcIntraSettings>
pub fn get_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, input: VideoCodec) -> Self
pub fn codec(self, input: VideoCodec) -> Self
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 set_codec(self, input: Option<VideoCodec>) -> Self
pub fn set_codec(self, input: Option<VideoCodec>) -> Self
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 get_codec(&self) -> &Option<VideoCodec>
pub fn get_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, input: FrameCaptureSettings) -> Self
pub fn frame_capture_settings(self, input: FrameCaptureSettings) -> Self
Required when you set Codec to the value FRAME_CAPTURE.
sourcepub fn set_frame_capture_settings(
self,
input: Option<FrameCaptureSettings>
) -> Self
pub fn set_frame_capture_settings( self, input: Option<FrameCaptureSettings> ) -> Self
Required when you set Codec to the value FRAME_CAPTURE.
sourcepub fn get_frame_capture_settings(&self) -> &Option<FrameCaptureSettings>
pub fn get_frame_capture_settings(&self) -> &Option<FrameCaptureSettings>
Required when you set Codec to the value FRAME_CAPTURE.
sourcepub fn h264_settings(self, input: H264Settings) -> Self
pub fn h264_settings(self, input: H264Settings) -> Self
Required when you set Codec to the value H_264.
sourcepub fn set_h264_settings(self, input: Option<H264Settings>) -> Self
pub fn set_h264_settings(self, input: Option<H264Settings>) -> Self
Required when you set Codec to the value H_264.
sourcepub fn get_h264_settings(&self) -> &Option<H264Settings>
pub fn get_h264_settings(&self) -> &Option<H264Settings>
Required when you set Codec to the value H_264.
sourcepub fn h265_settings(self, input: H265Settings) -> Self
pub fn h265_settings(self, input: H265Settings) -> Self
Settings for H265 codec
sourcepub fn set_h265_settings(self, input: Option<H265Settings>) -> Self
pub fn set_h265_settings(self, input: Option<H265Settings>) -> Self
Settings for H265 codec
sourcepub fn get_h265_settings(&self) -> &Option<H265Settings>
pub fn get_h265_settings(&self) -> &Option<H265Settings>
Settings for H265 codec
sourcepub fn mpeg2_settings(self, input: Mpeg2Settings) -> Self
pub fn mpeg2_settings(self, input: Mpeg2Settings) -> Self
Required when you set Codec to the value MPEG2.
sourcepub fn set_mpeg2_settings(self, input: Option<Mpeg2Settings>) -> Self
pub fn set_mpeg2_settings(self, input: Option<Mpeg2Settings>) -> Self
Required when you set Codec to the value MPEG2.
sourcepub fn get_mpeg2_settings(&self) -> &Option<Mpeg2Settings>
pub fn get_mpeg2_settings(&self) -> &Option<Mpeg2Settings>
Required when you set Codec to the value MPEG2.
sourcepub fn prores_settings(self, input: ProresSettings) -> Self
pub fn prores_settings(self, input: ProresSettings) -> Self
Required when you set Codec to the value PRORES.
sourcepub fn set_prores_settings(self, input: Option<ProresSettings>) -> Self
pub fn set_prores_settings(self, input: Option<ProresSettings>) -> Self
Required when you set Codec to the value PRORES.
sourcepub fn get_prores_settings(&self) -> &Option<ProresSettings>
pub fn get_prores_settings(&self) -> &Option<ProresSettings>
Required when you set Codec to the value PRORES.
sourcepub fn uncompressed_settings(self, input: UncompressedSettings) -> Self
pub fn uncompressed_settings(self, input: UncompressedSettings) -> Self
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
sourcepub fn set_uncompressed_settings(
self,
input: Option<UncompressedSettings>
) -> Self
pub fn set_uncompressed_settings( self, input: Option<UncompressedSettings> ) -> Self
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
sourcepub fn get_uncompressed_settings(&self) -> &Option<UncompressedSettings>
pub fn get_uncompressed_settings(&self) -> &Option<UncompressedSettings>
Required when you set Codec, under VideoDescription>CodecSettings to the value UNCOMPRESSED.
sourcepub fn vc3_settings(self, input: Vc3Settings) -> Self
pub fn vc3_settings(self, input: Vc3Settings) -> Self
Required when you set Codec to the value VC3
sourcepub fn set_vc3_settings(self, input: Option<Vc3Settings>) -> Self
pub fn set_vc3_settings(self, input: Option<Vc3Settings>) -> Self
Required when you set Codec to the value VC3
sourcepub fn get_vc3_settings(&self) -> &Option<Vc3Settings>
pub fn get_vc3_settings(&self) -> &Option<Vc3Settings>
Required when you set Codec to the value VC3
sourcepub fn vp8_settings(self, input: Vp8Settings) -> Self
pub fn vp8_settings(self, input: Vp8Settings) -> Self
Required when you set Codec to the value VP8.
sourcepub fn set_vp8_settings(self, input: Option<Vp8Settings>) -> Self
pub fn set_vp8_settings(self, input: Option<Vp8Settings>) -> Self
Required when you set Codec to the value VP8.
sourcepub fn get_vp8_settings(&self) -> &Option<Vp8Settings>
pub fn get_vp8_settings(&self) -> &Option<Vp8Settings>
Required when you set Codec to the value VP8.
sourcepub fn vp9_settings(self, input: Vp9Settings) -> Self
pub fn vp9_settings(self, input: Vp9Settings) -> Self
Required when you set Codec to the value VP9.
sourcepub fn set_vp9_settings(self, input: Option<Vp9Settings>) -> Self
pub fn set_vp9_settings(self, input: Option<Vp9Settings>) -> Self
Required when you set Codec to the value VP9.
sourcepub fn get_vp9_settings(&self) -> &Option<Vp9Settings>
pub fn get_vp9_settings(&self) -> &Option<Vp9Settings>
Required when you set Codec to the value VP9.
sourcepub fn xavc_settings(self, input: XavcSettings) -> Self
pub fn xavc_settings(self, input: XavcSettings) -> Self
Required when you set Codec to the value XAVC.
sourcepub fn set_xavc_settings(self, input: Option<XavcSettings>) -> Self
pub fn set_xavc_settings(self, input: Option<XavcSettings>) -> Self
Required when you set Codec to the value XAVC.
sourcepub fn get_xavc_settings(&self) -> &Option<XavcSettings>
pub fn get_xavc_settings(&self) -> &Option<XavcSettings>
Required when you set Codec to the value XAVC.
sourcepub fn build(self) -> VideoCodecSettings
pub fn build(self) -> VideoCodecSettings
Consumes the builder and constructs a VideoCodecSettings
.
Trait Implementations§
source§impl Clone for VideoCodecSettingsBuilder
impl Clone for VideoCodecSettingsBuilder
source§fn clone(&self) -> VideoCodecSettingsBuilder
fn clone(&self) -> VideoCodecSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VideoCodecSettingsBuilder
impl Debug for VideoCodecSettingsBuilder
source§impl Default for VideoCodecSettingsBuilder
impl Default for VideoCodecSettingsBuilder
source§fn default() -> VideoCodecSettingsBuilder
fn default() -> VideoCodecSettingsBuilder
source§impl PartialEq for VideoCodecSettingsBuilder
impl PartialEq for VideoCodecSettingsBuilder
source§fn eq(&self, other: &VideoCodecSettingsBuilder) -> bool
fn eq(&self, other: &VideoCodecSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoCodecSettingsBuilder
Auto Trait Implementations§
impl Freeze for VideoCodecSettingsBuilder
impl RefUnwindSafe for VideoCodecSettingsBuilder
impl Send for VideoCodecSettingsBuilder
impl Sync for VideoCodecSettingsBuilder
impl Unpin for VideoCodecSettingsBuilder
impl UnwindSafe for VideoCodecSettingsBuilder
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