| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::Mp4Settings; | ||
| 3 | use Moose; | ||
| 4 | has AudioDuration => (is => 'ro', isa => 'Str', request_name => 'audioDuration', traits => ['NameInRequest']); | ||
| 5 | has CslgAtom => (is => 'ro', isa => 'Str', request_name => 'cslgAtom', traits => ['NameInRequest']); | ||
| 6 | has CttsVersion => (is => 'ro', isa => 'Int', request_name => 'cttsVersion', traits => ['NameInRequest']); | ||
| 7 | has FreeSpaceBox => (is => 'ro', isa => 'Str', request_name => 'freeSpaceBox', traits => ['NameInRequest']); | ||
| 8 | has MoovPlacement => (is => 'ro', isa => 'Str', request_name => 'moovPlacement', traits => ['NameInRequest']); | ||
| 9 | has Mp4MajorBrand => (is => 'ro', isa => 'Str', request_name => 'mp4MajorBrand', traits => ['NameInRequest']); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::MediaConvert::Mp4Settings | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::MediaConvert::Mp4Settings object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { AudioDuration => $value, ..., Mp4MajorBrand => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Mp4Settings object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->AudioDuration | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | These settings relate to your MP4 output container. You can create | ||
| 42 | audio only outputs with this container. For more information, see | ||
| 43 | https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html#output-codecs-and-containers-supported-for-audio-only. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 AudioDuration => Str | ||
| 49 | |||
| 50 | Specify this setting only when your output will be consumed by a | ||
| 51 | downstream repackaging workflow that is sensitive to very small | ||
| 52 | duration differences between video and audio. For this situation, | ||
| 53 | choose Match video duration (MATCH_VIDEO_DURATION). In all other cases, | ||
| 54 | keep the default value, Default codec duration | ||
| 55 | (DEFAULT_CODEC_DURATION). When you choose Match video duration, | ||
| 56 | MediaConvert pads the output audio streams with silence or trims them | ||
| 57 | to ensure that the total duration of each audio stream is at least as | ||
| 58 | long as the total duration of the video stream. After padding or | ||
| 59 | trimming, the audio stream duration is no more than one frame longer | ||
| 60 | than the video stream. MediaConvert applies audio padding or trimming | ||
| 61 | only to the end of the last segment of the output. For unsegmented | ||
| 62 | outputs, MediaConvert adds padding only to the end of the file. When | ||
| 63 | you keep the default value, any minor discrepancies between audio and | ||
| 64 | video duration will depend on your output audio codec. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 CslgAtom => Str | ||
| 68 | |||
| 69 | When enabled, file composition times will start at zero, composition | ||
| 70 | times in the 'ctts' (composition time to sample) box for B-frames will | ||
| 71 | be negative, and a 'cslg' (composition shift least greatest) box will | ||
| 72 | be included per 14496-1 amendment 1. This improves compatibility with | ||
| 73 | Apple players and tools. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 CttsVersion => Int | ||
| 77 | |||
| 78 | Ignore this setting unless compliance to the CTTS box version | ||
| 79 | specification matters in your workflow. Specify a value of 1 to set | ||
| 80 | your CTTS box version to 1 and make your output compliant with the | ||
| 81 | specification. When you specify a value of 1, you must also set CSLG | ||
| 82 | atom (cslgAtom) to the value INCLUDE. Keep the default value 0 to set | ||
| 83 | your CTTS box version to 0. This can provide backward compatibility for | ||
| 84 | some players and packagers. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 FreeSpaceBox => Str | ||
| 88 | |||
| 89 | Inserts a free-space box immediately after the moov box. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 MoovPlacement => Str | ||
| 93 | |||
| 94 | If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the | ||
| 95 | beginning of the archive as required for progressive downloading. | ||
| 96 | Otherwise it is placed normally at the end. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 Mp4MajorBrand => Str | ||
| 100 | |||
| 101 | Overrides the "Major Brand" field in the output file. Usually not | ||
| 102 | necessary to specify. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |