pub struct Xavc4kProfileSettings {
pub bitrate_class: Option<String>,
pub codec_profile: Option<String>,
pub flicker_adaptive_quantization: Option<String>,
pub gop_b_reference: Option<String>,
pub gop_closed_cadence: Option<i64>,
pub hrd_buffer_size: Option<i64>,
pub quality_tuning_level: Option<String>,
pub slices: Option<i64>,
}
Expand description
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_4K.
Fields
bitrate_class: Option<String>
Specify the XAVC 4k (Long GOP) Bitrate Class to set the bitrate of your output. Outputs of the same class have similar image quality over the operating points that are valid for that class.
codec_profile: Option<String>
Specify the codec profile for this output. Choose High, 8-bit, 4:2:0 (HIGH) or High, 10-bit, 4:2:2 (HIGH_422). These profiles are specified in ITU-T H.264.
flicker_adaptive_quantization: Option<String>
The best way to set up adaptive quantization is to keep the default value, Auto (AUTO), for the setting Adaptive quantization (XavcAdaptiveQuantization). When you do so, MediaConvert automatically applies the best types of quantization for your video content. Include this setting in your JSON job specification only when you choose to change the default value for Adaptive quantization. Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In addition to enabling this setting, you must also set Adaptive quantization (adaptiveQuantization) to a value other than Off (OFF) or Auto (AUTO). Use Adaptive quantization to adjust the degree of smoothing that Flicker adaptive quantization provides.
gop_b_reference: Option<String>
Specify whether the encoder uses B-frames as reference frames for other pictures in the same GOP. Choose Allow (ENABLED) to allow the encoder to use B-frames as reference frames. Choose Don't allow (DISABLED) to prevent the encoder from using B-frames as reference frames.
gop_closed_cadence: Option<i64>
Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.
hrd_buffer_size: Option<i64>
Specify the size of the buffer that MediaConvert uses in the HRD buffer model for this output. Specify this value in bits; for example, enter five megabits as 5000000. When you don't set this value, or you set it to zero, MediaConvert calculates the default by doubling the bitrate of this output point.
quality_tuning_level: Option<String>
Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, single-pass encoding.
slices: Option<i64>
Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
Trait Implementations
sourceimpl Clone for Xavc4kProfileSettings
impl Clone for Xavc4kProfileSettings
sourcefn clone(&self) -> Xavc4kProfileSettings
fn clone(&self) -> Xavc4kProfileSettings
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 Xavc4kProfileSettings
impl Debug for Xavc4kProfileSettings
sourceimpl Default for Xavc4kProfileSettings
impl Default for Xavc4kProfileSettings
sourcefn default() -> Xavc4kProfileSettings
fn default() -> Xavc4kProfileSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Xavc4kProfileSettings
impl<'de> Deserialize<'de> for Xavc4kProfileSettings
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<Xavc4kProfileSettings> for Xavc4kProfileSettings
impl PartialEq<Xavc4kProfileSettings> for Xavc4kProfileSettings
sourcefn eq(&self, other: &Xavc4kProfileSettings) -> bool
fn eq(&self, other: &Xavc4kProfileSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Xavc4kProfileSettings) -> bool
fn ne(&self, other: &Xavc4kProfileSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for Xavc4kProfileSettings
impl Serialize for Xavc4kProfileSettings
impl StructuralPartialEq for Xavc4kProfileSettings
Auto Trait Implementations
impl RefUnwindSafe for Xavc4kProfileSettings
impl Send for Xavc4kProfileSettings
impl Sync for Xavc4kProfileSettings
impl Unpin for Xavc4kProfileSettings
impl UnwindSafe for Xavc4kProfileSettings
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