Struct rusoto_medialive::H265Settings
source · [−]pub struct H265Settings {Show 29 fields
pub adaptive_quantization: Option<String>,
pub afd_signaling: Option<String>,
pub alternative_transfer_function: Option<String>,
pub bitrate: Option<i64>,
pub buf_size: Option<i64>,
pub color_metadata: Option<String>,
pub color_space_settings: Option<H265ColorSpaceSettings>,
pub filter_settings: Option<H265FilterSettings>,
pub fixed_afd: Option<String>,
pub flicker_aq: Option<String>,
pub framerate_denominator: i64,
pub framerate_numerator: i64,
pub gop_closed_cadence: Option<i64>,
pub gop_size: Option<f64>,
pub gop_size_units: Option<String>,
pub level: Option<String>,
pub look_ahead_rate_control: Option<String>,
pub max_bitrate: Option<i64>,
pub min_i_interval: Option<i64>,
pub par_denominator: Option<i64>,
pub par_numerator: Option<i64>,
pub profile: Option<String>,
pub qvbr_quality_level: Option<i64>,
pub rate_control_mode: Option<String>,
pub scan_type: Option<String>,
pub scene_change_detect: Option<String>,
pub slices: Option<i64>,
pub tier: Option<String>,
pub timecode_insertion: Option<String>,
}
Expand description
H265 Settings
Fields
adaptive_quantization: Option<String>
Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
afd_signaling: Option<String>
Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.
alternative_transfer_function: Option<String>
Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
bitrate: Option<i64>
Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.
buf_size: Option<i64>
Size of buffer (HRD buffer model) in bits.
color_metadata: Option<String>
Includes colorspace metadata in the output.
color_space_settings: Option<H265ColorSpaceSettings>
Color Space settings
filter_settings: Option<H265FilterSettings>
Optional filters that you can apply to an encode.
fixed_afd: Option<String>
Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
flicker_aq: Option<String>
If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
framerate_denominator: i64
Framerate denominator.
framerate_numerator: i64
Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
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.
gop_size: Option<f64>
GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. If gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.
gop_size_units: Option<String>
Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.
level: Option<String>
H.265 Level.
look_ahead_rate_control: Option<String>
Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
max_bitrate: Option<i64>
For QVBR: See the tooltip for Quality level
min_i_interval: Option<i64>
Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
par_denominator: Option<i64>
Pixel Aspect Ratio denominator.
par_numerator: Option<i64>
Pixel Aspect Ratio numerator.
profile: Option<String>
H.265 Profile.
qvbr_quality_level: Option<i64>
Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are: - Primary screen: Quality level: 8 to 10. Max bitrate: 4M - PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M - Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
rate_control_mode: Option<String>
Rate control mode.
QVBR: Quality will match the specified quality level except when it is constrained by the maximum bitrate. Recommended if you or your viewers pay for bandwidth.
CBR: Quality varies, depending on the video complexity. Recommended only if you distribute your assets to devices that cannot handle variable bitrates.
Multiplex: This rate control mode is only supported (and is required) when the video is being delivered to a MediaLive Multiplex in which case the rate control configuration is controlled by the properties within the Multiplex Program.
scan_type: Option<String>
Sets the scan type of the output to progressive or top-field-first interlaced.
scene_change_detect: Option<String>
Scene change detection.
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. This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.
tier: Option<String>
H.265 Tier.
timecode_insertion: Option<String>
Determines how timecodes should be inserted into the video elementary stream. - 'disabled': Do not include timecodes - 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config
Trait Implementations
sourceimpl Clone for H265Settings
impl Clone for H265Settings
sourcefn clone(&self) -> H265Settings
fn clone(&self) -> H265Settings
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 H265Settings
impl Debug for H265Settings
sourceimpl Default for H265Settings
impl Default for H265Settings
sourcefn default() -> H265Settings
fn default() -> H265Settings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for H265Settings
impl<'de> Deserialize<'de> for H265Settings
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<H265Settings> for H265Settings
impl PartialEq<H265Settings> for H265Settings
sourcefn eq(&self, other: &H265Settings) -> bool
fn eq(&self, other: &H265Settings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &H265Settings) -> bool
fn ne(&self, other: &H265Settings) -> bool
This method tests for !=
.
sourceimpl Serialize for H265Settings
impl Serialize for H265Settings
impl StructuralPartialEq for H265Settings
Auto Trait Implementations
impl RefUnwindSafe for H265Settings
impl Send for H265Settings
impl Sync for H265Settings
impl Unpin for H265Settings
impl UnwindSafe for H265Settings
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