« blib/lib/Paws/MediaConvert/DashIsoEncryptionSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/Deinterlacer.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::DashIsoGroupSettings; | ||
| 3 | use Moose; | ||
| 4 | has AdditionalManifests => (is => 'ro', isa => 'ArrayRef[Paws::MediaConvert::DashAdditionalManifest]', request_name => 'additionalManifests', traits => ['NameInRequest']); | ||
| 5 | has AudioChannelConfigSchemeIdUri => (is => 'ro', isa => 'Str', request_name => 'audioChannelConfigSchemeIdUri', traits => ['NameInRequest']); | ||
| 6 | has BaseUrl => (is => 'ro', isa => 'Str', request_name => 'baseUrl', traits => ['NameInRequest']); | ||
| 7 | has Destination => (is => 'ro', isa => 'Str', request_name => 'destination', traits => ['NameInRequest']); | ||
| 8 | has DestinationSettings => (is => 'ro', isa => 'Paws::MediaConvert::DestinationSettings', request_name => 'destinationSettings', traits => ['NameInRequest']); | ||
| 9 | has Encryption => (is => 'ro', isa => 'Paws::MediaConvert::DashIsoEncryptionSettings', request_name => 'encryption', traits => ['NameInRequest']); | ||
| 10 | has FragmentLength => (is => 'ro', isa => 'Int', request_name => 'fragmentLength', traits => ['NameInRequest']); | ||
| 11 | has HbbtvCompliance => (is => 'ro', isa => 'Str', request_name => 'hbbtvCompliance', traits => ['NameInRequest']); | ||
| 12 | has ImageBasedTrickPlay => (is => 'ro', isa => 'Str', request_name => 'imageBasedTrickPlay', traits => ['NameInRequest']); | ||
| 13 | has MinBufferTime => (is => 'ro', isa => 'Int', request_name => 'minBufferTime', traits => ['NameInRequest']); | ||
| 14 | has MinFinalSegmentLength => (is => 'ro', isa => 'Num', request_name => 'minFinalSegmentLength', traits => ['NameInRequest']); | ||
| 15 | has MpdProfile => (is => 'ro', isa => 'Str', request_name => 'mpdProfile', traits => ['NameInRequest']); | ||
| 16 | has PtsOffsetHandlingForBFrames => (is => 'ro', isa => 'Str', request_name => 'ptsOffsetHandlingForBFrames', traits => ['NameInRequest']); | ||
| 17 | has SegmentControl => (is => 'ro', isa => 'Str', request_name => 'segmentControl', traits => ['NameInRequest']); | ||
| 18 | has SegmentLength => (is => 'ro', isa => 'Int', request_name => 'segmentLength', traits => ['NameInRequest']); | ||
| 19 | has WriteSegmentTimelineInRepresentation => (is => 'ro', isa => 'Str', request_name => 'writeSegmentTimelineInRepresentation', traits => ['NameInRequest']); | ||
| 20 | |||
| 21 | 1; | ||
| 22 | |||
| 23 | ### main pod documentation begin ### | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Paws::MediaConvert::DashIsoGroupSettings | ||
| 28 | |||
| 29 | =head1 USAGE | ||
| 30 | |||
| 31 | This class represents one of two things: | ||
| 32 | |||
| 33 | =head3 Arguments in a call to a service | ||
| 34 | |||
| 35 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 36 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 37 | |||
| 38 | As an example, if Att1 is expected to be a Paws::MediaConvert::DashIsoGroupSettings object: | ||
| 39 | |||
| 40 | $service_obj->Method(Att1 => { AdditionalManifests => $value, ..., WriteSegmentTimelineInRepresentation => $value }); | ||
| 41 | |||
| 42 | =head3 Results returned from an API call | ||
| 43 | |||
| 44 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::DashIsoGroupSettings object: | ||
| 45 | |||
| 46 | $result = $service_obj->Method(...); | ||
| 47 | $result->Att1->AdditionalManifests | ||
| 48 | |||
| 49 | =head1 DESCRIPTION | ||
| 50 | |||
| 51 | Settings related to your DASH output package. For more information, see | ||
| 52 | https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. | ||
| 53 | When you work directly in your JSON job specification, include this | ||
| 54 | object and any required children when you set Type, under | ||
| 55 | OutputGroupSettings, to DASH_ISO_GROUP_SETTINGS. | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 AdditionalManifests => ArrayRef[L<Paws::MediaConvert::DashAdditionalManifest>] | ||
| 61 | |||
| 62 | By default, the service creates one .mpd DASH manifest for each DASH | ||
| 63 | ISO output group in your job. This default manifest references every | ||
| 64 | output in the output group. To create additional DASH manifests that | ||
| 65 | reference a subset of the outputs in the output group, specify a list | ||
| 66 | of them here. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 AudioChannelConfigSchemeIdUri => Str | ||
| 70 | |||
| 71 | Use this setting only when your audio codec is a Dolby one (AC3, EAC3, | ||
| 72 | or Atmos) and your downstream workflow requires that your DASH manifest | ||
| 73 | use the Dolby channel configuration tag, rather than the MPEG one. For | ||
| 74 | example, you might need to use this to make dynamic ad insertion work. | ||
| 75 | Specify which audio channel configuration scheme ID URI MediaConvert | ||
| 76 | writes in your DASH manifest. Keep the default value, MPEG channel | ||
| 77 | configuration (MPEG_CHANNEL_CONFIGURATION), to have MediaConvert write | ||
| 78 | this: urn:mpeg:mpegB:cicp:ChannelConfiguration. Choose Dolby channel | ||
| 79 | configuration (DOLBY_CHANNEL_CONFIGURATION) to have MediaConvert write | ||
| 80 | this instead: tag:dolby.com,2014:dash:audio_channel_configuration:2011. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 BaseUrl => Str | ||
| 84 | |||
| 85 | A partial URI prefix that will be put in the manifest (.mpd) file at | ||
| 86 | the top level BaseURL element. Can be used if streams are delivered | ||
| 87 | from a different URL than the manifest file. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 Destination => Str | ||
| 91 | |||
| 92 | Use Destination (Destination) to specify the S3 output location and the | ||
| 93 | output filename base. Destination accepts format identifiers. If you do | ||
| 94 | not specify the base filename in the URI, the service will use the | ||
| 95 | filename of the input file. If your job has multiple inputs, the | ||
| 96 | service uses the filename of the first input file. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 DestinationSettings => L<Paws::MediaConvert::DestinationSettings> | ||
| 100 | |||
| 101 | Settings associated with the destination. Will vary based on the type | ||
| 102 | of destination | ||
| 103 | |||
| 104 | |||
| 105 | =head2 Encryption => L<Paws::MediaConvert::DashIsoEncryptionSettings> | ||
| 106 | |||
| 107 | DRM settings. | ||
| 108 | |||
| 109 | |||
| 110 | =head2 FragmentLength => Int | ||
| 111 | |||
| 112 | Length of fragments to generate (in seconds). Fragment length must be | ||
| 113 | compatible with GOP size and Framerate. Note that fragments will end on | ||
| 114 | the next keyframe after this number of seconds, so actual fragment | ||
| 115 | length may be longer. When Emit Single File is checked, the | ||
| 116 | fragmentation is internal to a single output file and it does not cause | ||
| 117 | the creation of many output files as in other output types. | ||
| 118 | |||
| 119 | |||
| 120 | =head2 HbbtvCompliance => Str | ||
| 121 | |||
| 122 | Supports HbbTV specification as indicated | ||
| 123 | |||
| 124 | |||
| 125 | =head2 ImageBasedTrickPlay => Str | ||
| 126 | |||
| 127 | Specify whether MediaConvert generates images for trick play. Keep the | ||
| 128 | default value, None (NONE), to not generate any images. Choose | ||
| 129 | Thumbnail (THUMBNAIL) to generate tiled thumbnails. Choose Thumbnail | ||
| 130 | and full frame (THUMBNAIL_AND_FULLFRAME) to generate tiled thumbnails | ||
| 131 | and full-resolution images of single frames. MediaConvert adds an entry | ||
| 132 | in the .mpd manifest for each set of images that you generate. A common | ||
| 133 | application for these images is Roku trick mode. The thumbnails and | ||
| 134 | full-frame images that MediaConvert creates with this feature are | ||
| 135 | compatible with this Roku specification: | ||
| 136 | https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md | ||
| 137 | |||
| 138 | |||
| 139 | =head2 MinBufferTime => Int | ||
| 140 | |||
| 141 | Minimum time of initially buffered media that is needed to ensure | ||
| 142 | smooth playout. | ||
| 143 | |||
| 144 | |||
| 145 | =head2 MinFinalSegmentLength => Num | ||
| 146 | |||
| 147 | Keep this setting at the default value of 0, unless you are | ||
| 148 | troubleshooting a problem with how devices play back the end of your | ||
| 149 | video asset. If you know that player devices are hanging on the final | ||
| 150 | segment of your video because the length of your final segment is too | ||
| 151 | short, use this setting to specify a minimum final segment length, in | ||
| 152 | seconds. Choose a value that is greater than or equal to 1 and less | ||
| 153 | than your segment length. When you specify a value for this setting, | ||
| 154 | the encoder will combine any final segment that is shorter than the | ||
| 155 | length that you specify with the previous segment. For example, your | ||
| 156 | segment length is 3 seconds and your final segment is .5 seconds | ||
| 157 | without a minimum final segment length; when you set the minimum final | ||
| 158 | segment length to 1, your final segment is 3.5 seconds. | ||
| 159 | |||
| 160 | |||
| 161 | =head2 MpdProfile => Str | ||
| 162 | |||
| 163 | Specify whether your DASH profile is on-demand or main. When you choose | ||
| 164 | Main profile (MAIN_PROFILE), the service signals | ||
| 165 | urn:mpeg:dash:profile:isoff-main:2011 in your .mpd DASH manifest. When | ||
| 166 | you choose On-demand (ON_DEMAND_PROFILE), the service signals | ||
| 167 | urn:mpeg:dash:profile:isoff-on-demand:2011 in your .mpd. When you | ||
| 168 | choose On-demand, you must also set the output group setting Segment | ||
| 169 | control (SegmentControl) to Single file (SINGLE_FILE). | ||
| 170 | |||
| 171 | |||
| 172 | =head2 PtsOffsetHandlingForBFrames => Str | ||
| 173 | |||
| 174 | Use this setting only when your output video stream has B-frames, which | ||
| 175 | causes the initial presentation time stamp (PTS) to be offset from the | ||
| 176 | initial decode time stamp (DTS). Specify how MediaConvert handles PTS | ||
| 177 | when writing time stamps in output DASH manifests. Choose Match initial | ||
| 178 | PTS (MATCH_INITIAL_PTS) when you want MediaConvert to use the initial | ||
| 179 | PTS as the first time stamp in the manifest. Choose Zero-based | ||
| 180 | (ZERO_BASED) to have MediaConvert ignore the initial PTS in the video | ||
| 181 | stream and instead write the initial time stamp as zero in the | ||
| 182 | manifest. For outputs that don't have B-frames, the time stamps in your | ||
| 183 | DASH manifests start at zero regardless of your choice here. | ||
| 184 | |||
| 185 | |||
| 186 | =head2 SegmentControl => Str | ||
| 187 | |||
| 188 | When set to SINGLE_FILE, a single output file is generated, which is | ||
| 189 | internally segmented using the Fragment Length and Segment Length. When | ||
| 190 | set to SEGMENTED_FILES, separate segment files will be created. | ||
| 191 | |||
| 192 | |||
| 193 | =head2 SegmentLength => Int | ||
| 194 | |||
| 195 | Length of mpd segments to create (in seconds). Note that segments will | ||
| 196 | end on the next keyframe after this number of seconds, so actual | ||
| 197 | segment length may be longer. When Emit Single File is checked, the | ||
| 198 | segmentation is internal to a single output file and it does not cause | ||
| 199 | the creation of many output files as in other output types. | ||
| 200 | |||
| 201 | |||
| 202 | =head2 WriteSegmentTimelineInRepresentation => Str | ||
| 203 | |||
| 204 | If you get an HTTP error in the 400 range when you play back your DASH | ||
| 205 | output, enable this setting and run your transcoding job again. When | ||
| 206 | you enable this setting, the service writes precise segment durations | ||
| 207 | in the DASH manifest. The segment duration information appears inside | ||
| 208 | the SegmentTimeline element, inside SegmentTemplate at the | ||
| 209 | Representation level. When you don't enable this setting, the service | ||
| 210 | writes approximate segment durations in your DASH manifest. | ||
| 211 | |||
| 212 | |||
| 213 | |||
| 214 | =head1 SEE ALSO | ||
| 215 | |||
| 216 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 217 | |||
| 218 | =head1 BUGS and CONTRIBUTIONS | ||
| 219 | |||
| 220 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 221 | |||
| 222 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 223 | |||
| 224 | =cut | ||
| 225 |