![]() |
![]()
| ![]() |
![]()
NAMEPaws::ElasticTranscoder::JobOutput USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::ElasticTranscoder::JobOutput object: $service_obj->Method(Att1 => { AlbumArt => $value, ..., Width => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::JobOutput object: $result = $service_obj->Method(...); $result->Att1->AlbumArt DESCRIPTIONOutputs recommended instead. If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the "Output" object lists information about the first output. This duplicates the information that is listed for the first output in the "Outputs" object. ATTRIBUTESAlbumArt => Paws::ElasticTranscoder::JobAlbumArtThe album art to be associated with the output file, if any. AppliedColorSpaceConversion => StrIf Elastic Transcoder used a preset with a "ColorSpaceConversionMode" to transcode the output file, the "AppliedColorSpaceConversion" parameter shows the conversion used. If no "ColorSpaceConversionMode" was defined in the preset, this parameter is not be included in the job response. Captions => Paws::ElasticTranscoder::CaptionsYou can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format. Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process. To remove captions or leave the captions empty, set "Captions" to null. To pass through existing captions unchanged, set the "MergePolicy" to "MergeRetain", and pass in a null "CaptionSources" array. For more information on embedded files, see the Subtitles Wikipedia page. For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages. Composition => ArrayRef[Paws::ElasticTranscoder::Clip]You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null. Duration => IntDuration of the output file, in seconds. DurationMillis => IntDuration of the output file, in milliseconds. Encryption => Paws::ElasticTranscoder::EncryptionThe encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket. FileSize => IntFile size of the output file, in bytes. FrameRate => StrFrame rate of the output file, in frames per second. Height => IntHeight of the output file, in pixels. Id => StrA sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1. Key => StrThe name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the "OutputBucket" object in the pipeline that is specified by the pipeline ID. PresetId => StrThe value of the "Id" object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with "ListPresets". Rotate => StrThe number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: "auto", 0, 90, 180, 270 The value "auto" generally works only if the file that you're transcoding contains rotation metadata. SegmentDuration => Str(Outputs in Fragmented MP4 or MPEG-TS format only. If you specify a preset in "PresetId" for which the value of "Container" is "fmp4" (Fragmented MP4) or "ts" (MPEG-TS), "SegmentDuration" is the target maximum duration of each segment in seconds. For "HLSv3" format playlists, each media segment is stored in a separate ".ts" file. For "HLSv4", "MPEG-DASH", and "Smooth" playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the "SegmentDuration", though individual segments might be shorter or longer. The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by "SegmentDuration", the duration of the last segment is the remainder of total length/SegmentDuration. Elastic Transcoder creates an output-specific playlist for each output "HLS" output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the "OutputKeys" of the associated playlist. Status => StrThe status of one output in a job. If you specified only one output for the job, "Outputs:Status" is always the same as "Job:Status". If you specified more than one output:
The value of "Status" is one of the following: "Submitted", "Progressing", "Complete", "Canceled", or "Error". StatusDetail => StrInformation that further explains "Status". ThumbnailEncryption => Paws::ElasticTranscoder::EncryptionThe encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail. ThumbnailPattern => StrWhether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files. If you don't want Elastic Transcoder to create thumbnails, specify "". If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the "PresetID" value of "CreateJobOutput". Elastic Transcoder also appends the applicable file name extension. Watermarks => ArrayRef[Paws::ElasticTranscoder::JobWatermark]Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in "Preset" for the current output. Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third. Width => IntSpecifies the width of the output file in pixels. SEE ALSOThis class forms part of Paws, describing an object used in Paws::ElasticTranscoder BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|