aws-sdk-mediaconvert 1.171.0 → 1.173.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -546,6 +546,10 @@ module Aws::MediaConvert
546
546
  # you need to comply with a loudness standard.
547
547
  # @return [Types::AudioNormalizationSettings]
548
548
  #
549
+ # @!attribute [rw] audio_pitch_correction_settings
550
+ # Settings for audio pitch correction during framerate conversion.
551
+ # @return [Types::AudioPitchCorrectionSettings]
552
+ #
549
553
  # @!attribute [rw] audio_source_name
550
554
  # Specifies which audio data to use from each input. In the simplest
551
555
  # case, specify an "Audio Selector":#inputs-audio\_selector by name
@@ -635,6 +639,7 @@ module Aws::MediaConvert
635
639
  class AudioDescription < Struct.new(
636
640
  :audio_channel_tagging_settings,
637
641
  :audio_normalization_settings,
642
+ :audio_pitch_correction_settings,
638
643
  :audio_source_name,
639
644
  :audio_type,
640
645
  :audio_type_control,
@@ -715,6 +720,26 @@ module Aws::MediaConvert
715
720
  include Aws::Structure
716
721
  end
717
722
 
723
+ # Settings for audio pitch correction during framerate conversion.
724
+ #
725
+ # @!attribute [rw] slow_pal_pitch_correction
726
+ # Use Slow PAL pitch correction to compensate for audio pitch changes
727
+ # during slow PAL frame rate conversion. This setting only applies
728
+ # when Slow PAL is enabled in your output video codec settings. To
729
+ # automatically apply audio pitch correction: Choose Enabled.
730
+ # MediaConvert automatically applies a pitch correction to your output
731
+ # to match the original content's audio pitch. To not apply audio
732
+ # pitch correction: Keep the default value, Disabled.
733
+ # @return [String]
734
+ #
735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioPitchCorrectionSettings AWS API Documentation
736
+ #
737
+ class AudioPitchCorrectionSettings < Struct.new(
738
+ :slow_pal_pitch_correction)
739
+ SENSITIVE = []
740
+ include Aws::Structure
741
+ end
742
+
718
743
  # Details about the media file's audio track.
719
744
  #
720
745
  # @!attribute [rw] bit_depth
@@ -854,7 +879,9 @@ module Aws::MediaConvert
854
879
  # Identifier (PID) values for MPEG Transport Stream inputs. Use this
855
880
  # when you know the exact PID values of your audio streams. Track:
856
881
  # Default. Select audio by track number. This is the most common
857
- # option and works with most input container formats. Language code:
882
+ # option and works with most input container formats. If more types of
883
+ # audio data get recognized in the future, these numberings may shift,
884
+ # but the numberings used for Stream mode will not. Language code:
858
885
  # Select audio by language using an ISO 639-2 or ISO 639-3
859
886
  # three-letter code in all capital letters. Use this when your source
860
887
  # has embedded language metadata and you want to select tracks based
@@ -863,15 +890,37 @@ module Aws::MediaConvert
863
890
  # multiple audio renditions and you want to select specific rendition
864
891
  # groups. All PCM: Select all uncompressed PCM audio tracks from your
865
892
  # input automatically. This is useful when you want to include all PCM
866
- # audio tracks without specifying individual track numbers.
893
+ # audio tracks without specifying individual track numbers. Stream:
894
+ # Select audio by stream number. Stream numbers include all tracks in
895
+ # the source file, regardless of type, and correspond to either the
896
+ # order of tracks in the file, or if applicable, the stream number
897
+ # metadata of the track. Although all tracks count toward these stream
898
+ # numbers, in this audio selector context, only the stream number of a
899
+ # track containing audio data may be used. If your source file
900
+ # contains a track which is not recognized by the service, then the
901
+ # corresponding stream number will still be reserved for future use.
902
+ # If more types of audio data get recognized in the future, these
903
+ # numberings will not shift.
867
904
  # @return [String]
868
905
  #
906
+ # @!attribute [rw] streams
907
+ # Identify a track from the input audio to include in this selector by
908
+ # entering the stream index number. These numberings count all tracks
909
+ # in the input file, but only a track containing audio data may be
910
+ # used here. To include several tracks in a single audio selector,
911
+ # specify multiple tracks as follows. Using the console, enter a
912
+ # comma-separated list. For example, type "1,2,3" to include tracks
913
+ # 1 through 3.
914
+ # @return [Array<Integer>]
915
+ #
869
916
  # @!attribute [rw] tracks
870
917
  # Identify a track from the input audio to include in this selector by
871
- # entering the track index number. To include several tracks in a
872
- # single audio selector, specify multiple tracks as follows. Using the
873
- # console, enter a comma-separated list. For example, type "1,2,3"
874
- # to include tracks 1 through 3.
918
+ # entering the track index number. These numberings include only
919
+ # tracks recognized as audio. If the service recognizes more types of
920
+ # audio tracks in the future, these numberings may shift. To include
921
+ # several tracks in a single audio selector, specify multiple tracks
922
+ # as follows. Using the console, enter a comma-separated list. For
923
+ # example, type "1,2,3" to include tracks 1 through 3.
875
924
  # @return [Array<Integer>]
876
925
  #
877
926
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioSelector AWS API Documentation
@@ -888,6 +937,7 @@ module Aws::MediaConvert
888
937
  :program_selection,
889
938
  :remix_settings,
890
939
  :selector_type,
940
+ :streams,
891
941
  :tracks)
892
942
  SENSITIVE = []
893
943
  include Aws::Structure
@@ -2376,13 +2426,16 @@ module Aws::MediaConvert
2376
2426
  #
2377
2427
  # @!attribute [rw] dash_manifest_style
2378
2428
  # Specify how MediaConvert writes SegmentTimeline in your output DASH
2379
- # manifest. To write a SegmentTimeline in each video Representation:
2380
- # Keep the default value, Basic. To write a common SegmentTimeline in
2381
- # the video AdaptationSet: Choose Compact. Note that MediaConvert will
2382
- # still write a SegmentTimeline in any Representation that does not
2383
- # share a common timeline. To write a video AdaptationSet for each
2384
- # different output framerate, and a common SegmentTimeline in each
2385
- # AdaptationSet: Choose Distinct.
2429
+ # manifest. To write a SegmentTimeline for outputs that you also
2430
+ # specify a Name modifier for: Keep the default value, Basic. Note
2431
+ # that if you do not specify a name modifier for an output,
2432
+ # MediaConvert will not write a SegmentTimeline for it. To write a
2433
+ # common SegmentTimeline in the video AdaptationSet: Choose Compact.
2434
+ # Note that MediaConvert will still write a SegmentTimeline in any
2435
+ # Representation that does not share a common timeline. To write a
2436
+ # video AdaptationSet for each different output framerate, and a
2437
+ # common SegmentTimeline in each AdaptationSet: Choose Distinct. To
2438
+ # write a SegmentTimeline in each AdaptationSet: Choose Full.
2386
2439
  # @return [String]
2387
2440
  #
2388
2441
  # @!attribute [rw] destination
@@ -2749,6 +2802,23 @@ module Aws::MediaConvert
2749
2802
  # output group, you must explicitly choose a value for this setting.
2750
2803
  # @return [String]
2751
2804
  #
2805
+ # @!attribute [rw] c2pa_manifest
2806
+ # When enabled, a C2PA compliant manifest will be generated, signed
2807
+ # and embeded in the output. For more information on C2PA, see
2808
+ # https://c2pa.org/specifications/specifications/2.1/index.html
2809
+ # @return [String]
2810
+ #
2811
+ # @!attribute [rw] certificate_secret
2812
+ # Specify the name or ARN of the AWS Secrets Manager secret that
2813
+ # contains your C2PA public certificate chain in PEM format. Provide a
2814
+ # valid secret name or ARN. Note that your MediaConvert service role
2815
+ # must allow access to this secret. The public certificate chain is
2816
+ # added to the COSE header (x5chain) for signature validation. Include
2817
+ # the signer's certificate and all intermediate certificates. Do not
2818
+ # include the root certificate. For details on COSE, see:
2819
+ # https://opensource.contentauthenticity.org/docs/manifest/signing-manifests
2820
+ # @return [String]
2821
+ #
2752
2822
  # @!attribute [rw] descriptive_video_service_flag
2753
2823
  # Specify whether to flag this audio track as descriptive video
2754
2824
  # service (DVS) in your HLS parent manifest. When you choose Flag,
@@ -2806,6 +2876,12 @@ module Aws::MediaConvert
2806
2876
  # you don't want those SCTE-35 markers in this output.
2807
2877
  # @return [String]
2808
2878
  #
2879
+ # @!attribute [rw] signing_kms_key
2880
+ # Specify the ID or ARN of the AWS KMS key used to sign the C2PA
2881
+ # manifest in your MP4 output. Provide a valid KMS key ARN. Note that
2882
+ # your MediaConvert service role must allow access to this key.
2883
+ # @return [String]
2884
+ #
2809
2885
  # @!attribute [rw] timed_metadata
2810
2886
  # To include ID3 metadata in this output: Set ID3 metadata to
2811
2887
  # Passthrough. Specify this ID3 metadata in Custom ID3 metadata
@@ -2845,12 +2921,15 @@ module Aws::MediaConvert
2845
2921
  :audio_group_id,
2846
2922
  :audio_rendition_sets,
2847
2923
  :audio_track_type,
2924
+ :c2pa_manifest,
2925
+ :certificate_secret,
2848
2926
  :descriptive_video_service_flag,
2849
2927
  :i_frame_only_manifest,
2850
2928
  :klv_metadata,
2851
2929
  :manifest_metadata_signaling,
2852
2930
  :scte_35_esam,
2853
2931
  :scte_35_source,
2932
+ :signing_kms_key,
2854
2933
  :timed_metadata,
2855
2934
  :timed_metadata_box_version,
2856
2935
  :timed_metadata_scheme_id_uri,
@@ -3730,13 +3809,16 @@ module Aws::MediaConvert
3730
3809
  #
3731
3810
  # @!attribute [rw] dash_manifest_style
3732
3811
  # Specify how MediaConvert writes SegmentTimeline in your output DASH
3733
- # manifest. To write a SegmentTimeline in each video Representation:
3734
- # Keep the default value, Basic. To write a common SegmentTimeline in
3735
- # the video AdaptationSet: Choose Compact. Note that MediaConvert will
3736
- # still write a SegmentTimeline in any Representation that does not
3737
- # share a common timeline. To write a video AdaptationSet for each
3738
- # different output framerate, and a common SegmentTimeline in each
3739
- # AdaptationSet: Choose Distinct.
3812
+ # manifest. To write a SegmentTimeline for outputs that you also
3813
+ # specify a Name modifier for: Keep the default value, Basic. Note
3814
+ # that if you do not specify a name modifier for an output,
3815
+ # MediaConvert will not write a SegmentTimeline for it. To write a
3816
+ # common SegmentTimeline in the video AdaptationSet: Choose Compact.
3817
+ # Note that MediaConvert will still write a SegmentTimeline in any
3818
+ # Representation that does not share a common timeline. To write a
3819
+ # video AdaptationSet for each different output framerate, and a
3820
+ # common SegmentTimeline in each AdaptationSet: Choose Distinct. To
3821
+ # write a SegmentTimeline in each AdaptationSet: Choose Full.
3740
3822
  # @return [String]
3741
3823
  #
3742
3824
  # @!attribute [rw] destination
@@ -8584,7 +8666,7 @@ module Aws::MediaConvert
8584
8666
  #
8585
8667
  # @!attribute [rw] duration
8586
8668
  # Specify the duration, in milliseconds, for your video generator
8587
- # input. Enter an integer from 50 to 86400000.
8669
+ # input. Enter an integer from 1 to 86400000.
8588
8670
  # @return [Integer]
8589
8671
  #
8590
8672
  # @!attribute [rw] framerate_denominator
@@ -10877,14 +10959,31 @@ module Aws::MediaConvert
10877
10959
  # output audio codec.
10878
10960
  # @return [String]
10879
10961
  #
10962
+ # @!attribute [rw] c2pa_manifest
10963
+ # When enabled, a C2PA compliant manifest will be generated, signed
10964
+ # and embeded in the output. For more information on C2PA, see
10965
+ # https://c2pa.org/specifications/specifications/2.1/index.html
10966
+ # @return [String]
10967
+ #
10880
10968
  # @!attribute [rw] caption_container_type
10881
10969
  # Use this setting only in DASH output groups that include sidecar
10882
- # TTML or IMSC captions. You specify sidecar captions in a separate
10883
- # output from your audio and video. Choose Raw for captions in a
10884
- # single XML file in a raw container. Choose Fragmented MPEG-4 for
10885
- # captions in XML format contained within fragmented MP4 files. This
10886
- # set of fragmented MP4 files is separate from your video and audio
10887
- # fragmented MP4 files.
10970
+ # TTML, IMSC or WEBVTT captions. You specify sidecar captions in a
10971
+ # separate output from your audio and video. Choose Raw for captions
10972
+ # in a single XML file in a raw container. Choose Fragmented MPEG-4
10973
+ # for captions in XML format contained within fragmented MP4 files.
10974
+ # This set of fragmented MP4 files is separate from your video and
10975
+ # audio fragmented MP4 files.
10976
+ # @return [String]
10977
+ #
10978
+ # @!attribute [rw] certificate_secret
10979
+ # Specify the name or ARN of the AWS Secrets Manager secret that
10980
+ # contains your C2PA public certificate chain in PEM format. Provide a
10981
+ # valid secret name or ARN. Note that your MediaConvert service role
10982
+ # must allow access to this secret. The public certificate chain is
10983
+ # added to the COSE header (x5chain) for signature validation. Include
10984
+ # the signer's certificate and all intermediate certificates. Do not
10985
+ # include the root certificate. For details on COSE, see:
10986
+ # https://opensource.contentauthenticity.org/docs/manifest/signing-manifests
10888
10987
  # @return [String]
10889
10988
  #
10890
10989
  # @!attribute [rw] klv_metadata
@@ -10923,6 +11022,12 @@ module Aws::MediaConvert
10923
11022
  # you don't want those SCTE-35 markers in this output.
10924
11023
  # @return [String]
10925
11024
  #
11025
+ # @!attribute [rw] signing_kms_key
11026
+ # Specify the ID or ARN of the AWS KMS key used to sign the C2PA
11027
+ # manifest in your MP4 output. Provide a valid KMS key ARN. Note that
11028
+ # your MediaConvert service role must allow access to this key.
11029
+ # @return [String]
11030
+ #
10926
11031
  # @!attribute [rw] timed_metadata
10927
11032
  # To include ID3 metadata in this output: Set ID3 metadata to
10928
11033
  # Passthrough. Specify this ID3 metadata in Custom ID3 metadata
@@ -10960,11 +11065,14 @@ module Aws::MediaConvert
10960
11065
  class MpdSettings < Struct.new(
10961
11066
  :accessibility_caption_hints,
10962
11067
  :audio_duration,
11068
+ :c2pa_manifest,
10963
11069
  :caption_container_type,
11070
+ :certificate_secret,
10964
11071
  :klv_metadata,
10965
11072
  :manifest_metadata_signaling,
10966
11073
  :scte_35_esam,
10967
11074
  :scte_35_source,
11075
+ :signing_kms_key,
10968
11076
  :timed_metadata,
10969
11077
  :timed_metadata_box_version,
10970
11078
  :timed_metadata_scheme_id_uri,
@@ -12183,6 +12291,41 @@ module Aws::MediaConvert
12183
12291
  include Aws::Structure
12184
12292
  end
12185
12293
 
12294
+ # Optional settings when you set Codec to the value Passthrough.
12295
+ #
12296
+ # @!attribute [rw] frame_control
12297
+ # Choose how MediaConvert handles start and end times for input
12298
+ # clipping with video passthrough. Your input video codec must be
12299
+ # H.264 or H.265 to use IFRAME. To clip at the nearest IDR-frame:
12300
+ # Choose Nearest IDR. If an IDR-frame is not found at the frame that
12301
+ # you specify, MediaConvert uses the next compatible IDR-frame. Note
12302
+ # that your output may be shorter than your input clip duration. To
12303
+ # clip at the nearest I-frame: Choose Nearest I-frame. If an I-frame
12304
+ # is not found at the frame that you specify, MediaConvert uses the
12305
+ # next compatible I-frame. Note that your output may be shorter than
12306
+ # your input clip duration. We only recommend this setting for special
12307
+ # workflows, and when you choose this setting your output may not be
12308
+ # compatible with most players.
12309
+ # @return [String]
12310
+ #
12311
+ # @!attribute [rw] video_selector_mode
12312
+ # AUTO will select the highest bitrate input in the video selector
12313
+ # source. REMUX\_ALL will passthrough all the selected streams in the
12314
+ # video selector source. When selecting streams from multiple
12315
+ # renditions (i.e. using Stream video selector type): REMUX\_ALL will
12316
+ # only remux all streams selected, and AUTO will use the highest
12317
+ # bitrate video stream among the selected streams as source.
12318
+ # @return [String]
12319
+ #
12320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PassthroughSettings AWS API Documentation
12321
+ #
12322
+ class PassthroughSettings < Struct.new(
12323
+ :frame_control,
12324
+ :video_selector_mode)
12325
+ SENSITIVE = []
12326
+ include Aws::Structure
12327
+ end
12328
+
12186
12329
  # A policy configures behavior that you allow or disallow for your
12187
12330
  # account. For information about MediaConvert policies, see the user
12188
12331
  # guide at
@@ -13669,6 +13812,21 @@ module Aws::MediaConvert
13669
13812
  # your caption source is IMSC 1.1 in a separate xml file, use
13670
13813
  # FileSourceSettings instead of TrackSourceSettings.
13671
13814
  #
13815
+ # @!attribute [rw] stream_number
13816
+ # Use this setting to select a single captions track from a source.
13817
+ # Stream numbers include all tracks in the source file, regardless of
13818
+ # type, and correspond to either the order of tracks in the file, or
13819
+ # if applicable, the stream number metadata of the track. Although all
13820
+ # tracks count toward these stream numbers, in this caption selector
13821
+ # context, only the stream number of a track containing caption data
13822
+ # may be used. To include more than one captions track in your job
13823
+ # outputs, create multiple input captions selectors. Specify one
13824
+ # stream per selector. If your source file contains a track which is
13825
+ # not recognized by the service, then the corresponding stream number
13826
+ # will still be reserved for future use. If more types of caption data
13827
+ # get recognized in the future, these numberings will not shift.
13828
+ # @return [Integer]
13829
+ #
13672
13830
  # @!attribute [rw] track_number
13673
13831
  # Use this setting to select a single captions track from a source.
13674
13832
  # Track numbers correspond to the order in the captions source file.
@@ -13676,12 +13834,15 @@ module Aws::MediaConvert
13676
13834
  # captions appear in the CPL. For example, use 1 to select the
13677
13835
  # captions asset that is listed first in the CPL. To include more than
13678
13836
  # one captions track in your job outputs, create multiple input
13679
- # captions selectors. Specify one track per selector.
13837
+ # captions selectors. Specify one track per selector. If more types of
13838
+ # caption data get recognized in the future, these numberings may
13839
+ # shift, but the numberings used for streamNumber will not.
13680
13840
  # @return [Integer]
13681
13841
  #
13682
13842
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TrackSourceSettings AWS API Documentation
13683
13843
  #
13684
13844
  class TrackSourceSettings < Struct.new(
13845
+ :stream_number,
13685
13846
  :track_number)
13686
13847
  SENSITIVE = []
13687
13848
  include Aws::Structure
@@ -14221,6 +14382,10 @@ module Aws::MediaConvert
14221
14382
  # Required when you set Codec to the value MPEG2.
14222
14383
  # @return [Types::Mpeg2Settings]
14223
14384
  #
14385
+ # @!attribute [rw] passthrough_settings
14386
+ # Optional settings when you set Codec to the value Passthrough.
14387
+ # @return [Types::PassthroughSettings]
14388
+ #
14224
14389
  # @!attribute [rw] prores_settings
14225
14390
  # Required when you set Codec to the value PRORES.
14226
14391
  # @return [Types::ProresSettings]
@@ -14257,6 +14422,7 @@ module Aws::MediaConvert
14257
14422
  :h264_settings,
14258
14423
  :h265_settings,
14259
14424
  :mpeg_2_settings,
14425
+ :passthrough_settings,
14260
14426
  :prores_settings,
14261
14427
  :uncompressed_settings,
14262
14428
  :vc_3_settings,
@@ -14692,6 +14858,12 @@ module Aws::MediaConvert
14692
14858
  # enter a value for Height and leave Width blank.
14693
14859
  # @return [Integer]
14694
14860
  #
14861
+ # @!attribute [rw] opacity
14862
+ # Use Opacity to specify how much of the underlying video shows
14863
+ # through the overlay video. 0 is transparent and 100 is fully opaque.
14864
+ # Default is 100.
14865
+ # @return [Integer]
14866
+ #
14695
14867
  # @!attribute [rw] unit
14696
14868
  # Specify the Unit type to use when you enter a value for X position,
14697
14869
  # Y position, Width, or Height. You can choose Pixels or Percentage.
@@ -14742,6 +14914,7 @@ module Aws::MediaConvert
14742
14914
  #
14743
14915
  class VideoOverlayPosition < Struct.new(
14744
14916
  :height,
14917
+ :opacity,
14745
14918
  :unit,
14746
14919
  :width,
14747
14920
  :x_position,
@@ -14754,7 +14927,7 @@ module Aws::MediaConvert
14754
14927
  # Transitions to reposition or resize your overlay over time. To use the
14755
14928
  # same position and size for the duration of your video overlay: Leave
14756
14929
  # blank. To specify a Transition: Enter a value for Start timecode, End
14757
- # Timecode, X Position, Y Position, Width, or Height.
14930
+ # Timecode, X Position, Y Position, Width, Height, or Opacity
14758
14931
  #
14759
14932
  # @!attribute [rw] end_position
14760
14933
  # Specify the ending position for this transition, relative to the
@@ -15062,8 +15235,14 @@ module Aws::MediaConvert
15062
15235
  # @return [String]
15063
15236
  #
15064
15237
  # @!attribute [rw] streams
15065
- # Specify a stream for MediaConvert to use from your HLS input. Enter
15066
- # an integer corresponding to the stream order in your HLS manifest.
15238
+ # Specify one or more video streams for MediaConvert to use from your
15239
+ # HLS input. Enter an integer corresponding to the stream number, with
15240
+ # the first stream in your HLS multivariant playlist starting at 1.For
15241
+ # re-encoding workflows, MediaConvert uses the video stream that you
15242
+ # select with the highest bitrate as the input.For video passthrough
15243
+ # workflows, you specify whether to passthrough a single video stream
15244
+ # or multiple video streams under Video selector source in the output
15245
+ # video encoding settings.
15067
15246
  # @return [Array<Integer>]
15068
15247
  #
15069
15248
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoSelector AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::MediaConvert
54
54
  autoload :EndpointProvider, 'aws-sdk-mediaconvert/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-mediaconvert/endpoints'
56
56
 
57
- GEM_VERSION = '1.171.0'
57
+ GEM_VERSION = '1.173.0'
58
58
 
59
59
  end
60
60