openapi: 3.0.0 info: version: 2012-09-25 x-release: v4 title: Amazon Elastic Transcoder Jobs Presets API description: AWS Elastic Transcoder Service

The AWS Elastic Transcoder Service.

x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: elastictranscoder x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/elastictranscoder-2012-09-25.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://elastictranscoder.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon Elastic Transcoder multi-region endpoint - url: https://elastictranscoder.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon Elastic Transcoder multi-region endpoint - url: http://elastictranscoder.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon Elastic Transcoder endpoint for China (Beijing) and China (Ningxia) - url: https://elastictranscoder.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon Elastic Transcoder endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: Presets paths: /2012-09-25/presets: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: CreatePreset description: '

The CreatePreset operation creates a preset with settings that you specify.

Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException) and does not create the preset. If the settings are valid for Elastic Transcoder but aren''t strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.

Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services.

' responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/CreatePresetResponse' examples: CreatePreset201Example: summary: Default CreatePreset 201 response x-microcks-default: true value: Preset: example Warning: arn:aws:service:us-east-1:123456789012:resource/example '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: CreatePreset480Example: summary: Default CreatePreset 480 response x-microcks-default: true value: {} '481': description: IncompatibleVersionException content: application/json: schema: $ref: '#/components/schemas/IncompatibleVersionException' examples: CreatePreset481Example: summary: Default CreatePreset 481 response x-microcks-default: true value: {} '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: CreatePreset482Example: summary: Default CreatePreset 482 response x-microcks-default: true value: {} '483': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' examples: CreatePreset483Example: summary: Default CreatePreset 483 response x-microcks-default: true value: {} '484': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: CreatePreset484Example: summary: Default CreatePreset 484 response x-microcks-default: true value: {} parameters: [] requestBody: required: true content: application/json: schema: type: object required: - Name - Container properties: Name: description: The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced. type: string minLength: 1 maxLength: 40 Description: description: A description of the preset. type: string minLength: 0 maxLength: 255 Container: description: The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm. type: string pattern: (^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)|(^mp2$) Video: description: The VideoParameters structure. type: object properties: Codec: allOf: - $ref: '#/components/schemas/VideoCodec' - description: The video codec for the output file. Valid values include gif, H.264, mpeg2, vp8, and vp9. You can only specify vp8 and vp9 when the container type is webm, gif when the container type is gif, and mpeg2 when the container type is mpg. CodecOptions: allOf: - $ref: '#/components/schemas/CodecOptions' - description: '

Profile (H.264/VP8/VP9 Only)

The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:

Level (H.264 Only)

The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:

1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1

MaxReferenceFrames (H.264 Only)

Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:

Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)

where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level object. See the list below. (A macroblock is a block of pixels measuring 16x16.)

MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)

The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.

BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)

The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you''re using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate and omit BufferSize, Elastic Transcoder sets BufferSize to 10 times the value of MaxBitRate.

InterlacedMode (Optional, H.264/MPEG2 Only)

The interlace mode for the output video.

Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering.

Valid values include Progressive (no interlacing, top to bottom), TopFirst (top field first), BottomFirst (bottom field first), and Auto.

If InterlaceMode is not specified, Elastic Transcoder uses Progressive for the output. If Auto is specified, Elastic Transcoder interlaces the output.

ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)

The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. Bt.601 is the standard for standard definition video, while Bt.709 is the standard for high definition video.

Valid values include None, Bt709toBt601, Bt601toBt709, and Auto.

If you chose Auto for ColorSpaceConversionMode and your output is interlaced, your frame rate is one of 23.97, 24, 25, 29.97, 50, or 60, your SegmentDuration is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions:

Elastic Transcoder may change the behavior of the ColorspaceConversionMode Auto mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode.

If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does not change the color space of a file. If you are unsure what ColorSpaceConversionMode was applied to your output file, you can check the AppliedColorSpaceConversion parameter included in your job response. If your job does not have an AppliedColorSpaceConversion in its response, no ColorSpaceConversionMode was applied.

ChromaSubsampling

The sampling pattern for the chroma (color) channels of the output video. Valid values include yuv420p and yuv422p.

yuv420p samples the chroma information of every other horizontal and every other vertical line, yuv422p samples the color information of every horizontal line and every other vertical line.

LoopCount (Gif Only)

The number of times you want the output gif to loop. Valid values include Infinite and integers between 0 and 100, inclusive.

' KeyframesMaxDist: allOf: - $ref: '#/components/schemas/KeyframesMaxDist' - description:

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 (every frame is a key frame) and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.

For Smooth outputs, the FrameRate must have a constant ratio to the KeyframesMaxDist. This allows Smooth playlists to switch between different quality levels while the file is being played.

For example, an input file can have a FrameRate of 30 with a KeyframesMaxDist of 90. The output file then needs to have a ratio of 1:3. Valid outputs would have FrameRate of 30, 25, and 10, and KeyframesMaxDist of 90, 75, and 30, respectively.

Alternately, this can be achieved by setting FrameRate to auto and having the same values for MaxFrameRate and KeyframesMaxDist.

FixedGOP: allOf: - $ref: '#/components/schemas/FixedGOP' - description: '

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

Whether to use a fixed value for FixedGOP. Valid values are true and false:

FixedGOP must be set to true for fmp4 containers.

' BitRate: allOf: - $ref: '#/components/schemas/VideoBitRate' - description: '

The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. If you specify auto, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:

Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)

' FrameRate: allOf: - $ref: '#/components/schemas/FrameRate' - description:

The frames per second for the video stream in the output file. Valid values include:

auto, 10, 15, 23.97, 24, 25, 29.97, 30, 60

If you specify auto, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:

Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)

where:

The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed):

MaxFrameRate: allOf: - $ref: '#/components/schemas/MaxFrameRate' - description: 'If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video. Specify the maximum frame rate that you want Elastic Transcoder to use when the frame rate of the input video is greater than the desired maximum frame rate of the output video. Valid values include: 10, 15, 23.97, 24, 25, 29.97, 30, 60.' Resolution: allOf: - $ref: '#/components/schemas/Resolution' - description: '

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of the video in the output file, in pixels. Valid values are auto and width x height:

Note the following about specifying the width and height:

' AspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description:

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The display aspect ratio of the video in the output file. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the input file.

If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.

MaxWidth: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: ' The maximum width of the output video in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096. ' MaxHeight: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum height of the output video in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072. DisplayAspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description: The value that Elastic Transcoder adds to the metadata in the output file. SizingPolicy: allOf: - $ref: '#/components/schemas/SizingPolicy' - description: '

Specify one of the following values to control scaling of the output video:

' PaddingPolicy: allOf: - $ref: '#/components/schemas/PaddingPolicy' - description: When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for MaxWidth and MaxHeight. Watermarks: allOf: - $ref: '#/components/schemas/PresetWatermarks' - description:

Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.

Audio: description: Parameters required for transcoding audio. type: object properties: Codec: allOf: - $ref: '#/components/schemas/AudioCodec' - description: The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis. SampleRate: allOf: - $ref: '#/components/schemas/AudioSampleRate' - description:

The sample rate of the audio stream in the output file, in Hertz. Valid values include:

auto, 22050, 32000, 44100, 48000, 96000

If you specify auto, Elastic Transcoder automatically detects the sample rate.

BitRate: allOf: - $ref: '#/components/schemas/AudioBitRate' - description: The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive. Channels: allOf: - $ref: '#/components/schemas/AudioChannels' - description:

The number of audio channels in the output file. The following values are valid:

auto, 0, 1, 2

One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto.

The output of a specific channel value and inputs are as follows:

For more information about how Elastic Transcoder organizes channels and tracks, see Audio:AudioPackingMode.

AudioPackingMode: allOf: - $ref: '#/components/schemas/AudioPackingMode' - description:

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

The following values are valid:

SingleTrack, OneChannelPerTrack, and OneChannelPerTrackWithMosTo8Tracks

When you specify SingleTrack, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use SingleTrack for all non-mxf containers.

The outputs of SingleTrack for a specific channel value and inputs are as follows:

When you specify OneChannelPerTrack, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks.

The outputs of OneChannelPerTrack for a specific channel value and inputs are as follows:

When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks.

The outputs of OneChannelPerTrackWithMosTo8Tracks for a specific channel value and inputs are as follows:

CodecOptions: allOf: - $ref: '#/components/schemas/AudioCodecOptions' - description:

If you specified AAC for Audio:Codec, this is the AAC compression profile to use. Valid values include:

auto, AAC-LC, HE-AAC, HE-AACv2

If you specify auto, Elastic Transcoder chooses a profile based on the bit rate of the output file.

Thumbnails: description: Thumbnails for videos. type: object properties: Format: allOf: - $ref: '#/components/schemas/JpgOrPng' - description:

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Interval: allOf: - $ref: '#/components/schemas/Digits' - description: The approximate number of seconds between thumbnails. Specify an integer value. Resolution: allOf: - $ref: '#/components/schemas/ThumbnailResolution' - description:

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

AspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description:

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

MaxWidth: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096. MaxHeight: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072. SizingPolicy: allOf: - $ref: '#/components/schemas/SizingPolicy' - description: '

Specify one of the following values to control scaling of thumbnails:

' PaddingPolicy: allOf: - $ref: '#/components/schemas/PaddingPolicy' - description: When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings. examples: CreatePresetRequestExample: summary: Default CreatePreset request x-microcks-default: true value: Name: example-name Description: Example description Container: example Video: {} Audio: {} summary: Amazon Elastic Transcoder CreatePreset x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Presets get: operationId: ListPresets description: The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListPresetsResponse' examples: ListPresets200Example: summary: Default ListPresets 200 response x-microcks-default: true value: Presets: example NextPageToken: example '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListPresets480Example: summary: Default ListPresets 480 response x-microcks-default: true value: {} '481': description: IncompatibleVersionException content: application/json: schema: $ref: '#/components/schemas/IncompatibleVersionException' examples: ListPresets481Example: summary: Default ListPresets 481 response x-microcks-default: true value: {} '482': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ListPresets482Example: summary: Default ListPresets 482 response x-microcks-default: true value: {} '483': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: ListPresets483Example: summary: Default ListPresets 483 response x-microcks-default: true value: {} parameters: - name: Ascending in: query required: false description: To list presets in chronological order by the date and time that they were created, enter true. To list presets in reverse chronological order, enter false. schema: type: string pattern: (^true$)|(^false$) - name: PageToken in: query required: false description: 'When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results. ' schema: type: string pattern: ^\d{13}-\w{6}$ summary: Amazon Elastic Transcoder ListPresets x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Presets /2012-09-25/presets/{Id}: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' delete: operationId: DeletePreset description:

The DeletePreset operation removes a preset that you've added in an AWS region.

You can't delete the default presets that are included with Elastic Transcoder.

responses: '202': description: Success content: application/json: schema: $ref: '#/components/schemas/DeletePresetResponse' examples: DeletePreset202Example: summary: Default DeletePreset 202 response x-microcks-default: true value: {} '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeletePreset480Example: summary: Default DeletePreset 480 response x-microcks-default: true value: {} '481': description: IncompatibleVersionException content: application/json: schema: $ref: '#/components/schemas/IncompatibleVersionException' examples: DeletePreset481Example: summary: Default DeletePreset 481 response x-microcks-default: true value: {} '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: DeletePreset482Example: summary: Default DeletePreset 482 response x-microcks-default: true value: {} '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: DeletePreset483Example: summary: Default DeletePreset 483 response x-microcks-default: true value: {} '484': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: DeletePreset484Example: summary: Default DeletePreset 484 response x-microcks-default: true value: {} parameters: - name: Id in: path required: true description: The identifier of the preset for which you want to get detailed information. schema: type: string pattern: ^\d{13}-\w{6}$ summary: Amazon Elastic Transcoder DeletePreset x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Presets get: operationId: ReadPreset description: The ReadPreset operation gets detailed information about a preset. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ReadPresetResponse' examples: ReadPreset200Example: summary: Default ReadPreset 200 response x-microcks-default: true value: Preset: example '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ReadPreset480Example: summary: Default ReadPreset 480 response x-microcks-default: true value: {} '481': description: IncompatibleVersionException content: application/json: schema: $ref: '#/components/schemas/IncompatibleVersionException' examples: ReadPreset481Example: summary: Default ReadPreset 481 response x-microcks-default: true value: {} '482': description: ResourceNotFoundException content: application/json: schema: $ref: '#/components/schemas/ResourceNotFoundException' examples: ReadPreset482Example: summary: Default ReadPreset 482 response x-microcks-default: true value: {} '483': description: AccessDeniedException content: application/json: schema: $ref: '#/components/schemas/AccessDeniedException' examples: ReadPreset483Example: summary: Default ReadPreset 483 response x-microcks-default: true value: {} '484': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: ReadPreset484Example: summary: Default ReadPreset 484 response x-microcks-default: true value: {} parameters: - name: Id in: path required: true description: The identifier of the preset for which you want to get detailed information. schema: type: string pattern: ^\d{13}-\w{6}$ summary: Amazon Elastic Transcoder ReadPreset x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - Presets components: schemas: KeyframesMaxDist: type: string pattern: ^\d{1,6}$ PresetContainer: type: string pattern: (^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)|(^wav$)|(^mp2$) Presets: type: array items: $ref: '#/components/schemas/Preset' HorizontalAlign: type: string pattern: (^Left$)|(^Right$)|(^Center$) AudioCodecProfile: type: string pattern: (^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$) AudioPackingMode: type: string pattern: (^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$) JpgOrPng: type: string pattern: (^jpg$)|(^png$) ResourceNotFoundException: {} InternalServiceException: {} ValidationException: {} AudioBitOrder: type: string pattern: (^LittleEndian$) PixelsOrPercent: type: string pattern: (^\d{1,3}(\.\d{0,5})?%$)|(^\d{1,4}?px$) PresetWatermarks: type: array items: $ref: '#/components/schemas/PresetWatermark' DeletePresetResponse: type: object properties: {} description: The DeletePresetResponse structure. Name: type: string minLength: 1 maxLength: 40 CodecOption: type: string minLength: 1 maxLength: 255 PaddingPolicy: type: string pattern: (^Pad$)|(^NoPad$) IncompatibleVersionException: {} ReadPresetResponse: type: object properties: Preset: allOf: - $ref: '#/components/schemas/Preset' - description: A section of the response body that provides information about the preset. description: The ReadPresetResponse structure. CreatePresetResponse: type: object properties: Preset: allOf: - $ref: '#/components/schemas/Preset' - description: A section of the response body that provides information about the preset that is created. Warning: allOf: - $ref: '#/components/schemas/String' - description: If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output. description: The CreatePresetResponse structure. VideoCodec: type: string pattern: (^H\.264$)|(^vp8$)|(^vp9$)|(^mpeg2$)|(^gif$) AudioSampleRate: type: string pattern: (^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$) VideoParameters: type: object properties: Codec: allOf: - $ref: '#/components/schemas/VideoCodec' - description: The video codec for the output file. Valid values include gif, H.264, mpeg2, vp8, and vp9. You can only specify vp8 and vp9 when the container type is webm, gif when the container type is gif, and mpeg2 when the container type is mpg. CodecOptions: allOf: - $ref: '#/components/schemas/CodecOptions' - description: '

Profile (H.264/VP8/VP9 Only)

The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:

Level (H.264 Only)

The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:

1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4, 4.1

MaxReferenceFrames (H.264 Only)

Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:

Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)

where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level object. See the list below. (A macroblock is a block of pixels measuring 16x16.)

MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)

The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.

BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)

The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you''re using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate and omit BufferSize, Elastic Transcoder sets BufferSize to 10 times the value of MaxBitRate.

InterlacedMode (Optional, H.264/MPEG2 Only)

The interlace mode for the output video.

Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering.

Valid values include Progressive (no interlacing, top to bottom), TopFirst (top field first), BottomFirst (bottom field first), and Auto.

If InterlaceMode is not specified, Elastic Transcoder uses Progressive for the output. If Auto is specified, Elastic Transcoder interlaces the output.

ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)

The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. Bt.601 is the standard for standard definition video, while Bt.709 is the standard for high definition video.

Valid values include None, Bt709toBt601, Bt601toBt709, and Auto.

If you chose Auto for ColorSpaceConversionMode and your output is interlaced, your frame rate is one of 23.97, 24, 25, 29.97, 50, or 60, your SegmentDuration is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions:

Elastic Transcoder may change the behavior of the ColorspaceConversionMode Auto mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode.

If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does not change the color space of a file. If you are unsure what ColorSpaceConversionMode was applied to your output file, you can check the AppliedColorSpaceConversion parameter included in your job response. If your job does not have an AppliedColorSpaceConversion in its response, no ColorSpaceConversionMode was applied.

ChromaSubsampling

The sampling pattern for the chroma (color) channels of the output video. Valid values include yuv420p and yuv422p.

yuv420p samples the chroma information of every other horizontal and every other vertical line, yuv422p samples the color information of every horizontal line and every other vertical line.

LoopCount (Gif Only)

The number of times you want the output gif to loop. Valid values include Infinite and integers between 0 and 100, inclusive.

' KeyframesMaxDist: allOf: - $ref: '#/components/schemas/KeyframesMaxDist' - description:

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

The maximum number of frames between key frames. Key frames are fully encoded frames; the frames between key frames are encoded based, in part, on the content of the key frames. The value is an integer formatted as a string; valid values are between 1 (every frame is a key frame) and 100000, inclusive. A higher value results in higher compression but may also discernibly decrease video quality.

For Smooth outputs, the FrameRate must have a constant ratio to the KeyframesMaxDist. This allows Smooth playlists to switch between different quality levels while the file is being played.

For example, an input file can have a FrameRate of 30 with a KeyframesMaxDist of 90. The output file then needs to have a ratio of 1:3. Valid outputs would have FrameRate of 30, 25, and 10, and KeyframesMaxDist of 90, 75, and 30, respectively.

Alternately, this can be achieved by setting FrameRate to auto and having the same values for MaxFrameRate and KeyframesMaxDist.

FixedGOP: allOf: - $ref: '#/components/schemas/FixedGOP' - description: '

Applicable only when the value of Video:Codec is one of H.264, MPEG2, or VP8.

Whether to use a fixed value for FixedGOP. Valid values are true and false:

FixedGOP must be set to true for fmp4 containers.

' BitRate: allOf: - $ref: '#/components/schemas/VideoBitRate' - description: '

The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level and Profile. If you specify auto, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:

Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)

' FrameRate: allOf: - $ref: '#/components/schemas/FrameRate' - description:

The frames per second for the video stream in the output file. Valid values include:

auto, 10, 15, 23.97, 24, 25, 29.97, 30, 60

If you specify auto, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:

Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)

where:

The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed):

MaxFrameRate: allOf: - $ref: '#/components/schemas/MaxFrameRate' - description: 'If you specify auto for FrameRate, Elastic Transcoder uses the frame rate of the input video for the frame rate of the output video. Specify the maximum frame rate that you want Elastic Transcoder to use when the frame rate of the input video is greater than the desired maximum frame rate of the output video. Valid values include: 10, 15, 23.97, 24, 25, 29.97, 30, 60.' Resolution: allOf: - $ref: '#/components/schemas/Resolution' - description: '

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of the video in the output file, in pixels. Valid values are auto and width x height:

Note the following about specifying the width and height:

' AspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description:

To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, PaddingPolicy, and DisplayAspectRatio instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The display aspect ratio of the video in the output file. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the input file.

If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.

MaxWidth: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: ' The maximum width of the output video in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096. ' MaxHeight: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum height of the output video in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072. DisplayAspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description: The value that Elastic Transcoder adds to the metadata in the output file. SizingPolicy: allOf: - $ref: '#/components/schemas/SizingPolicy' - description: '

Specify one of the following values to control scaling of the output video:

' PaddingPolicy: allOf: - $ref: '#/components/schemas/PaddingPolicy' - description: When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of the output video to make the total size of the output video match the values that you specified for MaxWidth and MaxHeight. Watermarks: allOf: - $ref: '#/components/schemas/PresetWatermarks' - description:

Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.

description: The VideoParameters structure. PresetWatermark: type: object properties: Id: allOf: - $ref: '#/components/schemas/PresetWatermarkId' - description: ' A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. ' MaxWidth: allOf: - $ref: '#/components/schemas/PixelsOrPercent' - description: '

The maximum width of the watermark in one of the following formats:

' MaxHeight: allOf: - $ref: '#/components/schemas/PixelsOrPercent' - description: '

The maximum height of the watermark in one of the following formats:

If you specify the value in pixels, it must be less than or equal to the value of MaxHeight.

' SizingPolicy: allOf: - $ref: '#/components/schemas/WatermarkSizingPolicy' - description: '

A value that controls scaling of the watermark:

' HorizontalAlign: allOf: - $ref: '#/components/schemas/HorizontalAlign' - description: '

The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset:

' HorizontalOffset: allOf: - $ref: '#/components/schemas/PixelsOrPercent' - description: '

The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:

For example, if you specify Left for HorizontalAlign and 5px for HorizontalOffset, the left side of the watermark appears 5 pixels from the left border of the output video.

HorizontalOffset is only valid when the value of HorizontalAlign is Left or Right. If you specify an offset that causes the watermark to extend beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.

Use the value of Target to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.

' VerticalAlign: allOf: - $ref: '#/components/schemas/VerticalAlign' - description: '

The vertical position of the watermark unless you specify a non-zero value for VerticalOffset:

' VerticalOffset: allOf: - $ref: '#/components/schemas/PixelsOrPercent' - description: '

VerticalOffset

The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:

For example, if you specify Top for VerticalAlign and 5px for VerticalOffset, the top of the watermark appears 5 pixels from the top border of the output video.

VerticalOffset is only valid when the value of VerticalAlign is Top or Bottom.

If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.

Use the value of Target to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.

' Opacity: allOf: - $ref: '#/components/schemas/Opacity' - description:

A percentage that indicates how much you want a watermark to obscure the video in the location where it appears. Valid values are 0 (the watermark is invisible) to 100 (the watermark completely obscures the video in the specified location). The datatype of Opacity is float.

Elastic Transcoder supports transparent .png graphics. If you use a transparent .png, the transparent portion of the video appears as if you had specified a value of 0 for Opacity. The .jpg file format doesn't support transparency.

Target: allOf: - $ref: '#/components/schemas/Target' - description: '

A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight:

' description:

Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset. You can specify settings for up to four watermarks. Watermarks appear in the specified size and location, and with the specified opacity for the duration of the transcoded video.

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

When you create a job that uses this preset, you specify the .png or .jpg graphics that you want Elastic Transcoder to include in the transcoded videos. You can specify fewer graphics in the job than you specify watermark settings in the preset, which allows you to use the same preset for up to four watermarks that have different dimensions.

AudioSigned: type: string pattern: (^Unsigned$)|(^Signed$) AudioBitRate: type: string pattern: ^\d{1,3}$ VerticalAlign: type: string pattern: (^Top$)|(^Bottom$)|(^Center$) Preset: type: object properties: Id: allOf: - $ref: '#/components/schemas/Id' - description: Identifier for the new preset. You use this value to get settings for the preset or to delete it. Arn: allOf: - $ref: '#/components/schemas/String' - description: The Amazon Resource Name (ARN) for the preset. Name: allOf: - $ref: '#/components/schemas/Name' - description: The name of the preset. Description: allOf: - $ref: '#/components/schemas/Description' - description: A description of the preset. Container: allOf: - $ref: '#/components/schemas/PresetContainer' - description: The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm. Audio: allOf: - $ref: '#/components/schemas/AudioParameters' - description: A section of the response body that provides information about the audio preset values. Video: allOf: - $ref: '#/components/schemas/VideoParameters' - description: A section of the response body that provides information about the video preset values. Thumbnails: allOf: - $ref: '#/components/schemas/Thumbnails' - description: A section of the response body that provides information about the thumbnail preset values, if any. Type: allOf: - $ref: '#/components/schemas/PresetType' - description: Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom). description: Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job. AudioBitDepth: type: string pattern: (^8$)|(^16$)|(^24$)|(^32$) String: type: string SizingPolicy: type: string pattern: (^Fit$)|(^Fill$)|(^Stretch$)|(^Keep$)|(^ShrinkToFit$)|(^ShrinkToFill$) AspectRatio: type: string pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$) ListPresetsResponse: type: object properties: Presets: allOf: - $ref: '#/components/schemas/Presets' - description: An array of Preset objects. NextPageToken: allOf: - $ref: '#/components/schemas/Id' - description: A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken is null. description: The ListPresetsResponse structure. Digits: type: string pattern: ^\d{1,5}$ CodecOptions: type: object maxProperties: 30 additionalProperties: $ref: '#/components/schemas/CodecOption' PresetWatermarkId: type: string minLength: 1 maxLength: 40 Opacity: type: string pattern: ^\d{1,3}(\.\d{0,20})?$ PresetType: type: string pattern: (^System$)|(^Custom$) LimitExceededException: {} ThumbnailResolution: type: string pattern: ^\d{1,5}x\d{1,5}$ Resolution: type: string pattern: (^auto$)|(^\d{1,5}x\d{1,5}$) DigitsOrAuto: type: string pattern: (^auto$)|(^\d{2,4}$) AudioCodec: type: string pattern: (^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$) Id: type: string pattern: ^\d{13}-\w{6}$ Thumbnails: type: object properties: Format: allOf: - $ref: '#/components/schemas/JpgOrPng' - description:

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Interval: allOf: - $ref: '#/components/schemas/Digits' - description: The approximate number of seconds between thumbnails. Specify an integer value. Resolution: allOf: - $ref: '#/components/schemas/ThumbnailResolution' - description:

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

AspectRatio: allOf: - $ref: '#/components/schemas/AspectRatio' - description:

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

MaxWidth: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096. MaxHeight: allOf: - $ref: '#/components/schemas/DigitsOrAuto' - description: The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072. SizingPolicy: allOf: - $ref: '#/components/schemas/SizingPolicy' - description: '

Specify one of the following values to control scaling of thumbnails:

' PaddingPolicy: allOf: - $ref: '#/components/schemas/PaddingPolicy' - description: When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings. description: Thumbnails for videos. WatermarkSizingPolicy: type: string pattern: (^Fit$)|(^Stretch$)|(^ShrinkToFit$) AccessDeniedException: {} Target: type: string pattern: (^Content$)|(^Frame$) AudioParameters: type: object properties: Codec: allOf: - $ref: '#/components/schemas/AudioCodec' - description: The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis. SampleRate: allOf: - $ref: '#/components/schemas/AudioSampleRate' - description:

The sample rate of the audio stream in the output file, in Hertz. Valid values include:

auto, 22050, 32000, 44100, 48000, 96000

If you specify auto, Elastic Transcoder automatically detects the sample rate.

BitRate: allOf: - $ref: '#/components/schemas/AudioBitRate' - description: The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive. Channels: allOf: - $ref: '#/components/schemas/AudioChannels' - description:

The number of audio channels in the output file. The following values are valid:

auto, 0, 1, 2

One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto.

The output of a specific channel value and inputs are as follows:

For more information about how Elastic Transcoder organizes channels and tracks, see Audio:AudioPackingMode.

AudioPackingMode: allOf: - $ref: '#/components/schemas/AudioPackingMode' - description:

The method of organizing audio channels and tracks. Use Audio:Channels to specify the number of channels in your output, and Audio:AudioPackingMode to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode, Elastic Transcoder uses SingleTrack.

The following values are valid:

SingleTrack, OneChannelPerTrack, and OneChannelPerTrackWithMosTo8Tracks

When you specify SingleTrack, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use SingleTrack for all non-mxf containers.

The outputs of SingleTrack for a specific channel value and inputs are as follows:

When you specify OneChannelPerTrack, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks.

The outputs of OneChannelPerTrack for a specific channel value and inputs are as follows:

When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks.

The outputs of OneChannelPerTrackWithMosTo8Tracks for a specific channel value and inputs are as follows:

CodecOptions: allOf: - $ref: '#/components/schemas/AudioCodecOptions' - description:

If you specified AAC for Audio:Codec, this is the AAC compression profile to use. Valid values include:

auto, AAC-LC, HE-AAC, HE-AACv2

If you specify auto, Elastic Transcoder chooses a profile based on the bit rate of the output file.

description: Parameters required for transcoding audio. AudioCodecOptions: type: object properties: Profile: allOf: - $ref: '#/components/schemas/AudioCodecProfile' - description: '

You can only choose an audio profile when you specify AAC for the value of Audio:Codec.

Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:

All outputs in a Smooth playlist must have the same value for Profile.

If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.

' BitDepth: allOf: - $ref: '#/components/schemas/AudioBitDepth' - description:

You can only choose an audio bit depth when you specify flac or pcm for the value of Audio:Codec.

The bit depth of a sample is how many bits of information are included in the audio samples. The higher the bit depth, the better the audio, but the larger the file.

Valid values are 16 and 24.

The most common bit depth is 24.

BitOrder: allOf: - $ref: '#/components/schemas/AudioBitOrder' - description:

You can only choose an audio bit order when you specify pcm for the value of Audio:Codec.

The order the bits of a PCM sample are stored in.

The supported value is LittleEndian.

Signed: allOf: - $ref: '#/components/schemas/AudioSigned' - description:

You can only choose whether an audio sample is signed when you specify pcm for the value of Audio:Codec.

Whether audio samples are represented with negative and positive numbers (signed) or only positive numbers (unsigned).

The supported value is Signed.

description: Options associated with your audio codec. MaxFrameRate: type: string pattern: (^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$) FrameRate: type: string pattern: (^auto$)|(^10$)|(^15$)|(^23.97$)|(^24$)|(^25$)|(^29.97$)|(^30$)|(^50$)|(^60$) AudioChannels: type: string pattern: (^auto$)|(^0$)|(^1$)|(^2$) FixedGOP: type: string pattern: (^true$)|(^false$) Description: type: string minLength: 0 maxLength: 255 VideoBitRate: type: string pattern: (^\d{2,5}$)|(^auto$) parameters: X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/elastictranscoder/