« blib/lib/Paws/MediaConvert/FileGroupSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/FrameCaptureSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::FileSourceSettings; | ||
| 3 | use Moose; | ||
| 4 | has Convert608To708 => (is => 'ro', isa => 'Str', request_name => 'convert608To708', traits => ['NameInRequest']); | ||
| 5 | has Framerate => (is => 'ro', isa => 'Paws::MediaConvert::CaptionSourceFramerate', request_name => 'framerate', traits => ['NameInRequest']); | ||
| 6 | has SourceFile => (is => 'ro', isa => 'Str', request_name => 'sourceFile', traits => ['NameInRequest']); | ||
| 7 | has TimeDelta => (is => 'ro', isa => 'Int', request_name => 'timeDelta', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::MediaConvert::FileSourceSettings | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::MediaConvert::FileSourceSettings object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Convert608To708 => $value, ..., TimeDelta => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::FileSourceSettings object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Convert608To708 | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC | ||
| 40 | 1.1 in an xml file, specify the URI of the input caption source file. | ||
| 41 | If your caption source is IMSC in an IMF package, use | ||
| 42 | TrackSourceSettings instead of FileSoureSettings. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Convert608To708 => Str | ||
| 48 | |||
| 49 | Specify whether this set of input captions appears in your outputs in | ||
| 50 | both 608 and 708 format. If you choose Upconvert (UPCONVERT), | ||
| 51 | MediaConvert includes the captions data in two ways: it passes the 608 | ||
| 52 | data through using the 608 compatibility bytes fields of the 708 | ||
| 53 | wrapper, and it also translates the 608 data into 708. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Framerate => L<Paws::MediaConvert::CaptionSourceFramerate> | ||
| 57 | |||
| 58 | Ignore this setting unless your input captions format is SCC. To have | ||
| 59 | the service compensate for differing frame rates between your input | ||
| 60 | captions and input video, specify the frame rate of the captions file. | ||
| 61 | Specify this value as a fraction, using the settings Framerate | ||
| 62 | numerator (framerateNumerator) and Framerate denominator | ||
| 63 | (framerateDenominator). For example, you might specify 24 / 1 for 24 | ||
| 64 | fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 | ||
| 65 | for 29.97 fps. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 SourceFile => Str | ||
| 69 | |||
| 70 | External caption file used for loading captions. Accepted file | ||
| 71 | extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', 'xml', 'smi', | ||
| 72 | 'webvtt', and 'vtt'. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 TimeDelta => Int | ||
| 76 | |||
| 77 | Specifies a time delta in seconds to offset the captions from the | ||
| 78 | source file. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |