/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ElasticTranscoder { namespace Model { /** *

Parameters required for transcoding audio.

See Also:

AWS * API Reference

*/ class AudioParameters { public: AWS_ELASTICTRANSCODER_API AudioParameters(); AWS_ELASTICTRANSCODER_API AudioParameters(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICTRANSCODER_API AudioParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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

*/ inline const Aws::String& GetCodec() const{ return m_codec; } /** *

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

*/ inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; } /** *

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

*/ inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; } /** *

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

*/ inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); } /** *

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

*/ inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); } /** *

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

*/ inline AudioParameters& WithCodec(const Aws::String& value) { SetCodec(value); return *this;} /** *

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

*/ inline AudioParameters& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;} /** *

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

*/ inline AudioParameters& WithCodec(const char* value) { SetCodec(value); return *this;} /** *

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.

*/ inline const Aws::String& GetSampleRate() const{ return m_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.

*/ inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; } /** *

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.

*/ inline void SetSampleRate(const Aws::String& value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; } /** *

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.

*/ inline void SetSampleRate(Aws::String&& value) { m_sampleRateHasBeenSet = true; m_sampleRate = std::move(value); } /** *

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.

*/ inline void SetSampleRate(const char* value) { m_sampleRateHasBeenSet = true; m_sampleRate.assign(value); } /** *

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.

*/ inline AudioParameters& WithSampleRate(const Aws::String& value) { SetSampleRate(value); return *this;} /** *

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.

*/ inline AudioParameters& WithSampleRate(Aws::String&& value) { SetSampleRate(std::move(value)); return *this;} /** *

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.

*/ inline AudioParameters& WithSampleRate(const char* value) { SetSampleRate(value); return *this;} /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline const Aws::String& GetBitRate() const{ return m_bitRate; } /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline bool BitRateHasBeenSet() const { return m_bitRateHasBeenSet; } /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline void SetBitRate(const Aws::String& value) { m_bitRateHasBeenSet = true; m_bitRate = value; } /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline void SetBitRate(Aws::String&& value) { m_bitRateHasBeenSet = true; m_bitRate = std::move(value); } /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline void SetBitRate(const char* value) { m_bitRateHasBeenSet = true; m_bitRate.assign(value); } /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline AudioParameters& WithBitRate(const Aws::String& value) { SetBitRate(value); return *this;} /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline AudioParameters& WithBitRate(Aws::String&& value) { SetBitRate(std::move(value)); return *this;} /** *

The bit rate of the audio stream in the output file, in kilobits/second. * Enter an integer between 64 and 320, inclusive.

*/ inline AudioParameters& WithBitRate(const char* value) { SetBitRate(value); return *this;} /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline const Aws::String& GetChannels() const{ return m_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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; } /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline void SetChannels(const Aws::String& value) { m_channelsHasBeenSet = true; m_channels = value; } /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline void SetChannels(Aws::String&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); } /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline void SetChannels(const char* value) { m_channelsHasBeenSet = true; m_channels.assign(value); } /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline AudioParameters& WithChannels(const Aws::String& value) { SetChannels(value); return *this;} /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline AudioParameters& WithChannels(Aws::String&& value) { SetChannels(std::move(value)); return *this;} /** *

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:

  • auto channel * specified, with any input: Pass through up to eight input channels.

    *
  • 0 channels specified, with any input: Audio * omitted from the output.

  • 1 channel * specified, with at least one input channel: Mono sound.

  • * 2 channels specified, with any input: Two identical mono * channels or stereo. For more information about tracks, see * Audio:AudioPackingMode.

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

*/ inline AudioParameters& WithChannels(const char* value) { SetChannels(value); return *this;} /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline const Aws::String& GetAudioPackingMode() const{ return m_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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline bool AudioPackingModeHasBeenSet() const { return m_audioPackingModeHasBeenSet; } /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline void SetAudioPackingMode(const Aws::String& value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode = value; } /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline void SetAudioPackingMode(Aws::String&& value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode = std::move(value); } /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline void SetAudioPackingMode(const char* value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode.assign(value); } /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline AudioParameters& WithAudioPackingMode(const Aws::String& value) { SetAudioPackingMode(value); return *this;} /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline AudioParameters& WithAudioPackingMode(Aws::String&& value) { SetAudioPackingMode(std::move(value)); return *this;} /** *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: One track with two identical * channels

  • 2 or auto channels with two tracks * with one channel each: One track with two channels

  • * 2 or auto channels with one track with two channels: One * track with two channels

  • 2 channels with one * track with multiple channels: One track with two channels

  • * auto channels with one track with one channel: One track * with one channel

  • auto channels with one * track with multiple channels: One track with multiple channels

  • *

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:

  • 0 channels with any input: Audio * omitted from the output

  • 1, 2, or auto * channels with no audio input: Audio omitted from the output

  • *
  • 1 channel with any input with audio: One track * with one channel, downmixed if necessary

  • 2 * channels with one track with one channel: Two tracks with one identical * channel each

  • 2 or auto channels with two * tracks with one channel each: Two tracks with one channel each

  • *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each

  • 2 * channels with one track with multiple channels: Two tracks with * one channel each

  • auto channels with one * track with one channel: One track with one channel

  • * auto channels with one track with multiple channels: Up to * eight tracks with one channel each

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:

  • 0 * channels with any input: Audio omitted from the output

  • * 1, 2, or auto channels with no audio input: Audio omitted * from the output

  • 1 channel with any input * with audio: One track with one channel, downmixed if necessary, plus six MOS * tracks

  • 2 channels with one track with one * channel: Two tracks with one identical channel each, plus six MOS tracks

    *
  • 2 or auto channels with two tracks with one * channel each: Two tracks with one channel each, plus six MOS tracks

    *
  • 2 or auto channels with one track with two * channels: Two tracks with one channel each, plus six MOS tracks

  • *
  • 2 channels with one track with multiple channels: * Two tracks with one channel each, plus six MOS tracks

  • * auto channels with one track with one channel: One track * with one channel, plus seven MOS tracks

  • auto * channels with one track with multiple channels: Up to eight tracks with * one channel each, plus MOS tracks until there are eight tracks in all

  • *
*/ inline AudioParameters& WithAudioPackingMode(const char* value) { SetAudioPackingMode(value); return *this;} /** *

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.

*/ inline const AudioCodecOptions& GetCodecOptions() const{ return m_codecOptions; } /** *

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.

*/ inline bool CodecOptionsHasBeenSet() const { return m_codecOptionsHasBeenSet; } /** *

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.

*/ inline void SetCodecOptions(const AudioCodecOptions& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = value; } /** *

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.

*/ inline void SetCodecOptions(AudioCodecOptions&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = std::move(value); } /** *

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.

*/ inline AudioParameters& WithCodecOptions(const AudioCodecOptions& value) { SetCodecOptions(value); return *this;} /** *

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.

*/ inline AudioParameters& WithCodecOptions(AudioCodecOptions&& value) { SetCodecOptions(std::move(value)); return *this;} private: Aws::String m_codec; bool m_codecHasBeenSet = false; Aws::String m_sampleRate; bool m_sampleRateHasBeenSet = false; Aws::String m_bitRate; bool m_bitRateHasBeenSet = false; Aws::String m_channels; bool m_channelsHasBeenSet = false; Aws::String m_audioPackingMode; bool m_audioPackingModeHasBeenSet = false; AudioCodecOptions m_codecOptions; bool m_codecOptionsHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws