AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::MediaConvert::Types::CaptionSelector

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CaptionSelector as input to an Aws::Client method, you can use a vanilla Hash:

{
  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: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMI",
      time_delta: 1,
    },
    source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, TELETEXT, NULL_SOURCE, IMSC
    teletext_source_settings: {
      page_number: "__stringMin3Max3Pattern1809aFAF09aEAE",
    },
    track_source_settings: {
      track_number: 1,
    },
  },
}

Set up captions in your outputs by first selecting them from your input here.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_language_codeString

The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.

Returns:

  • (String)

    The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code.

#language_codeString

The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.

Possible values:

  • 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

Returns:

  • (String)

    The specific language to extract from source.

#source_settingsTypes::CaptionSourceSettings

If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.

Returns:

  • (Types::CaptionSourceSettings)

    If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file.