[][src]Struct rusoto_mediaconvert::HlsGroupSettings

pub struct HlsGroupSettings {
    pub ad_markers: Option<Vec<String>>,
    pub base_url: Option<String>,
    pub caption_language_mappings: Option<Vec<HlsCaptionLanguageMapping>>,
    pub caption_language_setting: Option<String>,
    pub client_cache: Option<String>,
    pub codec_specification: Option<String>,
    pub destination: Option<String>,
    pub destination_settings: Option<DestinationSettings>,
    pub directory_structure: Option<String>,
    pub encryption: Option<HlsEncryptionSettings>,
    pub manifest_compression: Option<String>,
    pub manifest_duration_format: Option<String>,
    pub min_final_segment_length: Option<f64>,
    pub min_segment_length: Option<i64>,
    pub output_selection: Option<String>,
    pub program_date_time: Option<String>,
    pub program_date_time_period: Option<i64>,
    pub segment_control: Option<String>,
    pub segment_length: Option<i64>,
    pub segments_per_subdirectory: Option<i64>,
    pub stream_inf_resolution: Option<String>,
    pub timed_metadata_id_3_frame: Option<String>,
    pub timed_metadata_id_3_period: Option<i64>,
    pub timestamp_delta_milliseconds: Option<i64>,
}

Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to HLSGROUPSETTINGS.

Fields

ad_markers: Option<Vec<String>>

Choose one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.

base_url: Option<String>

A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.

caption_language_mappings: Option<Vec<HlsCaptionLanguageMapping>>

Language to be used on Caption outputs

caption_language_setting: Option<String>

Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest.

client_cache: Option<String>

When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client from saving media segments for later replay.

codec_specification: Option<String>

Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.

destination: Option<String>

Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.

destination_settings: Option<DestinationSettings>

Settings associated with the destination. Will vary based on the type of destination

directory_structure: Option<String>

Indicates whether segments should be placed in subdirectories.

encryption: Option<HlsEncryptionSettings>

DRM settings.

manifest_compression: Option<String>

When set to GZIP, compresses HLS playlist.

manifest_duration_format: Option<String>

Indicates whether the output manifest should use floating point values for segment duration.

min_final_segment_length: Option<f64>

Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.

min_segment_length: Option<i64>

When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.

output_selection: Option<String>

Indicates whether the .m3u8 manifest file should be generated for this HLS output group.

program_date_time: Option<String>

Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestamp_offset.

program_date_time_period: Option<i64>

Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.

segment_control: Option<String>

When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback.

segment_length: Option<i64>

Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.

segments_per_subdirectory: Option<i64>

Number of segments to write to a subdirectory before starting a new one. directoryStructure must be SINGLE_DIRECTORY for this setting to have an effect.

stream_inf_resolution: Option<String>

Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.

timed_metadata_id_3_frame: Option<String>

Indicates ID3 frame that has the timecode.

timed_metadata_id_3_period: Option<i64>

Timed Metadata interval in seconds.

timestamp_delta_milliseconds: Option<i64>

Provides an extra millisecond delta offset to fine tune the timestamps.

Trait Implementations

impl PartialEq<HlsGroupSettings> for HlsGroupSettings[src]

impl Default for HlsGroupSettings[src]

impl Clone for HlsGroupSettings[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HlsGroupSettings[src]

impl Serialize for HlsGroupSettings[src]

impl<'de> Deserialize<'de> for HlsGroupSettings[src]

Auto Trait Implementations

impl Send for HlsGroupSettings

impl Sync for HlsGroupSettings

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self