Paws

 view release on metacpan or  search on metacpan

lib/Paws/MediaConvert/CreateJobTemplate.pm  view on Meta::CPAN

                    OutputChannels => [
                      {
                        InputChannels => [
                          1, ...    # min: -60, max: 6
                        ],    # OPTIONAL
                        InputChannelsFineTune => [ 1, ... ],    # OPTIONAL
                      },
                      ...
                    ],    # OPTIONAL
                  },    # OPTIONAL
                  ChannelsIn  => 1,    # min: 1, max: 64; OPTIONAL
                  ChannelsOut => 1,    # min: 1, max: 64; OPTIONAL
                },    # OPTIONAL
                SelectorType => 'PID'
                , # values: PID, TRACK, LANGUAGE_CODE, HLS_RENDITION_GROUP; OPTIONAL
                Tracks => [
                  1, ...    # min: 1, max: 2147483647
                ],    # OPTIONAL
              },
            },    # OPTIONAL
            CaptionSelectors => {
              'My__string' => {
                CustomLanguageCode =>
                  'My__stringMin3Max3PatternAZaZ3',   # min: 3, max: 3; OPTIONAL
                LanguageCode => 'ENG'
                , # 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, NY...
                SourceSettings => {
                  AncillarySourceSettings => {
                    Convert608To708 =>
                      'UPCONVERT',    # values: UPCONVERT, DISABLED; OPTIONAL
                    SourceAncillaryChannelNumber =>
                      1,              # min: 1, max: 4; OPTIONAL
                    TerminateCaptions =>
                      'END_OF_INPUT', # values: END_OF_INPUT, DISABLED; OPTIONAL
                  },    # OPTIONAL
                  DvbSubSourceSettings => {
                    Pid => 1,    # min: 1, max: 2147483647
                  },    # OPTIONAL
                  EmbeddedSourceSettings => {
                    Convert608To708 =>
                      'UPCONVERT',    # values: UPCONVERT, DISABLED; OPTIONAL
                    Source608ChannelNumber => 1,    # min: 1, max: 4; OPTIONAL
                    Source608TrackNumber   => 1,    # min: 1, max: 1; OPTIONAL
                    TerminateCaptions      =>
                      'END_OF_INPUT', # values: END_OF_INPUT, DISABLED; OPTIONAL
                  },    # OPTIONAL
                  FileSourceSettings => {
                    Convert608To708 =>
                      'UPCONVERT',    # values: UPCONVERT, DISABLED; OPTIONAL
                    Framerate => {
                      FramerateDenominator => 1,  # min: 1, max: 1001; OPTIONAL
                      FramerateNumerator   => 1,  # min: 1, max: 60000; OPTIONAL
                    },    # OPTIONAL
                    SourceFile =>
'My__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT'
                    ,       # min: 14; OPTIONAL
                    TimeDelta =>
                      1,    # min: -2147483648, max: 2147483647; OPTIONAL
                  },    # OPTIONAL
                  SourceType => 'ANCILLARY'
                  , # values: ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT; OPTIONAL
                  TeletextSourceSettings => {
                    PageNumber => 'My__stringMin3Max3Pattern1809aFAF09aEAE'
                    ,    # min: 3, max: 3; OPTIONAL
                  },    # OPTIONAL
                  TrackSourceSettings => {
                    TrackNumber => 1,    # min: 1, max: 2147483647
                  },    # OPTIONAL
                  WebvttHlsSourceSettings => {
                    RenditionGroupId      => 'My__string',
                    RenditionLanguageCode => 'ENG'
                    , # 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...
                    RenditionName => 'My__string',
                  },    # OPTIONAL
                },    # OPTIONAL
              },
            },    # OPTIONAL
            Crop => {
              Height => 1,    # min: 2, max: 2147483647; OPTIONAL
              Width  => 1,    # min: 2, max: 2147483647; OPTIONAL
              X      => 1,    # max: 2147483647; OPTIONAL
              Y      => 1,    # max: 2147483647; OPTIONAL
            },    # OPTIONAL
            DeblockFilter => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL
            DenoiseFilter => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL
            FilterEnable  => 'AUTO',    # values: AUTO, DISABLE, FORCE; OPTIONAL
            FilterStrength => 1,        # min: -5, max: 5; OPTIONAL
            ImageInserter  => {
              InsertableImages => [
                {
                  Duration           => 1,    # max: 2147483647; OPTIONAL
                  FadeIn             => 1,    # max: 2147483647; OPTIONAL
                  FadeOut            => 1,    # max: 2147483647; OPTIONAL
                  Height             => 1,    # max: 2147483647; OPTIONAL
                  ImageInserterInput =>
'My__stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA'
                  ,                           # min: 14; OPTIONAL
                  ImageX    => 1,             # max: 2147483647; OPTIONAL
                  ImageY    => 1,             # max: 2147483647; OPTIONAL
                  Layer     => 1,             # max: 99; OPTIONAL
                  Opacity   => 1,             # max: 100; OPTIONAL
                  StartTime => 'My__stringPattern01D20305D205D',    # OPTIONAL
                  Width     => 1,    # max: 2147483647; OPTIONAL
                },
                ...
              ],    # OPTIONAL
            },    # OPTIONAL
            InputClippings => [
              {
                EndTimecode => 'My__stringPattern010920405090509092', # OPTIONAL
                StartTimecode =>
                  'My__stringPattern010920405090509092',              # OPTIONAL
              },
              ...
            ],    # OPTIONAL
            InputScanType => 'AUTO',    # values: AUTO, PSF; OPTIONAL
            Position      => {
              Height => 1,              # min: 2, max: 2147483647; OPTIONAL
              Width  => 1,              # min: 2, max: 2147483647; OPTIONAL
              X      => 1,              # max: 2147483647; OPTIONAL
              Y      => 1,              # max: 2147483647; OPTIONAL
            },    # OPTIONAL
            ProgramNumber => 1,          # min: 1, max: 2147483647
            PsiControl => 'IGNORE_PSI',  # values: IGNORE_PSI, USE_PSI; OPTIONAL
            TimecodeSource => 'EMBEDDED'
            ,    # values: EMBEDDED, ZEROBASED, SPECIFIEDSTART; OPTIONAL
            TimecodeStart => 'My__stringMin11Max11Pattern01D20305D205D'
            ,    # min: 11, max: 11; OPTIONAL
            VideoSelector => {
              AlphaBehavior =>
                'DISCARD',    # values: DISCARD, REMAP_TO_LUMA; OPTIONAL
              ColorSpace => 'FOLLOW'
              ,    # values: FOLLOW, REC_601, REC_709, HDR10, HLG_2020; OPTIONAL
              ColorSpaceUsage => 'FORCE',    # values: FORCE, FALLBACK; OPTIONAL
              Hdr10Metadata   => {
                BluePrimaryX              => 1,    # max: 50000; OPTIONAL
                BluePrimaryY              => 1,    # max: 50000; OPTIONAL
                GreenPrimaryX             => 1,    # max: 50000; OPTIONAL
                GreenPrimaryY             => 1,    # max: 50000; OPTIONAL
                MaxContentLightLevel      => 1,    # max: 65535; OPTIONAL
                MaxFrameAverageLightLevel => 1,    # max: 65535; OPTIONAL
                MaxLuminance              => 1,    # max: 2147483647; OPTIONAL
                MinLuminance              => 1,    # max: 2147483647; OPTIONAL
                RedPrimaryX               => 1,    # max: 50000; OPTIONAL
                RedPrimaryY               => 1,    # max: 50000; OPTIONAL
                WhitePointX               => 1,    # max: 50000; OPTIONAL
                WhitePointY               => 1,    # max: 50000; OPTIONAL
              },    # OPTIONAL
              Pid           => 1,  # min: 1, max: 2147483647
              ProgramNumber => 1,  # min: -2147483648, max: 2147483647; OPTIONAL
              Rotate        => 'DEGREE_0'
              , # values: DEGREE_0, DEGREES_90, DEGREES_180, DEGREES_270, AUTO; OPTIONAL
              SampleRange =>
                'FOLLOW',  # values: FOLLOW, FULL_RANGE, LIMITED_RANGE; OPTIONAL
            },    # OPTIONAL
          },
          ...
        ],    # OPTIONAL
        KantarWatermark => {
          ChannelName      => 'My__stringMin1Max20', # min: 1, max: 20; OPTIONAL
          ContentReference =>
            'My__stringMin1Max50PatternAZAZ09',      # min: 1, max: 50; OPTIONAL
          CredentialsSecretName =>
            'My__stringMin1Max512PatternAZAZ09',    # min: 1, max: 512; OPTIONAL
          FileOffset      => 1,                     # OPTIONAL
          KantarLicenseId => 1,                     # max: 2147483647; OPTIONAL
          KantarServerUrl => 'My__stringPatternHttpsKantarmediaCom',  # OPTIONAL
          LogDestination  => 'My__stringPatternS3',                   # OPTIONAL
          Metadata3       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
          Metadata4       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
          Metadata5       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
          Metadata6       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
          Metadata7       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
          Metadata8       => 'My__stringMin1Max50',  # min: 1, max: 50; OPTIONAL
        },    # OPTIONAL
        MotionImageInserter => {
          Framerate => {
            FramerateDenominator => 1,    # min: 1, max: 17895697; OPTIONAL
            FramerateNumerator   => 1,    # min: 1, max: 2147483640; OPTIONAL
          },    # OPTIONAL
          Input =>
            'My__stringMin14PatternS3Mov09PngHttpsMov09Png', # min: 14; OPTIONAL
          InsertionMode => 'MOV',    # values: MOV, PNG; OPTIONAL
          Offset        => {
            ImageX => 1,             # max: 2147483647; OPTIONAL
            ImageY => 1,             # max: 2147483647; OPTIONAL

lib/Paws/MediaConvert/CreateJobTemplate.pm  view on Meta::CPAN

                    CustomLanguageCode =>
                      'My__stringPatternAZaZ23AZaZ',    # OPTIONAL
                    LanguageCode => 'ENG'
                    , # 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...
                    LanguageCodeControl => 'FOLLOW_INPUT'
                    ,    # values: FOLLOW_INPUT, USE_CONFIGURED; OPTIONAL
                    RemixSettings => {
                      ChannelMapping => {
                        OutputChannels => [
                          {
                            InputChannels => [
                              1, ...    # min: -60, max: 6
                            ],    # OPTIONAL
                            InputChannelsFineTune => [ 1, ... ],    # OPTIONAL
                          },
                          ...
                        ],    # OPTIONAL
                      },    # OPTIONAL
                      ChannelsIn  => 1,    # min: 1, max: 64; OPTIONAL
                      ChannelsOut => 1,    # min: 1, max: 64; OPTIONAL
                    },    # OPTIONAL
                    StreamName => 'My__stringPatternWS',    # OPTIONAL
                  },
                  ...
                ],    # OPTIONAL
                CaptionDescriptions => [
                  {
                    CaptionSelectorName => 'My__stringMin1',    # min: 1
                    CustomLanguageCode  =>
                      'My__stringPatternAZaZ23AZaZ',            # OPTIONAL
                    DestinationSettings => {
                      BurninDestinationSettings => {
                        Alignment =>
                          'CENTERED',    # values: CENTERED, LEFT; OPTIONAL
                        BackgroundColor =>
                          'NONE',        # values: NONE, BLACK, WHITE; OPTIONAL
                        BackgroundOpacity => 1,        # max: 255; OPTIONAL
                        FontColor         => 'WHITE'
                        , # values: WHITE, BLACK, YELLOW, RED, GREEN, BLUE; OPTIONAL
                        FontOpacity    => 1,    # max: 255; OPTIONAL
                        FontResolution => 1,    # min: 96, max: 600; OPTIONAL
                        FontScript     =>
                          'AUTOMATIC', # values: AUTOMATIC, HANS, HANT; OPTIONAL
                        FontSize     => 1,        # max: 96; OPTIONAL
                        OutlineColor => 'BLACK'
                        , # values: BLACK, WHITE, YELLOW, RED, GREEN, BLUE; OPTIONAL
                        OutlineSize => 1,    # max: 10; OPTIONAL
                        ShadowColor =>
                          'NONE',    # values: NONE, BLACK, WHITE; OPTIONAL
                        ShadowOpacity => 1,    # max: 255; OPTIONAL
                        ShadowXOffset =>
                          1,    # min: -2147483648, max: 2147483647; OPTIONAL
                        ShadowYOffset =>
                          1,    # min: -2147483648, max: 2147483647; OPTIONAL
                        TeletextSpacing => 'FIXED_GRID'
                        ,       # values: FIXED_GRID, PROPORTIONAL; OPTIONAL
                        XPosition => 1,    # max: 2147483647; OPTIONAL
                        YPosition => 1,    # max: 2147483647; OPTIONAL
                      },    # OPTIONAL
                      DestinationType => 'BURN_IN'
                      , # values: BURN_IN, DVB_SUB, EMBEDDED, EMBEDDED_PLUS_SCTE20, IMSC, SCTE20_PLUS_EMBEDDED, SCC, SRT, SMI, TELETEXT, TTML, WEBVTT; OPTIONAL
                      DvbSubDestinationSettings => {
                        Alignment =>
                          'CENTERED',    # values: CENTERED, LEFT; OPTIONAL
                        BackgroundColor =>
                          'NONE',        # values: NONE, BLACK, WHITE; OPTIONAL
                        BackgroundOpacity => 1,       # max: 255; OPTIONAL
                        DdsHandling       => 'NONE'
                        , # values: NONE, SPECIFIED, NO_DISPLAY_WINDOW; OPTIONAL
                        DdsXCoordinate => 1,        # max: 2147483647; OPTIONAL
                        DdsYCoordinate => 1,        # max: 2147483647; OPTIONAL
                        FontColor      => 'WHITE'
                        , # values: WHITE, BLACK, YELLOW, RED, GREEN, BLUE; OPTIONAL
                        FontOpacity    => 1,    # max: 255; OPTIONAL
                        FontResolution => 1,    # min: 96, max: 600; OPTIONAL
                        FontScript     =>
                          'AUTOMATIC', # values: AUTOMATIC, HANS, HANT; OPTIONAL
                        FontSize     => 1,        # max: 96; OPTIONAL
                        Height       => 1,        # min: 1, max: 2147483647
                        OutlineColor => 'BLACK'
                        , # values: BLACK, WHITE, YELLOW, RED, GREEN, BLUE; OPTIONAL
                        OutlineSize => 1,    # max: 10; OPTIONAL
                        ShadowColor =>
                          'NONE',    # values: NONE, BLACK, WHITE; OPTIONAL
                        ShadowOpacity => 1,    # max: 255; OPTIONAL
                        ShadowXOffset =>
                          1,    # min: -2147483648, max: 2147483647; OPTIONAL
                        ShadowYOffset =>
                          1,    # min: -2147483648, max: 2147483647; OPTIONAL
                        SubtitlingType => 'HEARING_IMPAIRED'
                        ,       # values: HEARING_IMPAIRED, STANDARD; OPTIONAL
                        TeletextSpacing => 'FIXED_GRID'
                        ,       # values: FIXED_GRID, PROPORTIONAL; OPTIONAL
                        Width     => 1,    # min: 1, max: 2147483647
                        XPosition => 1,    # max: 2147483647; OPTIONAL
                        YPosition => 1,    # max: 2147483647; OPTIONAL
                      },    # OPTIONAL
                      EmbeddedDestinationSettings => {
                        Destination608ChannelNumber =>
                          1,    # min: 1, max: 4; OPTIONAL
                        Destination708ServiceNumber =>
                          1,    # min: 1, max: 6; OPTIONAL
                      },    # OPTIONAL
                      ImscDestinationSettings => {
                        StylePassthrough =>
                          'ENABLED',    # values: ENABLED, DISABLED; OPTIONAL
                      },    # OPTIONAL
                      SccDestinationSettings => {
                        Framerate => 'FRAMERATE_23_97'
                        , # values: FRAMERATE_23_97, FRAMERATE_24, FRAMERATE_25, FRAMERATE_29_97_DROPFRAME, FRAMERATE_29_97_NON_DROPFRAME; OPTIONAL
                      },    # OPTIONAL
                      TeletextDestinationSettings => {
                        PageNumber => 'My__stringMin3Max3Pattern1809aFAF09aEAE'
                        ,    # min: 3, max: 3; OPTIONAL
                        PageTypes => [
                          'PAGE_TYPE_INITIAL',
                          ... # values: PAGE_TYPE_INITIAL, PAGE_TYPE_SUBTITLE, PAGE_TYPE_ADDL_INFO, PAGE_TYPE_PROGRAM_SCHEDULE, PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE
                        ],    # OPTIONAL
                      },    # OPTIONAL
                      TtmlDestinationSettings => {
                        StylePassthrough =>

lib/Paws/MediaConvert/CreateJobTemplate.pm  view on Meta::CPAN

                          ,                          # min: 14; OPTIONAL
                          ImageX    => 1,            # max: 2147483647; OPTIONAL
                          ImageY    => 1,            # max: 2147483647; OPTIONAL
                          Layer     => 1,            # max: 99; OPTIONAL
                          Opacity   => 1,            # max: 100; OPTIONAL
                          StartTime =>
                            'My__stringPattern01D20305D205D',    # OPTIONAL
                          Width => 1,    # max: 2147483647; OPTIONAL
                        },
                        ...
                      ],    # OPTIONAL
                    },    # OPTIONAL
                    NoiseReducer => {
                      Filter => 'BILATERAL'
                      , # values: BILATERAL, MEAN, GAUSSIAN, LANCZOS, SHARPEN, CONSERVE, SPATIAL, TEMPORAL; OPTIONAL
                      FilterSettings => {
                        Strength => 1,    # max: 3; OPTIONAL
                      },    # OPTIONAL
                      SpatialFilterSettings => {
                        PostFilterSharpenStrength => 1,    # max: 3; OPTIONAL
                        Speed    => 1,    # min: -2, max: 3; OPTIONAL
                        Strength => 1,    # max: 16; OPTIONAL
                      },    # OPTIONAL
                      TemporalFilterSettings => {
                        AggressiveMode         => 1,          # max: 4; OPTIONAL
                        PostTemporalSharpening => 'DISABLED'
                        ,    # values: DISABLED, ENABLED, AUTO; OPTIONAL
                        Speed    => 1,    # min: -1, max: 3; OPTIONAL
                        Strength => 1,    # max: 16; OPTIONAL
                      },    # OPTIONAL
                    },    # OPTIONAL
                    PartnerWatermarking => {
                      NexguardFileMarkerSettings => {
                        License => 'My__stringMin1Max100000'
                        ,                # min: 1, max: 100000; OPTIONAL
                        Payload => 1,    # max: 4194303; OPTIONAL
                        Preset  =>
                          'My__stringMin1Max256',   # min: 1, max: 256; OPTIONAL
                        Strength => 'LIGHTEST'
                        , # values: LIGHTEST, LIGHTER, DEFAULT, STRONGER, STRONGEST; OPTIONAL
                      },    # OPTIONAL
                    },    # OPTIONAL
                    TimecodeBurnin => {
                      FontSize => 1,             # min: 10, max: 48; OPTIONAL
                      Position => 'TOP_CENTER'
                      , # values: TOP_CENTER, TOP_LEFT, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT; OPTIONAL
                      Prefix => 'My__stringPattern',    # OPTIONAL
                    },    # OPTIONAL
                  },    # OPTIONAL
                  Width => 1,    # min: 32, max: 8192; OPTIONAL
                },    # OPTIONAL
              },
              ...
            ],    # OPTIONAL
          },
          ...
        ],    # OPTIONAL
        TimecodeConfig => {
          Anchor => 'My__stringPattern010920405090509092',    # OPTIONAL
          Source =>
            'EMBEDDED',  # values: EMBEDDED, ZEROBASED, SPECIFIEDSTART; OPTIONAL
          Start           => 'My__stringPattern010920405090509092',   # OPTIONAL
          TimestampOffset => 'My__stringPattern0940191020191209301',  # OPTIONAL
        },    # OPTIONAL
        TimedMetadataInsertion => {
          Id3Insertions => [
            {
              Id3      => 'My__stringPatternAZaZ0902',              # OPTIONAL
              Timecode => 'My__stringPattern010920405090509092',    # OPTIONAL
            },
            ...
          ],    # OPTIONAL
        },    # OPTIONAL
      },
      AccelerationSettings => {
        Mode => 'DISABLED',    # values: DISABLED, ENABLED, PREFERRED

      },    # OPTIONAL
      Category        => 'My__string',    # OPTIONAL
      Description     => 'My__string',    # OPTIONAL
      HopDestinations => [
        {
          Priority    => 1,              # min: -50, max: 50; OPTIONAL
          Queue       => 'My__string',
          WaitMinutes => 1,              # OPTIONAL
        },
        ...
      ],    # OPTIONAL
      Priority             => 1,                                    # OPTIONAL
      Queue                => 'My__string',                         # OPTIONAL
      StatusUpdateInterval => 'SECONDS_10',                         # OPTIONAL
      Tags                 => { 'My__string' => 'My__string', },    # OPTIONAL
    );

    # Results:
    my $JobTemplate = $CreateJobTemplateResponse->JobTemplate;

    # Returns a L<Paws::MediaConvert::CreateJobTemplateResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediaconvert/CreateJobTemplate>

=head1 ATTRIBUTES


=head2 AccelerationSettings => L<Paws::MediaConvert::AccelerationSettings>

Accelerated transcoding can significantly speed up jobs with long,
visually complex content. Outputs that use this feature incur pro-tier
pricing. For information about feature limitations, see the AWS
Elemental MediaConvert User Guide.



=head2 Category => Str

Optional. A category for the job template you are creating



=head2 Description => Str



( run in 0.781 second using v1.01-cache-2.11-cpan-71847e10f99 )