[][src]Struct rusoto_mediaconvert::Input

pub struct Input {
    pub audio_selector_groups: Option<HashMap<String, AudioSelectorGroup>>,
    pub audio_selectors: Option<HashMap<String, AudioSelector>>,
    pub caption_selectors: Option<HashMap<String, CaptionSelector>>,
    pub deblock_filter: Option<String>,
    pub decryption_settings: Option<InputDecryptionSettings>,
    pub denoise_filter: Option<String>,
    pub file_input: Option<String>,
    pub filter_enable: Option<String>,
    pub filter_strength: Option<i64>,
    pub image_inserter: Option<ImageInserter>,
    pub input_clippings: Option<Vec<InputClipping>>,
    pub program_number: Option<i64>,
    pub psi_control: Option<String>,
    pub supplemental_imps: Option<Vec<String>>,
    pub timecode_source: Option<String>,
    pub video_selector: Option<VideoSelector>,
}

Specifies media input

Fields

audio_selector_groups: Option<HashMap<String, AudioSelectorGroup>>

Specifies set of audio selectors within an input to combine. An input may have multiple audio selector groups. See "Audio Selector Group":#inputs-audioselectorgroup for more information.

audio_selectors: Option<HashMap<String, AudioSelector>>

Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use mutiple Audio selectors per input.

caption_selectors: Option<HashMap<String, CaptionSelector>>

Use Captions selectors (CaptionSelectors) to specify the captions data from the input that you will use in your outputs. You can use mutiple captions selectors per input.

deblock_filter: Option<String>

Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only manaully controllable for MPEG2 and uncompressed video inputs.

decryption_settings: Option<InputDecryptionSettings>

Settings for decrypting any input files that you encrypt before you upload them to Amazon S3. MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data key that you use to encrypt your content.

denoise_filter: Option<String>

Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video inputs.

file_input: Option<String>

Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use Supplemental IMPs (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL.

filter_enable: Option<String>

Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering, depending on input type and quality. * Disable - The input is not filtered. This is true even if you use the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered regardless of input type.

filter_strength: Option<i64>

Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.

image_inserter: Option<ImageInserter>

Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this feature for each input individually. This setting is disabled by default.

input_clippings: Option<Vec<InputClipping>>

(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in the outputs. If you provide only a start time, the clip will be the entire input from that point to the end. If you provide only an end time, it will be the entire input up to that point. When you specify more than one input clip, the transcoding service creates the job outputs by stringing the clips together in the order you specify them.

program_number: Option<i64>

Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.

psi_control: Option<String>

Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.

supplemental_imps: Option<Vec<String>>

Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/", "s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL, because the service automatically detects it.

timecode_source: Option<String>

Timecode source under input settings (InputTimecodeSource) only affects the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Use this setting to specify whether the service counts frames by timecodes embedded in the video (EMBEDDED) or by starting the first frame at zero (ZEROBASED). In both cases, the timecode format is HH:MM:SS:FF or HH:MM:SS;FF, where FF is the frame number. Only set this to EMBEDDED if your source video has embedded timecodes.

video_selector: Option<VideoSelector>

Selector for video.

Trait Implementations

impl PartialEq<Input> for Input[src]

impl Default for Input[src]

impl Clone for Input[src]

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

Performs copy-assignment from source. Read more

impl Debug for Input[src]

impl Serialize for Input[src]

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

Auto Trait Implementations

impl Send for Input

impl Sync for Input

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