logo
pub struct Eac3Settings {
Show 20 fields pub attenuation_control: Option<String>, pub bitrate: Option<f64>, pub bitstream_mode: Option<String>, pub coding_mode: Option<String>, pub dc_filter: Option<String>, pub dialnorm: Option<i64>, pub drc_line: Option<String>, pub drc_rf: Option<String>, pub lfe_control: Option<String>, pub lfe_filter: Option<String>, pub lo_ro_center_mix_level: Option<f64>, pub lo_ro_surround_mix_level: Option<f64>, pub lt_rt_center_mix_level: Option<f64>, pub lt_rt_surround_mix_level: Option<f64>, pub metadata_control: Option<String>, pub passthrough_control: Option<String>, pub phase_control: Option<String>, pub stereo_downmix: Option<String>, pub surround_ex_mode: Option<String>, pub surround_mode: Option<String>,
}
Expand description

Eac3 Settings

Fields

attenuation_control: Option<String>

When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.

bitrate: Option<f64>

Average bitrate in bits/second. Valid bitrates depend on the coding mode.

bitstream_mode: Option<String>

Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. See ATSC A/52-2012 (Annex E) for background on these values.

coding_mode: Option<String>

Dolby Digital Plus coding mode. Determines number of channels.

dc_filter: Option<String>

When set to enabled, activates a DC highpass filter for all input channels.

dialnorm: Option<i64>

Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.

drc_line: Option<String>

Sets the Dolby dynamic range compression profile.

drc_rf: Option<String>

Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.

lfe_control: Option<String>

When encoding 3/2 audio, setting to lfe enables the LFE channel

lfe_filter: Option<String>

When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with codingMode32 coding mode.

lo_ro_center_mix_level: Option<f64>

Left only/Right only center mix level. Only used for 3/2 coding mode.

lo_ro_surround_mix_level: Option<f64>

Left only/Right only surround mix level. Only used for 3/2 coding mode.

lt_rt_center_mix_level: Option<f64>

Left total/Right total center mix level. Only used for 3/2 coding mode.

lt_rt_surround_mix_level: Option<f64>

Left total/Right total surround mix level. Only used for 3/2 coding mode.

metadata_control: Option<String>

When set to followInput, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.

passthrough_control: Option<String>

When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.

phase_control: Option<String>

When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Only used for 3/2 coding mode.

stereo_downmix: Option<String>

Stereo downmix preference. Only used for 3/2 coding mode.

surround_ex_mode: Option<String>

When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.

surround_mode: Option<String>

When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more