Struct aws_sdk_mediaconvert::types::builders::Vc3SettingsBuilder
source · #[non_exhaustive]pub struct Vc3SettingsBuilder { /* private fields */ }
Expand description
A builder for Vc3Settings
.
Implementations§
source§impl Vc3SettingsBuilder
impl Vc3SettingsBuilder
sourcepub fn framerate_control(self, input: Vc3FramerateControl) -> Self
pub fn framerate_control(self, input: Vc3FramerateControl) -> Self
If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction.
sourcepub fn set_framerate_control(self, input: Option<Vc3FramerateControl>) -> Self
pub fn set_framerate_control(self, input: Option<Vc3FramerateControl>) -> Self
If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction.
sourcepub fn get_framerate_control(&self) -> &Option<Vc3FramerateControl>
pub fn get_framerate_control(&self) -> &Option<Vc3FramerateControl>
If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction.
sourcepub fn framerate_conversion_algorithm(
self,
input: Vc3FramerateConversionAlgorithm
) -> Self
pub fn framerate_conversion_algorithm( self, input: Vc3FramerateConversionAlgorithm ) -> Self
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least 128x96.
sourcepub fn set_framerate_conversion_algorithm(
self,
input: Option<Vc3FramerateConversionAlgorithm>
) -> Self
pub fn set_framerate_conversion_algorithm( self, input: Option<Vc3FramerateConversionAlgorithm> ) -> Self
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least 128x96.
sourcepub fn get_framerate_conversion_algorithm(
&self
) -> &Option<Vc3FramerateConversionAlgorithm>
pub fn get_framerate_conversion_algorithm( &self ) -> &Option<Vc3FramerateConversionAlgorithm>
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. For numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least 128x96.
sourcepub fn framerate_denominator(self, input: i32) -> Self
pub fn framerate_denominator(self, input: i32) -> Self
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn set_framerate_denominator(self, input: Option<i32>) -> Self
pub fn set_framerate_denominator(self, input: Option<i32>) -> Self
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn get_framerate_denominator(&self) -> &Option<i32>
pub fn get_framerate_denominator(&self) -> &Option<i32>
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn framerate_numerator(self, input: i32) -> Self
pub fn framerate_numerator(self, input: i32) -> Self
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn set_framerate_numerator(self, input: Option<i32>) -> Self
pub fn set_framerate_numerator(self, input: Option<i32>) -> Self
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn get_framerate_numerator(&self) -> &Option<i32>
pub fn get_framerate_numerator(&self) -> &Option<i32>
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
sourcepub fn interlace_mode(self, input: Vc3InterlaceMode) -> Self
pub fn interlace_mode(self, input: Vc3InterlaceMode) -> Self
Optional. Choose the scan line type for this output. If you don’t specify a value, MediaConvert will create a progressive output.
sourcepub fn set_interlace_mode(self, input: Option<Vc3InterlaceMode>) -> Self
pub fn set_interlace_mode(self, input: Option<Vc3InterlaceMode>) -> Self
Optional. Choose the scan line type for this output. If you don’t specify a value, MediaConvert will create a progressive output.
sourcepub fn get_interlace_mode(&self) -> &Option<Vc3InterlaceMode>
pub fn get_interlace_mode(&self) -> &Option<Vc3InterlaceMode>
Optional. Choose the scan line type for this output. If you don’t specify a value, MediaConvert will create a progressive output.
sourcepub fn scan_type_conversion_mode(self, input: Vc3ScanTypeConversionMode) -> Self
pub fn scan_type_conversion_mode(self, input: Vc3ScanTypeConversionMode) -> Self
Use this setting for interlaced outputs, when your output frame rate is half of your input frame rate. In this situation, choose Optimized interlacing to create a better quality interlaced output. In this case, each progressive frame from the input corresponds to an interlaced field in the output. Keep the default value, Basic interlacing, for all other output frame rates. With basic interlacing, MediaConvert performs any frame rate conversion first and then interlaces the frames. When you choose Optimized interlacing and you set your output frame rate to a value that isn’t suitable for optimized interlacing, MediaConvert automatically falls back to basic interlacing. Required settings: To use optimized interlacing, you must set Telecine to None or Soft. You can’t use optimized interlacing for hard telecine outputs. You must also set Interlace mode to a value other than Progressive.
sourcepub fn set_scan_type_conversion_mode(
self,
input: Option<Vc3ScanTypeConversionMode>
) -> Self
pub fn set_scan_type_conversion_mode( self, input: Option<Vc3ScanTypeConversionMode> ) -> Self
Use this setting for interlaced outputs, when your output frame rate is half of your input frame rate. In this situation, choose Optimized interlacing to create a better quality interlaced output. In this case, each progressive frame from the input corresponds to an interlaced field in the output. Keep the default value, Basic interlacing, for all other output frame rates. With basic interlacing, MediaConvert performs any frame rate conversion first and then interlaces the frames. When you choose Optimized interlacing and you set your output frame rate to a value that isn’t suitable for optimized interlacing, MediaConvert automatically falls back to basic interlacing. Required settings: To use optimized interlacing, you must set Telecine to None or Soft. You can’t use optimized interlacing for hard telecine outputs. You must also set Interlace mode to a value other than Progressive.
sourcepub fn get_scan_type_conversion_mode(
&self
) -> &Option<Vc3ScanTypeConversionMode>
pub fn get_scan_type_conversion_mode( &self ) -> &Option<Vc3ScanTypeConversionMode>
Use this setting for interlaced outputs, when your output frame rate is half of your input frame rate. In this situation, choose Optimized interlacing to create a better quality interlaced output. In this case, each progressive frame from the input corresponds to an interlaced field in the output. Keep the default value, Basic interlacing, for all other output frame rates. With basic interlacing, MediaConvert performs any frame rate conversion first and then interlaces the frames. When you choose Optimized interlacing and you set your output frame rate to a value that isn’t suitable for optimized interlacing, MediaConvert automatically falls back to basic interlacing. Required settings: To use optimized interlacing, you must set Telecine to None or Soft. You can’t use optimized interlacing for hard telecine outputs. You must also set Interlace mode to a value other than Progressive.
sourcepub fn slow_pal(self, input: Vc3SlowPal) -> Self
pub fn slow_pal(self, input: Vc3SlowPal) -> Self
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25.
sourcepub fn set_slow_pal(self, input: Option<Vc3SlowPal>) -> Self
pub fn set_slow_pal(self, input: Option<Vc3SlowPal>) -> Self
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25.
sourcepub fn get_slow_pal(&self) -> &Option<Vc3SlowPal>
pub fn get_slow_pal(&self) -> &Option<Vc3SlowPal>
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Framerate to 25.
sourcepub fn telecine(self, input: Vc3Telecine) -> Self
pub fn telecine(self, input: Vc3Telecine) -> Self
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine to create a smoother picture. When you keep the default value, None, MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.
sourcepub fn set_telecine(self, input: Option<Vc3Telecine>) -> Self
pub fn set_telecine(self, input: Option<Vc3Telecine>) -> Self
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine to create a smoother picture. When you keep the default value, None, MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.
sourcepub fn get_telecine(&self) -> &Option<Vc3Telecine>
pub fn get_telecine(&self) -> &Option<Vc3Telecine>
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is interlaced, you can optionally enable hard telecine to create a smoother picture. When you keep the default value, None, MediaConvert does a standard frame rate conversion to 29.97 without doing anything with the field polarity to create a smoother picture.
sourcepub fn vc3_class(self, input: Vc3Class) -> Self
pub fn vc3_class(self, input: Vc3Class) -> Self
Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 gives you an output with a bitrate of approximately 145 Mbps and Class 220 gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output.
sourcepub fn set_vc3_class(self, input: Option<Vc3Class>) -> Self
pub fn set_vc3_class(self, input: Option<Vc3Class>) -> Self
Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 gives you an output with a bitrate of approximately 145 Mbps and Class 220 gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output.
sourcepub fn get_vc3_class(&self) -> &Option<Vc3Class>
pub fn get_vc3_class(&self) -> &Option<Vc3Class>
Specify the VC3 class to choose the quality characteristics for this output. VC3 class, together with the settings Framerate (framerateNumerator and framerateDenominator) and Resolution (height and width), determine your output bitrate. For example, say that your video resolution is 1920x1080 and your framerate is 29.97. Then Class 145 gives you an output with a bitrate of approximately 145 Mbps and Class 220 gives you and output with a bitrate of approximately 220 Mbps. VC3 class also specifies the color bit depth of your output.
sourcepub fn build(self) -> Vc3Settings
pub fn build(self) -> Vc3Settings
Consumes the builder and constructs a Vc3Settings
.
Trait Implementations§
source§impl Clone for Vc3SettingsBuilder
impl Clone for Vc3SettingsBuilder
source§fn clone(&self) -> Vc3SettingsBuilder
fn clone(&self) -> Vc3SettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Vc3SettingsBuilder
impl Debug for Vc3SettingsBuilder
source§impl Default for Vc3SettingsBuilder
impl Default for Vc3SettingsBuilder
source§fn default() -> Vc3SettingsBuilder
fn default() -> Vc3SettingsBuilder
source§impl PartialEq for Vc3SettingsBuilder
impl PartialEq for Vc3SettingsBuilder
source§fn eq(&self, other: &Vc3SettingsBuilder) -> bool
fn eq(&self, other: &Vc3SettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Vc3SettingsBuilder
Auto Trait Implementations§
impl Freeze for Vc3SettingsBuilder
impl RefUnwindSafe for Vc3SettingsBuilder
impl Send for Vc3SettingsBuilder
impl Sync for Vc3SettingsBuilder
impl Unpin for Vc3SettingsBuilder
impl UnwindSafe for Vc3SettingsBuilder
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