You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::Input

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass Input data as a hash:

{
  audio_selector_groups: {
    "__string" => {
      audio_selector_names: ["__stringMin1"], # required
    },
  },
  audio_selectors: {
    "__string" => {
      custom_language_code: "__stringMin3Max3PatternAZaZ3",
      default_selection: "DEFAULT", # accepts DEFAULT, NOT_DEFAULT
      external_audio_file_input: "__stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MMAAAACCAAIIFFFFMMPP2AACC3EECC3DDTTSSEE",
      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: { # required
          output_channels: [ # required
            {
              input_channels: [1], # required
            },
          ],
        },
        channels_in: 1, # required
        channels_out: 1, # required
      },
      selector_type: "PID", # accepts PID, TRACK, LANGUAGE_CODE
      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: { # required
        ancillary_source_settings: {
          source_ancillary_channel_number: 1,
        },
        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,
        },
        file_source_settings: {
          convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
          source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTSmiSMI", # required
          time_delta: 1,
        },
        source_type: "ANCILLARY", # required, accepts ANCILLARY, DVB_SUB, EMBEDDED, SCC, TTML, STL, SRT, TELETEXT, NULL_SOURCE
        teletext_source_settings: {
          page_number: "__stringMin3Max3Pattern1809aFAF09aEAE",
        },
      },
    },
  },
  deblock_filter: "ENABLED", # accepts ENABLED, DISABLED
  denoise_filter: "ENABLED", # accepts ENABLED, DISABLED
  file_input: "__stringPatternS3MM2VVMMPPEEGGAAVVIIMMPP4FFLLVVMMPPTTMMPPGGMM4VVTTRRPPFF4VVMM2TTSSTTSS264HH264MMKKVVMMOOVVMMTTSSMM2TTWWMMVVAASSFFVVOOBB3GGPP3GGPPPPMMXXFFDDIIVVXXXXVVIIDDRRAAWWDDVVGGXXFFMM1VV3GG2VVMMFFMM3UU8LLCCHHGGXXFFMMPPEEGG2MMXXFFMMPPEEGG2MMXXFFHHDDWWAAVVYY4MM", # required
  filter_enable: "AUTO", # accepts AUTO, DISABLE, FORCE
  filter_strength: 1,
  input_clippings: [
    {
      end_timecode: "__stringPattern010920405090509092",
      start_timecode: "__stringPattern010920405090509092",
    },
  ],
  program_number: 1,
  psi_control: "IGNORE_PSI", # accepts IGNORE_PSI, USE_PSI
  timecode_source: "EMBEDDED", # accepts EMBEDDED, ZEROBASED, SPECIFIEDSTART
  video_selector: {
    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, # required
      max_frame_average_light_level: 1, # required
      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,
  },
}

Specifies media input

Instance Attribute Summary collapse

Instance Attribute Details

#audio_selector_groupsHash<String,Types::AudioSelectorGroup>

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

Returns:



6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#audio_selectorsHash<String,Types::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.

Returns:



6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#caption_selectorsHash<String,Types::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.

Returns:



6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#deblock_filterString

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

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#denoise_filterString

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

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#file_inputString

Use Input (fileInput) to define the source file used in the transcode job. There can be multiple inputs in a job. These inputs are concantenated, in the order they are specified in the job, to create the output.

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#filter_enableString

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.

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#filter_strengthInteger

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

Returns:

  • (Integer)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#input_clippingsArray<Types::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.

Returns:



6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#program_numberInteger

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.

Returns:

  • (Integer)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#psi_controlString

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.

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#timecode_sourceString

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.

Returns:

  • (String)


6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end

#video_selectorTypes::VideoSelector

Selector for video.



6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 6388

class Input < Struct.new(
  :audio_selector_groups,
  :audio_selectors,
  :caption_selectors,
  :deblock_filter,
  :denoise_filter,
  :file_input,
  :filter_enable,
  :filter_strength,
  :input_clippings,
  :program_number,
  :psi_control,
  :timecode_source,
  :video_selector)
  include Aws::Structure
end