From 0e021e077e0779386aa86f73d57cc62ada8dcb2d Mon Sep 17 00:00:00 2001 From: Alex Wood Date: Thu, 21 May 2015 13:20:21 -0700 Subject: [PATCH] API Update for Aws::ElasticTranscoder Elastic Transcoder now supports additional formats, including MXF, FLAC, and OGA, and additional flexibility for your output audio. You can use these formats to transcode files to the XDCAM format or to a lossless audio format. --- CHANGELOG.md | 5 +++ .../elastictranscoder/2012-09-25/api-2.json | 28 ++++++++++++--- .../elastictranscoder/2012-09-25/docs-2.json | 34 ++++++++++++++++--- 3 files changed, 58 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eea4db5b77a..7d182a52e34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +* Feature - Aws::ElasticTranscoder - Elastic Transcoder now supports additional + formats, including MXF, FLAC, and OGA, and additional flexibility for your + output audio. You can use these formats to transcode files to the XDCAM format + or to a lossless audio format. + * Feature - Aws::Kinesis - The Amazon Kinesis API `#get_records` now includes a new parameter `:millis_behind_latest`: the number of milliseconds the GetRecords response is from the end of the stream, indicating how far behind diff --git a/aws-sdk-core/apis/elastictranscoder/2012-09-25/api-2.json b/aws-sdk-core/apis/elastictranscoder/2012-09-25/api-2.json index 7fc0e81a69d..419e9588dcf 100644 --- a/aws-sdk-core/apis/elastictranscoder/2012-09-25/api-2.json +++ b/aws-sdk-core/apis/elastictranscoder/2012-09-25/api-2.json @@ -695,6 +695,14 @@ "type":"string", "pattern":"(^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)" }, + "AudioBitDepth":{ + "type":"string", + "pattern":"(^16$)|(^24$)" + }, + "AudioBitOrder":{ + "type":"string", + "pattern":"(^LittleEndian$)" + }, "AudioBitRate":{ "type":"string", "pattern":"^\\d{1,3}$" @@ -705,18 +713,25 @@ }, "AudioCodec":{ "type":"string", - "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)" + "pattern":"(^AAC$)|(^vorbis$)|(^mp3$)|(^mp2$)|(^pcm$)|(^flac$)" }, "AudioCodecOptions":{ "type":"structure", "members":{ - "Profile":{"shape":"AudioCodecProfile"} + "Profile":{"shape":"AudioCodecProfile"}, + "BitDepth":{"shape":"AudioBitDepth"}, + "BitOrder":{"shape":"AudioBitOrder"}, + "Signed":{"shape":"AudioSigned"} } }, "AudioCodecProfile":{ "type":"string", "pattern":"(^auto$)|(^AAC-LC$)|(^HE-AAC$)|(^HE-AACv2$)" }, + "AudioPackingMode":{ + "type":"string", + "pattern":"(^SingleTrack$)|(^OneChannelPerTrack$)|(^OneChannelPerTrackWithMosTo8Tracks$)" + }, "AudioParameters":{ "type":"structure", "members":{ @@ -724,12 +739,17 @@ "SampleRate":{"shape":"AudioSampleRate"}, "BitRate":{"shape":"AudioBitRate"}, "Channels":{"shape":"AudioChannels"}, + "AudioPackingMode":{"shape":"AudioPackingMode"}, "CodecOptions":{"shape":"AudioCodecOptions"} } }, "AudioSampleRate":{ "type":"string", - "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)" + "pattern":"(^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)|(^192000$)" + }, + "AudioSigned":{ + "type":"string", + "pattern":"(^Signed$)" }, "Base64EncodedString":{ "type":"string", @@ -1437,7 +1457,7 @@ }, "PresetContainer":{ "type":"string", - "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)" + "pattern":"(^mp4$)|(^ts$)|(^webm$)|(^mp3$)|(^flac$)|(^oga$)|(^ogg$)|(^fmp4$)|(^mpg$)|(^flv$)|(^gif$)|(^mxf$)" }, "PresetType":{ "type":"string", diff --git a/aws-sdk-core/apis/elastictranscoder/2012-09-25/docs-2.json b/aws-sdk-core/apis/elastictranscoder/2012-09-25/docs-2.json index f2f8ea1614a..0989c649b38 100644 --- a/aws-sdk-core/apis/elastictranscoder/2012-09-25/docs-2.json +++ b/aws-sdk-core/apis/elastictranscoder/2012-09-25/docs-2.json @@ -68,6 +68,18 @@ "VideoParameters$DisplayAspectRatio": "

The value that Elastic Transcoder adds to the metadata in the output file.

" } }, + "AudioBitDepth": { + "base": null, + "refs": { + "AudioCodecOptions$BitDepth": "

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.

" + } + }, + "AudioBitOrder": { + "base": null, + "refs": { + "AudioCodecOptions$BitOrder": "

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.

" + } + }, "AudioBitRate": { "base": null, "refs": { @@ -77,13 +89,13 @@ "AudioChannels": { "base": null, "refs": { - "AudioParameters$Channels": "

The number of audio channels in the output file. Valid values include:

auto, 0, 1, 2

If you specify auto, Elastic Transcoder automatically detects the number of channels in the input file.

" + "AudioParameters$Channels": "

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.

" } }, "AudioCodec": { "base": null, "refs": { - "AudioParameters$Codec": "

The audio codec for the output file. Valid values include aac, mp2, mp3, and vorbis.

" + "AudioParameters$Codec": "

The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis.

" } }, "AudioCodecOptions": { @@ -98,6 +110,12 @@ "AudioCodecOptions$Profile": "

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.

" } }, + "AudioPackingMode": { + "base": null, + "refs": { + "AudioParameters$AudioPackingMode": "

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:

" + } + }, "AudioParameters": { "base": "

Parameters required for transcoding audio.

", "refs": { @@ -111,6 +129,12 @@ "AudioParameters$SampleRate": "

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.

" } }, + "AudioSigned": { + "base": null, + "refs": { + "AudioCodecOptions$Signed": "

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.

" + } + }, "Base64EncodedString": { "base": null, "refs": { @@ -152,7 +176,7 @@ "CaptionFormatFormat": { "base": null, "refs": { - "CaptionFormat$Format": "

The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.

" + "CaptionFormat$Format": "

The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.

" } }, "CaptionFormatPattern": { @@ -805,8 +829,8 @@ "PresetContainer": { "base": null, "refs": { - "CreatePresetRequest$Container": "

The container type for the output file. Valid values include flv, fmp4, gif, mp3, mp4, mpg, ogg, ts, and webm.

", - "Preset$Container": "

The container type for the output file. Valid values include flv, fmp4, gif, mp3, mp4, mpg, ogg, ts, and webm.

" + "CreatePresetRequest$Container": "

The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

", + "Preset$Container": "

The container type for the output file. Valid values include flac, flv, fmp4, gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm.

" } }, "PresetType": {