class Aws::MediaConvert::Types::InputTemplate

Specified video input in a template.

@note When making an API call, you may pass InputTemplate

data as a hash:

    {
      audio_selector_groups: {
        "__string" => {
          audio_selector_names: ["__stringMin1"],
        },
      },
      audio_selectors: {
        "__string" => {
          custom_language_code: "__stringMin3Max3PatternAZaZ3",
          default_selection: "DEFAULT", # accepts DEFAULT, NOT_DEFAULT
          external_audio_file_input: "__stringPatternS3MM2PPWWEEBBMMMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVaAAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEAATTMMOOSSHttpsMM2VVMMPPEEGGMMPP3AAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMKKAAMMOOVVMMTTSSMM2TTWWMMVVaAAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEEAATTMMOOSS",
          hls_rendition_group_settings: {
            rendition_group_id: "__string",
            rendition_language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
            rendition_name: "__string",
          },
          language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
          offset: 1,
          pids: [1],
          program_selection: 1,
          remix_settings: {
            channel_mapping: {
              output_channels: [
                {
                  input_channels: [1],
                  input_channels_fine_tune: [1.0],
                },
              ],
            },
            channels_in: 1,
            channels_out: 1,
          },
          selector_type: "PID", # accepts PID, TRACK, LANGUAGE_CODE, HLS_RENDITION_GROUP
          tracks: [1],
        },
      },
      caption_selectors: {
        "__string" => {
          custom_language_code: "__stringMin3Max3PatternAZaZ3",
          language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
          source_settings: {
            ancillary_source_settings: {
              convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
              source_ancillary_channel_number: 1,
              terminate_captions: "END_OF_INPUT", # accepts END_OF_INPUT, DISABLED
            },
            dvb_sub_source_settings: {
              pid: 1,
            },
            embedded_source_settings: {
              convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
              source_608_channel_number: 1,
              source_608_track_number: 1,
              terminate_captions: "END_OF_INPUT", # accepts END_OF_INPUT, DISABLED
            },
            file_source_settings: {
              convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
              framerate: {
                framerate_denominator: 1,
                framerate_numerator: 1,
              },
              source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
              time_delta: 1,
            },
            source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
            teletext_source_settings: {
              page_number: "__stringMin3Max3Pattern1809aFAF09aEAE",
            },
            track_source_settings: {
              track_number: 1,
            },
            webvtt_hls_source_settings: {
              rendition_group_id: "__string",
              rendition_language_code: "ENG", # accepts ENG, SPA, FRA, DEU, GER, ZHO, ARA, HIN, JPN, RUS, POR, ITA, URD, VIE, KOR, PAN, ABK, AAR, AFR, AKA, SQI, AMH, ARG, HYE, ASM, AVA, AVE, AYM, AZE, BAM, BAK, EUS, BEL, BEN, BIH, BIS, BOS, BRE, BUL, MYA, CAT, KHM, CHA, CHE, NYA, CHU, CHV, COR, COS, CRE, HRV, CES, DAN, DIV, NLD, DZO, ENM, EPO, EST, EWE, FAO, FIJ, FIN, FRM, FUL, GLA, GLG, LUG, KAT, ELL, GRN, GUJ, HAT, HAU, HEB, HER, HMO, HUN, ISL, IDO, IBO, IND, INA, ILE, IKU, IPK, GLE, JAV, KAL, KAN, KAU, KAS, KAZ, KIK, KIN, KIR, KOM, KON, KUA, KUR, LAO, LAT, LAV, LIM, LIN, LIT, LUB, LTZ, MKD, MLG, MSA, MAL, MLT, GLV, MRI, MAR, MAH, MON, NAU, NAV, NDE, NBL, NDO, NEP, SME, NOR, NOB, NNO, OCI, OJI, ORI, ORM, OSS, PLI, FAS, POL, PUS, QUE, QAA, RON, ROH, RUN, SMO, SAG, SAN, SRD, SRB, SNA, III, SND, SIN, SLK, SLV, SOM, SOT, SUN, SWA, SSW, SWE, TGL, TAH, TGK, TAM, TAT, TEL, THA, BOD, TIR, TON, TSO, TSN, TUR, TUK, TWI, UIG, UKR, UZB, VEN, VOL, WLN, CYM, FRY, WOL, XHO, YID, YOR, ZHA, ZUL, ORJ, QPC, TNG
              rendition_name: "__string",
            },
          },
        },
      },
      crop: {
        height: 1,
        width: 1,
        x: 1,
        y: 1,
      },
      deblock_filter: "ENABLED", # accepts ENABLED, DISABLED
      denoise_filter: "ENABLED", # accepts ENABLED, DISABLED
      filter_enable: "AUTO", # accepts AUTO, DISABLE, FORCE
      filter_strength: 1,
      image_inserter: {
        insertable_images: [
          {
            duration: 1,
            fade_in: 1,
            fade_out: 1,
            height: 1,
            image_inserter_input: "__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA",
            image_x: 1,
            image_y: 1,
            layer: 1,
            opacity: 1,
            start_time: "__stringPattern01D20305D205D",
            width: 1,
          },
        ],
      },
      input_clippings: [
        {
          end_timecode: "__stringPattern010920405090509092",
          start_timecode: "__stringPattern010920405090509092",
        },
      ],
      input_scan_type: "AUTO", # accepts AUTO, PSF
      position: {
        height: 1,
        width: 1,
        x: 1,
        y: 1,
      },
      program_number: 1,
      psi_control: "IGNORE_PSI", # accepts IGNORE_PSI, USE_PSI
      timecode_source: "EMBEDDED", # accepts EMBEDDED, ZEROBASED, SPECIFIEDSTART
      timecode_start: "__stringMin11Max11Pattern01D20305D205D",
      video_selector: {
        alpha_behavior: "DISCARD", # accepts DISCARD, REMAP_TO_LUMA
        color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709, HDR10, HLG_2020
        color_space_usage: "FORCE", # accepts FORCE, FALLBACK
        hdr_10_metadata: {
          blue_primary_x: 1,
          blue_primary_y: 1,
          green_primary_x: 1,
          green_primary_y: 1,
          max_content_light_level: 1,
          max_frame_average_light_level: 1,
          max_luminance: 1,
          min_luminance: 1,
          red_primary_x: 1,
          red_primary_y: 1,
          white_point_x: 1,
          white_point_y: 1,
        },
        pid: 1,
        program_number: 1,
        rotate: "DEGREE_0", # accepts DEGREE_0, DEGREES_90, DEGREES_180, DEGREES_270, AUTO
        sample_range: "FOLLOW", # accepts FOLLOW, FULL_RANGE, LIMITED_RANGE
      },
    }

@!attribute [rw] audio_selector_groups

Use audio selector groups to combine multiple sidecar audio inputs
so that you can assign them to a single output audio tab
(AudioDescription). Note that, if you're working with embedded
audio, it's simpler to assign multiple input tracks into a single
audio selector rather than use an audio selector group.
@return [Hash<String,Types::AudioSelectorGroup>]

@!attribute [rw] audio_selectors

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.
@return [Hash<String,Types::AudioSelector>]

@!attribute [rw] caption_selectors

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.
@return [Hash<String,Types::CaptionSelector>]

@!attribute [rw] crop

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).
@return [Types::Rectangle]

@!attribute [rw] deblock_filter

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

@!attribute [rw] denoise_filter

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

@!attribute [rw] filter_enable

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 input
is filtered regardless of input type.
@return [String]

@!attribute [rw] filter_strength

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

@!attribute [rw] image_inserter

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.
@return [Types::ImageInserter]

@!attribute [rw] input_clippings

(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.
@return [Array<Types::InputClipping>]

@!attribute [rw] input_scan_type

When you have a progressive segmented frame (PsF) input, use this
setting to flag the input as PsF. MediaConvert doesn't
automatically detect PsF. Therefore, flagging your input as PsF
results in better preservation of video quality when you do
deinterlacing and frame rate conversion. If you don't specify, the
default value is Auto (AUTO). Auto is the correct setting for all
inputs that are not PsF. Don't set this value to PsF when your
input is interlaced. Doing so creates horizontal interlacing
artifacts.
@return [String]

@!attribute [rw] position

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).
@return [Types::Rectangle]

@!attribute [rw] program_number

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.
@return [Integer]

@!attribute [rw] psi_control

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.
@return [String]

@!attribute [rw] timecode_source

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.
@return [String]

@!attribute [rw] timecode_start

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.
@return [String]

@!attribute [rw] video_selector

Input video selectors contain the video settings for the input. Each
of your inputs can have up to one video selector.
@return [Types::VideoSelector]

@see docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InputTemplate AWS API Documentation

Constants

SENSITIVE