[][src]Struct rusoto_mediaconvert::InputTemplate

pub struct InputTemplate {
    pub audio_selector_groups: Option<HashMap<String, AudioSelectorGroup>>,
    pub audio_selectors: Option<HashMap<String, AudioSelector>>,
    pub caption_selectors: Option<HashMap<String, CaptionSelector>>,
    pub crop: Option<Rectangle>,
    pub deblock_filter: Option<String>,
    pub denoise_filter: Option<String>,
    pub filter_enable: Option<String>,
    pub filter_strength: Option<i64>,
    pub image_inserter: Option<ImageInserter>,
    pub input_clippings: Option<Vec<InputClipping>>,
    pub position: Option<Rectangle>,
    pub program_number: Option<i64>,
    pub psi_control: Option<String>,
    pub timecode_source: Option<String>,
    pub timecode_start: Option<String>,
    pub video_selector: Option<VideoSelector>,
}

Specified video input in a template.

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 multiple Audio selectors per input.

caption_selectors: Option<HashMap<String, CaptionSelector>>

Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input.

crop: Option<Rectangle>

Use Cropping selection (crop) to specify the video area that the service will include in the output video frame. If you specify a value here, it will override any value that you specify in the output setting Cropping selection (crop).

deblock_filter: Option<String>

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

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.

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.

position: Option<Rectangle>

Use Selection placement (position) to define the video area in your output frame. The area outside of the rectangle that you specify here is black. If you specify a value here, it will override any value that you specify in the output setting Selection placement (position). If you specify a value here, this will override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND). If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior (scalingBehavior).

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.

timecode_source: Option<String>

Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the service counts input video frames. This input frame count affects only the behavior of features that apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode source, the service will use Embedded by default. For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.

timecode_start: Option<String>

Specify the timecode that you want the service to use for this input's initial frame. To use this setting, you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to Specified start (SPECIFIEDSTART). For more information about timecodes, see https://docs.aws.amazon.com/console/mediaconvert/timecode.

video_selector: Option<VideoSelector>

Selector for video.

Trait Implementations

impl Clone for InputTemplate[src]

impl Debug for InputTemplate[src]

impl Default for InputTemplate[src]

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

impl PartialEq<InputTemplate> for InputTemplate[src]

impl Serialize for InputTemplate[src]

impl StructuralPartialEq for InputTemplate[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.