libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticTranscoder.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2012-09-25 of the Amazon Elastic Transcoder SDK configuration.

Errors

_IncompatibleVersionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for IncompatibleVersionException' errors.

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more required parameter values were not provided in the request.

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

General authentication failure. The request was not signed correctly.

_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Elastic Transcoder encountered an unexpected exception while trying to fulfill the request.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Too many operations for a given AWS account. For example, the number of pipelines exceeds the maximum allowed.

_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.

Artwork

data Artwork Source #

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20.

To remove artwork or leave the artwork empty, you can either set Artwork to null, or set the Merge Policy to "Replace" and use an empty Artwork array.

To pass through existing artwork unchanged, set the Merge Policy to "Prepend", "Append", or "Fallback", and use an empty Artwork array.

See: newArtwork smart constructor.

Constructors

Artwork' 

Fields

  • sizingPolicy :: Maybe Text

    Specify one of the following values to control scaling of the output album art:

    • Fit: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
    • Fill: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value.
    • Stretch: Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input art and the output art are different, the output art will be distorted.
    • Keep: Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output art.
    • ShrinkToFit: Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up.
    • ShrinkToFill Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.
  • albumArtFormat :: Maybe Text

    The format of album art, if any. Valid formats are .jpg and .png.

  • maxHeight :: Maybe Text

    The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

  • inputKey :: Maybe Text

    The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by PipelineId; the InputBucket object in that pipeline identifies the bucket.

    If the file name includes a prefix, for example, cooking/pie.jpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

  • paddingPolicy :: Maybe Text

    When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for MaxWidth and MaxHeight.

  • encryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.

  • maxWidth :: Maybe Text

    The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

Instances

Instances details
Eq Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Methods

(==) :: Artwork -> Artwork -> Bool #

(/=) :: Artwork -> Artwork -> Bool #

Read Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Show Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Generic Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Associated Types

type Rep Artwork :: Type -> Type #

Methods

from :: Artwork -> Rep Artwork x #

to :: Rep Artwork x -> Artwork #

NFData Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Methods

rnf :: Artwork -> () #

Hashable Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

Methods

hashWithSalt :: Int -> Artwork -> Int #

hash :: Artwork -> Int #

ToJSON Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

FromJSON Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

type Rep Artwork Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Artwork

type Rep Artwork = D1 ('MetaData "Artwork" "Amazonka.ElasticTranscoder.Types.Artwork" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Artwork'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sizingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "albumArtFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "inputKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "paddingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: S1 ('MetaSel ('Just "maxWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newArtwork :: Artwork Source #

Create a value of Artwork with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sizingPolicy:Artwork', artwork_sizingPolicy - Specify one of the following values to control scaling of the output album art:

  • Fit: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Fill: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input art and the output art are different, the output art will be distorted.
  • Keep: Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output art.
  • ShrinkToFit: Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up.
  • ShrinkToFill Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.

$sel:albumArtFormat:Artwork', artwork_albumArtFormat - The format of album art, if any. Valid formats are .jpg and .png.

$sel:maxHeight:Artwork', artwork_maxHeight - The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

$sel:inputKey:Artwork', artwork_inputKey - The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by PipelineId; the InputBucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, cooking/pie.jpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

$sel:paddingPolicy:Artwork', artwork_paddingPolicy - When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for MaxWidth and MaxHeight.

$sel:encryption:Artwork', artwork_encryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.

$sel:maxWidth:Artwork', artwork_maxWidth - The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

artwork_sizingPolicy :: Lens' Artwork (Maybe Text) Source #

Specify one of the following values to control scaling of the output album art:

  • Fit: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Fill: Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input art and the output art are different, the output art will be distorted.
  • Keep: Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output art.
  • ShrinkToFit: Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up.
  • ShrinkToFill Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.

artwork_albumArtFormat :: Lens' Artwork (Maybe Text) Source #

The format of album art, if any. Valid formats are .jpg and .png.

artwork_maxHeight :: Lens' Artwork (Maybe Text) Source #

The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.

artwork_inputKey :: Lens' Artwork (Maybe Text) Source #

The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by PipelineId; the InputBucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, cooking/pie.jpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

artwork_paddingPolicy :: Lens' Artwork (Maybe Text) Source #

When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for MaxWidth and MaxHeight.

artwork_encryption :: Lens' Artwork (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.

artwork_maxWidth :: Lens' Artwork (Maybe Text) Source #

The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.

AudioCodecOptions

data AudioCodecOptions Source #

Options associated with your audio codec.

See: newAudioCodecOptions smart constructor.

Constructors

AudioCodecOptions' 

Fields

  • signed :: Maybe Text

    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.

  • bitDepth :: Maybe Text

    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.

  • profile :: Maybe Text

    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:

    • auto: If you specify auto, Elastic Transcoder selects the profile based on the bit rate selected for the output file.
    • AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps.
    • HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps.
    • HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps.

    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.

  • bitOrder :: Maybe Text

    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.

Instances

Instances details
Eq AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

Read AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

Show AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

Generic AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

Associated Types

type Rep AudioCodecOptions :: Type -> Type #

NFData AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

Methods

rnf :: AudioCodecOptions -> () #

Hashable AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

ToJSON AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

FromJSON AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

type Rep AudioCodecOptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioCodecOptions

type Rep AudioCodecOptions = D1 ('MetaData "AudioCodecOptions" "Amazonka.ElasticTranscoder.Types.AudioCodecOptions" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "AudioCodecOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "signed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bitDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "profile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bitOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAudioCodecOptions :: AudioCodecOptions Source #

Create a value of AudioCodecOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:signed:AudioCodecOptions', 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.

$sel:bitDepth:AudioCodecOptions', 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.

$sel:profile:AudioCodecOptions', 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:

  • auto: If you specify auto, Elastic Transcoder selects the profile based on the bit rate selected for the output file.
  • AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps.
  • HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps.
  • HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps.

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.

$sel:bitOrder:AudioCodecOptions', 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.

audioCodecOptions_signed :: Lens' AudioCodecOptions (Maybe Text) Source #

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.

audioCodecOptions_bitDepth :: Lens' AudioCodecOptions (Maybe Text) Source #

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.

audioCodecOptions_profile :: Lens' AudioCodecOptions (Maybe Text) Source #

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:

  • auto: If you specify auto, Elastic Transcoder selects the profile based on the bit rate selected for the output file.
  • AAC-LC: The most common AAC profile. Use for bit rates larger than 64 kbps.
  • HE-AAC: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps.
  • HE-AACv2: Not supported on some players and devices. Use for bit rates less than 48 kbps.

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.

audioCodecOptions_bitOrder :: Lens' AudioCodecOptions (Maybe Text) Source #

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.

AudioParameters

data AudioParameters Source #

Parameters required for transcoding audio.

See: newAudioParameters smart constructor.

Constructors

AudioParameters' 

Fields

  • channels :: Maybe Text

    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.

  • codec :: Maybe Text

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

  • audioPackingMode :: Maybe Text

    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
  • sampleRate :: Maybe Text

    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 :: Maybe Text

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

  • codecOptions :: Maybe AudioCodecOptions

    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.

Instances

Instances details
Eq AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

Read AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

Show AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

Generic AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

Associated Types

type Rep AudioParameters :: Type -> Type #

NFData AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

Methods

rnf :: AudioParameters -> () #

Hashable AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

ToJSON AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

FromJSON AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

type Rep AudioParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.AudioParameters

type Rep AudioParameters = D1 ('MetaData "AudioParameters" "Amazonka.ElasticTranscoder.Types.AudioParameters" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "AudioParameters'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "codec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "audioPackingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bitRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codecOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AudioCodecOptions))))))

newAudioParameters :: AudioParameters Source #

Create a value of AudioParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:channels:AudioParameters', 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:

  • 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.

$sel:codec:AudioParameters', audioParameters_codec - The audio codec for the output file. Valid values include aac, flac, mp2, mp3, pcm, and vorbis.

$sel:audioPackingMode:AudioParameters', 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:

  • 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

$sel:sampleRate:AudioParameters', 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.

$sel:bitRate:AudioParameters', audioParameters_bitRate - The bit rate of the audio stream in the output file, in kilobits/second. Enter an integer between 64 and 320, inclusive.

$sel:codecOptions:AudioParameters', audioParameters_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.

audioParameters_channels :: Lens' AudioParameters (Maybe Text) Source #

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.

audioParameters_codec :: Lens' AudioParameters (Maybe Text) Source #

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

audioParameters_audioPackingMode :: Lens' AudioParameters (Maybe Text) Source #

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

audioParameters_sampleRate :: Lens' AudioParameters (Maybe Text) Source #

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.

audioParameters_bitRate :: Lens' AudioParameters (Maybe Text) Source #

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

audioParameters_codecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) Source #

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.

CaptionFormat

data CaptionFormat Source #

The file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error.

See: newCaptionFormat smart constructor.

Constructors

CaptionFormat' 

Fields

  • pattern' :: Maybe Text

    The prefix for caption filenames, in the form description-{language}, where:

    • description is a description of the video.
    • {language} is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names.

    If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends "{language}" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.

    For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.

  • format :: Maybe Text

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

    • Valid Embedded Caption Formats:

      • for FLAC: None
      • For MP3: None
      • For MP4: mov-text
      • For MPEG-TS: None
      • For ogg: None
      • For webm: None
    • Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

      • For FMP4: dfxp
      • Non-FMP4 outputs: All sidecar types

      fmp4 captions have an extension of .ismt

  • encryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.

Instances

Instances details
Eq CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

Read CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

Show CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

Generic CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

Associated Types

type Rep CaptionFormat :: Type -> Type #

NFData CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

Methods

rnf :: CaptionFormat -> () #

Hashable CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

ToJSON CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

FromJSON CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

type Rep CaptionFormat Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionFormat

type Rep CaptionFormat = D1 ('MetaData "CaptionFormat" "Amazonka.ElasticTranscoder.Types.CaptionFormat" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "CaptionFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)))))

newCaptionFormat :: CaptionFormat Source #

Create a value of CaptionFormat with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pattern':CaptionFormat', captionFormat_pattern - The prefix for caption filenames, in the form description-{language}, where:

  • description is a description of the video.
  • {language} is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names.

If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends "{language}" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.

For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.

$sel:format:CaptionFormat', captionFormat_format - The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.

  • Valid Embedded Caption Formats:

    • for FLAC: None
    • For MP3: None
    • For MP4: mov-text
    • For MPEG-TS: None
    • For ogg: None
    • For webm: None
  • Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

    • For FMP4: dfxp
    • Non-FMP4 outputs: All sidecar types

    fmp4 captions have an extension of .ismt

$sel:encryption:CaptionFormat', captionFormat_encryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.

captionFormat_pattern :: Lens' CaptionFormat (Maybe Text) Source #

The prefix for caption filenames, in the form description-{language}, where:

  • description is a description of the video.
  • {language} is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names.

If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends "{language}" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.

For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.

captionFormat_format :: Lens' CaptionFormat (Maybe Text) Source #

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

  • Valid Embedded Caption Formats:

    • for FLAC: None
    • For MP3: None
    • For MP4: mov-text
    • For MPEG-TS: None
    • For ogg: None
    • For webm: None
  • Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

    • For FMP4: dfxp
    • Non-FMP4 outputs: All sidecar types

    fmp4 captions have an extension of .ismt

captionFormat_encryption :: Lens' CaptionFormat (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.

CaptionSource

data CaptionSource Source #

A source file for the input sidecar captions used during the transcoding process.

See: newCaptionSource smart constructor.

Constructors

CaptionSource' 

Fields

  • timeOffset :: Maybe Text

    For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions.

    Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.

  • encryption :: Maybe Encryption

    The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.

  • key :: Maybe Text

    The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.

  • language :: Maybe Text

    A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:

    • 2-character ISO 639-1 code
    • 3-character ISO 639-2 code

    For more information on ISO language codes and language names, see the List of ISO 639-1 codes.

  • label :: Maybe Text

    The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.

Instances

Instances details
Eq CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

Read CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

Show CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

Generic CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

Associated Types

type Rep CaptionSource :: Type -> Type #

NFData CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

Methods

rnf :: CaptionSource -> () #

Hashable CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

ToJSON CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

FromJSON CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

type Rep CaptionSource Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CaptionSource

type Rep CaptionSource = D1 ('MetaData "CaptionSource" "Amazonka.ElasticTranscoder.Types.CaptionSource" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "CaptionSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timeOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCaptionSource :: CaptionSource Source #

Create a value of CaptionSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timeOffset:CaptionSource', captionSource_timeOffset - For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions.

Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.

$sel:encryption:CaptionSource', captionSource_encryption - The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.

$sel:key:CaptionSource', captionSource_key - The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.

$sel:language:CaptionSource', captionSource_language - A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:

  • 2-character ISO 639-1 code
  • 3-character ISO 639-2 code

For more information on ISO language codes and language names, see the List of ISO 639-1 codes.

$sel:label:CaptionSource', captionSource_label - The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.

captionSource_timeOffset :: Lens' CaptionSource (Maybe Text) Source #

For clip generation or captions that do not start at the same time as the associated video file, the TimeOffset tells Elastic Transcoder how much of the video to encode before including captions.

Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.

captionSource_encryption :: Lens' CaptionSource (Maybe Encryption) Source #

The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.

captionSource_key :: Lens' CaptionSource (Maybe Text) Source #

The name of the sidecar caption file that you want Elastic Transcoder to include in the output file.

captionSource_language :: Lens' CaptionSource (Maybe Text) Source #

A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:

  • 2-character ISO 639-1 code
  • 3-character ISO 639-2 code

For more information on ISO language codes and language names, see the List of ISO 639-1 codes.

captionSource_label :: Lens' CaptionSource (Maybe Text) Source #

The label of the caption shown in the player when choosing a language. We recommend that you put the caption language name here, in the language of the captions.

Captions

data Captions Source #

The captions to be created, if any.

See: newCaptions smart constructor.

Constructors

Captions' 

Fields

  • mergePolicy :: Maybe Text

    A policy that determines how Elastic Transcoder handles the existence of multiple captions.

    • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
    • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
    • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

    MergePolicy cannot be null.

  • captionSources :: Maybe [CaptionSource]

    Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

  • captionFormats :: Maybe [CaptionFormat]

    The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.

Instances

Instances details
Eq Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Read Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Show Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Generic Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Associated Types

type Rep Captions :: Type -> Type #

Methods

from :: Captions -> Rep Captions x #

to :: Rep Captions x -> Captions #

NFData Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Methods

rnf :: Captions -> () #

Hashable Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

Methods

hashWithSalt :: Int -> Captions -> Int #

hash :: Captions -> Int #

ToJSON Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

FromJSON Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

type Rep Captions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Captions

type Rep Captions = D1 ('MetaData "Captions" "Amazonka.ElasticTranscoder.Types.Captions" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Captions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "captionSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CaptionSource])) :*: S1 ('MetaSel ('Just "captionFormats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CaptionFormat])))))

newCaptions :: Captions Source #

Create a value of Captions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:mergePolicy:Captions', captions_mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.

$sel:captionSources:Captions', captions_captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

$sel:captionFormats:Captions', captions_captionFormats - The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.

captions_mergePolicy :: Lens' Captions (Maybe Text) Source #

A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.

captions_captionSources :: Lens' Captions (Maybe [CaptionSource]) Source #

Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

captions_captionFormats :: Lens' Captions (Maybe [CaptionFormat]) Source #

The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.

Clip

data Clip Source #

Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.

See: newClip smart constructor.

Constructors

Clip' 

Fields

Instances

Instances details
Eq Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Methods

(==) :: Clip -> Clip -> Bool #

(/=) :: Clip -> Clip -> Bool #

Read Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Show Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Methods

showsPrec :: Int -> Clip -> ShowS #

show :: Clip -> String #

showList :: [Clip] -> ShowS #

Generic Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Associated Types

type Rep Clip :: Type -> Type #

Methods

from :: Clip -> Rep Clip x #

to :: Rep Clip x -> Clip #

NFData Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Methods

rnf :: Clip -> () #

Hashable Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

Methods

hashWithSalt :: Int -> Clip -> Int #

hash :: Clip -> Int #

ToJSON Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

FromJSON Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

type Rep Clip Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Clip

type Rep Clip = D1 ('MetaData "Clip" "Amazonka.ElasticTranscoder.Types.Clip" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Clip'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeSpan))))

newClip :: Clip Source #

Create a value of Clip with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timeSpan:Clip', clip_timeSpan - Settings that determine when a clip begins and how long it lasts.

clip_timeSpan :: Lens' Clip (Maybe TimeSpan) Source #

Settings that determine when a clip begins and how long it lasts.

CreateJobOutput

data CreateJobOutput Source #

The CreateJobOutput structure.

See: newCreateJobOutput smart constructor.

Constructors

CreateJobOutput' 

Fields

  • thumbnailPattern :: Maybe Text

    Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

    If you don't want Elastic Transcoder to create thumbnails, specify "".

    If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

    • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

      If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

    • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
    • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

    When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

  • captions :: Maybe Captions

    You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

    • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

      Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

      Valid outputs include: mov-text

      Elastic Transcoder supports a maximum of one embedded format per output.

    • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

      Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

      Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

    If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

    Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

    To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

    For more information on embedded files, see the Subtitles Wikipedia page.

    For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

  • presetId :: Maybe Text

    The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

  • composition :: Maybe [Clip]

    You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

  • albumArt :: Maybe JobAlbumArt

    Information about the album art that you want Elastic Transcoder to add to the file during transcoding. You can specify up to twenty album artworks for each output. Settings for each artwork must be defined in the job for the current output.

  • watermarks :: Maybe [JobWatermark]

    Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

  • encryption :: Maybe Encryption

    You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.

  • key :: Maybe Text

    The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

  • segmentDuration :: Maybe Text

    (Outputs in Fragmented MP4 or MPEG-TS format only.

    If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

    The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

    Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

  • thumbnailEncryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

  • rotate :: Maybe Text

    The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto, 0, 90, 180, 270. The value auto generally works only if the file that you're transcoding contains rotation metadata.

Instances

Instances details
Eq CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

Read CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

Show CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

Generic CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

Associated Types

type Rep CreateJobOutput :: Type -> Type #

NFData CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

Methods

rnf :: CreateJobOutput -> () #

Hashable CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

ToJSON CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

type Rep CreateJobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobOutput

type Rep CreateJobOutput = D1 ('MetaData "CreateJobOutput" "Amazonka.ElasticTranscoder.Types.CreateJobOutput" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "CreateJobOutput'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "thumbnailPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "captions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Captions))) :*: (S1 ('MetaSel ('Just "presetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "composition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Clip])) :*: S1 ('MetaSel ('Just "albumArt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobAlbumArt))))) :*: ((S1 ('MetaSel ('Just "watermarks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobWatermark])) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "segmentDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "thumbnailEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: S1 ('MetaSel ('Just "rotate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newCreateJobOutput :: CreateJobOutput Source #

Create a value of CreateJobOutput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:thumbnailPattern:CreateJobOutput', createJobOutput_thumbnailPattern - Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify "".

If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

  • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

    If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

  • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
  • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

$sel:captions:CreateJobOutput', createJobOutput_captions - You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

$sel:presetId:CreateJobOutput', createJobOutput_presetId - The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

$sel:composition:CreateJobOutput', createJobOutput_composition - You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

$sel:albumArt:CreateJobOutput', createJobOutput_albumArt - Information about the album art that you want Elastic Transcoder to add to the file during transcoding. You can specify up to twenty album artworks for each output. Settings for each artwork must be defined in the job for the current output.

$sel:watermarks:CreateJobOutput', createJobOutput_watermarks - Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

$sel:encryption:CreateJobOutput', createJobOutput_encryption - You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.

$sel:key:CreateJobOutput', createJobOutput_key - The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

$sel:segmentDuration:CreateJobOutput', createJobOutput_segmentDuration - (Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

$sel:thumbnailEncryption:CreateJobOutput', createJobOutput_thumbnailEncryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

$sel:rotate:CreateJobOutput', createJobOutput_rotate - The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto, 0, 90, 180, 270. The value auto generally works only if the file that you're transcoding contains rotation metadata.

createJobOutput_thumbnailPattern :: Lens' CreateJobOutput (Maybe Text) Source #

Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify "".

If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

  • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

    If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

  • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
  • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

createJobOutput_captions :: Lens' CreateJobOutput (Maybe Captions) Source #

You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

createJobOutput_presetId :: Lens' CreateJobOutput (Maybe Text) Source #

The Id of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.

createJobOutput_composition :: Lens' CreateJobOutput (Maybe [Clip]) Source #

You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

createJobOutput_albumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) Source #

Information about the album art that you want Elastic Transcoder to add to the file during transcoding. You can specify up to twenty album artworks for each output. Settings for each artwork must be defined in the job for the current output.

createJobOutput_watermarks :: Lens' CreateJobOutput (Maybe [JobWatermark]) Source #

Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.

createJobOutput_encryption :: Lens' CreateJobOutput (Maybe Encryption) Source #

You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.

createJobOutput_key :: Lens' CreateJobOutput (Maybe Text) Source #

The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.

createJobOutput_segmentDuration :: Lens' CreateJobOutput (Maybe Text) Source #

(Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

createJobOutput_thumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

createJobOutput_rotate :: Lens' CreateJobOutput (Maybe Text) Source #

The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto, 0, 90, 180, 270. The value auto generally works only if the file that you're transcoding contains rotation metadata.

CreateJobPlaylist

data CreateJobPlaylist Source #

Information about the master playlist.

See: newCreateJobPlaylist smart constructor.

Constructors

CreateJobPlaylist' 

Fields

  • playReadyDrm :: Maybe PlayReadyDrm

    The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

  • format :: Maybe Text

    The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

  • outputKeys :: Maybe [Text]

    For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

    • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

      OutputKeyPrefixOutputs:Key

    • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

      OutputKeyPrefixOutputs:Key.m3u8

      OutputKeyPrefixOutputs:Key00000.ts

    • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

      OutputKeyPrefixOutputs:Key_v4.m3u8

      OutputKeyPrefixOutputs:Key_iframe.m3u8

      OutputKeyPrefixOutputs:Key.ts

    Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

    If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

  • name :: Maybe Text

    The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

    Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

  • hlsContentProtection :: Maybe HlsContentProtection

    The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

Instances

Instances details
Eq CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

Read CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

Show CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

Generic CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

Associated Types

type Rep CreateJobPlaylist :: Type -> Type #

NFData CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

Methods

rnf :: CreateJobPlaylist -> () #

Hashable CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

ToJSON CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

type Rep CreateJobPlaylist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.CreateJobPlaylist

type Rep CreateJobPlaylist = D1 ('MetaData "CreateJobPlaylist" "Amazonka.ElasticTranscoder.Types.CreateJobPlaylist" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "CreateJobPlaylist'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "playReadyDrm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlayReadyDrm)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "outputKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hlsContentProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsContentProtection))))))

newCreateJobPlaylist :: CreateJobPlaylist Source #

Create a value of CreateJobPlaylist with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:playReadyDrm:CreateJobPlaylist', createJobPlaylist_playReadyDrm - The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

$sel:format:CreateJobPlaylist', createJobPlaylist_format - The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

$sel:outputKeys:CreateJobPlaylist', createJobPlaylist_outputKeys - For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

  • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

    OutputKeyPrefixOutputs:Key

  • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

    OutputKeyPrefixOutputs:Key.m3u8

    OutputKeyPrefixOutputs:Key00000.ts

  • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

    OutputKeyPrefixOutputs:Key_v4.m3u8

    OutputKeyPrefixOutputs:Key_iframe.m3u8

    OutputKeyPrefixOutputs:Key.ts

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

$sel:name:CreateJobPlaylist', createJobPlaylist_name - The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

$sel:hlsContentProtection:CreateJobPlaylist', createJobPlaylist_hlsContentProtection - The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

createJobPlaylist_playReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) Source #

The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

createJobPlaylist_format :: Lens' CreateJobPlaylist (Maybe Text) Source #

The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

createJobPlaylist_outputKeys :: Lens' CreateJobPlaylist (Maybe [Text]) Source #

For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

  • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

    OutputKeyPrefixOutputs:Key

  • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

    OutputKeyPrefixOutputs:Key.m3u8

    OutputKeyPrefixOutputs:Key00000.ts

  • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

    OutputKeyPrefixOutputs:Key_v4.m3u8

    OutputKeyPrefixOutputs:Key_iframe.m3u8

    OutputKeyPrefixOutputs:Key.ts

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

createJobPlaylist_name :: Lens' CreateJobPlaylist (Maybe Text) Source #

The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

createJobPlaylist_hlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) Source #

The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

DetectedProperties

data DetectedProperties Source #

The detected properties of the input file. Elastic Transcoder identifies these values from the input file.

See: newDetectedProperties smart constructor.

Constructors

DetectedProperties' 

Fields

Instances

Instances details
Eq DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

Read DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

Show DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

Generic DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

Associated Types

type Rep DetectedProperties :: Type -> Type #

NFData DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

Methods

rnf :: DetectedProperties -> () #

Hashable DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

ToJSON DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

FromJSON DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

type Rep DetectedProperties Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.DetectedProperties

type Rep DetectedProperties = D1 ('MetaData "DetectedProperties" "Amazonka.ElasticTranscoder.Types.DetectedProperties" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "DetectedProperties'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "frameRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "durationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newDetectedProperties :: DetectedProperties Source #

Create a value of DetectedProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:height:DetectedProperties', detectedProperties_height - The detected height of the input file, in pixels.

$sel:frameRate:DetectedProperties', detectedProperties_frameRate - The detected frame rate of the input file, in frames per second.

$sel:fileSize:DetectedProperties', detectedProperties_fileSize - The detected file size of the input file, in bytes.

$sel:width:DetectedProperties', detectedProperties_width - The detected width of the input file, in pixels.

$sel:durationMillis:DetectedProperties', detectedProperties_durationMillis - The detected duration of the input file, in milliseconds.

detectedProperties_height :: Lens' DetectedProperties (Maybe Int) Source #

The detected height of the input file, in pixels.

detectedProperties_frameRate :: Lens' DetectedProperties (Maybe Text) Source #

The detected frame rate of the input file, in frames per second.

detectedProperties_fileSize :: Lens' DetectedProperties (Maybe Integer) Source #

The detected file size of the input file, in bytes.

detectedProperties_width :: Lens' DetectedProperties (Maybe Int) Source #

The detected width of the input file, in pixels.

detectedProperties_durationMillis :: Lens' DetectedProperties (Maybe Integer) Source #

The detected duration of the input file, in milliseconds.

Encryption

data Encryption Source #

The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.

See: newEncryption smart constructor.

Constructors

Encryption' 

Fields

  • mode :: Maybe Text

    The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:

    • s3: Amazon S3 creates and manages the keys used for encrypting your files.
    • s3-aws-kms: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify s3-aws-kms and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.
    • aes-cbc-pkcs7: A padded cipher-block mode of operation originally used for HLS files.
    • aes-ctr: AES Counter Mode.
    • aes-gcm: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process.

    For all three AES options, you must provide the following settings, which must be base64-encoded:

    • Key
    • Key MD5
    • Initialization Vector

    For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.

  • keyMd5 :: Maybe Text

    The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

  • key :: Maybe Text

    The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:

    128, 192, or 256.

    The key must also be encrypted by using the Amazon Key Management Service.

  • initializationVector :: Maybe Text

    The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

Instances

Instances details
Eq Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

Read Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

Show Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

Generic Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

Associated Types

type Rep Encryption :: Type -> Type #

NFData Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

Methods

rnf :: Encryption -> () #

Hashable Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

ToJSON Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

FromJSON Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

type Rep Encryption Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Encryption

type Rep Encryption = D1 ('MetaData "Encryption" "Amazonka.ElasticTranscoder.Types.Encryption" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Encryption'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyMd5") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEncryption :: Encryption Source #

Create a value of Encryption with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:mode:Encryption', encryption_mode - The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:

  • s3: Amazon S3 creates and manages the keys used for encrypting your files.
  • s3-aws-kms: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify s3-aws-kms and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.
  • aes-cbc-pkcs7: A padded cipher-block mode of operation originally used for HLS files.
  • aes-ctr: AES Counter Mode.
  • aes-gcm: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process.

For all three AES options, you must provide the following settings, which must be base64-encoded:

  • Key
  • Key MD5
  • Initialization Vector

For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.

$sel:keyMd5:Encryption', encryption_keyMd5 - The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

$sel:key:Encryption', encryption_key - The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using the Amazon Key Management Service.

$sel:initializationVector:Encryption', encryption_initializationVector - The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

encryption_mode :: Lens' Encryption (Maybe Text) Source #

The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:

  • s3: Amazon S3 creates and manages the keys used for encrypting your files.
  • s3-aws-kms: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify s3-aws-kms and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.
  • aes-cbc-pkcs7: A padded cipher-block mode of operation originally used for HLS files.
  • aes-ctr: AES Counter Mode.
  • aes-gcm: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process.

For all three AES options, you must provide the following settings, which must be base64-encoded:

  • Key
  • Key MD5
  • Initialization Vector

For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.

encryption_keyMd5 :: Lens' Encryption (Maybe Text) Source #

The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

encryption_key :: Lens' Encryption (Maybe Text) Source #

The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using the Amazon Key Management Service.

encryption_initializationVector :: Lens' Encryption (Maybe Text) Source #

The series of random bits created by a random bit generator, unique for every encryption operation, that you used to encrypt your input files or that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.

HlsContentProtection

data HlsContentProtection Source #

The HLS content protection settings, if any, that you want Elastic Transcoder to apply to your output files.

See: newHlsContentProtection smart constructor.

Constructors

HlsContentProtection' 

Fields

  • keyMd5 :: Maybe Text

    If Elastic Transcoder is generating your key for you, you must leave this field blank.

    The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded.

  • keyStoragePolicy :: Maybe Text

    Specify whether you want Elastic Transcoder to write your HLS license key to an Amazon S3 bucket. If you choose WithVariantPlaylists, LicenseAcquisitionUrl must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist.

  • key :: Maybe Text

    If you want Elastic Transcoder to generate a key for you, leave this field blank.

    If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

    128, 192, or 256.

  • method :: Maybe Text

    The content protection method for your output. The only valid value is: aes-128.

    This value is written into the method attribute of the EXT-X-KEY metadata tag in the output playlist.

  • initializationVector :: Maybe Text

    If Elastic Transcoder is generating your key for you, you must leave this field blank.

    The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

  • licenseAcquisitionUrl :: Maybe Text

    The location of the license key required to decrypt your HLS playlist. The URL must be an absolute path, and is referenced in the URI attribute of the EXT-X-KEY metadata tag in the playlist file.

Instances

Instances details
Eq HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

Read HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

Show HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

Generic HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

Associated Types

type Rep HlsContentProtection :: Type -> Type #

NFData HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

Methods

rnf :: HlsContentProtection -> () #

Hashable HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

ToJSON HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

FromJSON HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

type Rep HlsContentProtection Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.HlsContentProtection

type Rep HlsContentProtection = D1 ('MetaData "HlsContentProtection" "Amazonka.ElasticTranscoder.Types.HlsContentProtection" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "HlsContentProtection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyMd5") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keyStoragePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "initializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseAcquisitionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newHlsContentProtection :: HlsContentProtection Source #

Create a value of HlsContentProtection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:keyMd5:HlsContentProtection', hlsContentProtection_keyMd5 - If Elastic Transcoder is generating your key for you, you must leave this field blank.

The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded.

$sel:keyStoragePolicy:HlsContentProtection', hlsContentProtection_keyStoragePolicy - Specify whether you want Elastic Transcoder to write your HLS license key to an Amazon S3 bucket. If you choose WithVariantPlaylists, LicenseAcquisitionUrl must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist.

$sel:key:HlsContentProtection', hlsContentProtection_key - If you want Elastic Transcoder to generate a key for you, leave this field blank.

If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

$sel:method:HlsContentProtection', hlsContentProtection_method - The content protection method for your output. The only valid value is: aes-128.

This value is written into the method attribute of the EXT-X-KEY metadata tag in the output playlist.

$sel:initializationVector:HlsContentProtection', hlsContentProtection_initializationVector - If Elastic Transcoder is generating your key for you, you must leave this field blank.

The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

$sel:licenseAcquisitionUrl:HlsContentProtection', hlsContentProtection_licenseAcquisitionUrl - The location of the license key required to decrypt your HLS playlist. The URL must be an absolute path, and is referenced in the URI attribute of the EXT-X-KEY metadata tag in the playlist file.

hlsContentProtection_keyMd5 :: Lens' HlsContentProtection (Maybe Text) Source #

If Elastic Transcoder is generating your key for you, you must leave this field blank.

The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded.

hlsContentProtection_keyStoragePolicy :: Lens' HlsContentProtection (Maybe Text) Source #

Specify whether you want Elastic Transcoder to write your HLS license key to an Amazon S3 bucket. If you choose WithVariantPlaylists, LicenseAcquisitionUrl must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist.

hlsContentProtection_key :: Lens' HlsContentProtection (Maybe Text) Source #

If you want Elastic Transcoder to generate a key for you, leave this field blank.

If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

hlsContentProtection_method :: Lens' HlsContentProtection (Maybe Text) Source #

The content protection method for your output. The only valid value is: aes-128.

This value is written into the method attribute of the EXT-X-KEY metadata tag in the output playlist.

hlsContentProtection_initializationVector :: Lens' HlsContentProtection (Maybe Text) Source #

If Elastic Transcoder is generating your key for you, you must leave this field blank.

The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your output files. The initialization vector must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

hlsContentProtection_licenseAcquisitionUrl :: Lens' HlsContentProtection (Maybe Text) Source #

The location of the license key required to decrypt your HLS playlist. The URL must be an absolute path, and is referenced in the URI attribute of the EXT-X-KEY metadata tag in the playlist file.

InputCaptions

data InputCaptions Source #

The captions to be created, if any.

See: newInputCaptions smart constructor.

Constructors

InputCaptions' 

Fields

  • mergePolicy :: Maybe Text

    A policy that determines how Elastic Transcoder handles the existence of multiple captions.

    • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
    • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
    • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

    MergePolicy cannot be null.

  • captionSources :: Maybe [CaptionSource]

    Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

Instances

Instances details
Eq InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Read InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Show InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Generic InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Associated Types

type Rep InputCaptions :: Type -> Type #

NFData InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Methods

rnf :: InputCaptions -> () #

Hashable InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

ToJSON InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

FromJSON InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

type Rep InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

type Rep InputCaptions = D1 ('MetaData "InputCaptions" "Amazonka.ElasticTranscoder.Types.InputCaptions" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "InputCaptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "captionSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CaptionSource]))))

newInputCaptions :: InputCaptions Source #

Create a value of InputCaptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:mergePolicy:InputCaptions', inputCaptions_mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.

$sel:captionSources:InputCaptions', inputCaptions_captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

inputCaptions_mergePolicy :: Lens' InputCaptions (Maybe Text) Source #

A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.

inputCaptions_captionSources :: Lens' InputCaptions (Maybe [CaptionSource]) Source #

Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

Job

data Job Source #

A section of the response body that provides information about the job that is created.

See: newJob smart constructor.

Constructors

Job' 

Fields

  • status :: Maybe Text

    The status of the job: Submitted, Progressing, Complete, Canceled, or Error.

  • pipelineId :: Maybe Text

    The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the job.

  • inputs :: Maybe [JobInput]

    Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output.

  • input :: Maybe JobInput

    A section of the request or response body that provides information about the file that is being transcoded.

  • userMetadata :: Maybe (HashMap Text Text)

    User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them.

    Metadata keys and values must use characters from the following list:

    • 0-9
    • A-Z and a-z
    • Space
    • The following symbols: _.:/=+-%@
  • outputs :: Maybe [JobOutput]

    Information about the output files. We recommend that you use the Outputs syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs and Output syntaxes in the same request. You can create a maximum of 30 outputs per job.

    If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

  • output :: Maybe JobOutput

    If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

    Outputs recommended instead.

    A section of the request or response body that provides information about the transcoded (target) file.

  • id :: Maybe Text

    The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

  • playlists :: Maybe [Playlist]

    Outputs in Fragmented MP4 or MPEG-TS format only.

    If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

    The maximum number of master playlists in a job is 30.

  • outputKeyPrefix :: Maybe Text

    The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the OutputKeyPrefix.

  • timing :: Maybe Timing

    Details about the timing of a job.

Instances

Instances details
Eq Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

Read Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Show Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

NFData Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Methods

rnf :: Job -> () #

Hashable Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

FromJSON Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

type Rep Job Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Job

type Rep Job = D1 ('MetaData "Job" "Amazonka.ElasticTranscoder.Types.Job" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pipelineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobInput])) :*: (S1 ('MetaSel ('Just "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobInput)) :*: S1 ('MetaSel ('Just "userMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobOutput])) :*: (S1 ('MetaSel ('Just "output") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobOutput)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "playlists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Playlist])) :*: (S1 ('MetaSel ('Just "outputKeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Timing)))))))

newJob :: Job Source #

Create a value of Job with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Job', job_status - The status of the job: Submitted, Progressing, Complete, Canceled, or Error.

$sel:pipelineId:Job', job_pipelineId - The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

$sel:arn:Job', job_arn - The Amazon Resource Name (ARN) for the job.

$sel:inputs:Job', job_inputs - Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output.

$sel:input:Job', job_input - A section of the request or response body that provides information about the file that is being transcoded.

$sel:userMetadata:Job', job_userMetadata - User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them.

Metadata keys and values must use characters from the following list:

  • 0-9
  • A-Z and a-z
  • Space
  • The following symbols: _.:/=+-%@

$sel:outputs:Job', job_outputs - Information about the output files. We recommend that you use the Outputs syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs and Output syntaxes in the same request. You can create a maximum of 30 outputs per job.

If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

$sel:output:Job', job_output - If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

Outputs recommended instead.

A section of the request or response body that provides information about the transcoded (target) file.

$sel:id:Job', job_id - The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

$sel:playlists:Job', job_playlists - Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

The maximum number of master playlists in a job is 30.

$sel:outputKeyPrefix:Job', job_outputKeyPrefix - The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the OutputKeyPrefix.

$sel:timing:Job', job_timing - Details about the timing of a job.

job_status :: Lens' Job (Maybe Text) Source #

The status of the job: Submitted, Progressing, Complete, Canceled, or Error.

job_pipelineId :: Lens' Job (Maybe Text) Source #

The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

job_arn :: Lens' Job (Maybe Text) Source #

The Amazon Resource Name (ARN) for the job.

job_inputs :: Lens' Job (Maybe [JobInput]) Source #

Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output.

job_input :: Lens' Job (Maybe JobInput) Source #

A section of the request or response body that provides information about the file that is being transcoded.

job_userMetadata :: Lens' Job (Maybe (HashMap Text Text)) Source #

User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them.

Metadata keys and values must use characters from the following list:

  • 0-9
  • A-Z and a-z
  • Space
  • The following symbols: _.:/=+-%@

job_outputs :: Lens' Job (Maybe [JobOutput]) Source #

Information about the output files. We recommend that you use the Outputs syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs and Output syntaxes in the same request. You can create a maximum of 30 outputs per job.

If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.

job_output :: Lens' Job (Maybe JobOutput) Source #

If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

Outputs recommended instead.

A section of the request or response body that provides information about the transcoded (target) file.

job_id :: Lens' Job (Maybe Text) Source #

The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

job_playlists :: Lens' Job (Maybe [Playlist]) Source #

Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

The maximum number of master playlists in a job is 30.

job_outputKeyPrefix :: Lens' Job (Maybe Text) Source #

The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the OutputKeyPrefix.

job_timing :: Lens' Job (Maybe Timing) Source #

Details about the timing of a job.

JobAlbumArt

data JobAlbumArt Source #

The .jpg or .png file associated with an audio file.

See: newJobAlbumArt smart constructor.

Constructors

JobAlbumArt' 

Fields

  • mergePolicy :: Maybe Text

    A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

    • Replace: The specified album art replaces any existing album art.
    • Prepend: The specified album art is placed in front of any existing album art.
    • Append: The specified album art is placed after any existing album art.
    • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.
  • artwork :: Maybe [Artwork]

    The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

Instances

Instances details
Eq JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Read JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Show JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Generic JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Associated Types

type Rep JobAlbumArt :: Type -> Type #

NFData JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Methods

rnf :: JobAlbumArt -> () #

Hashable JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

ToJSON JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

FromJSON JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

type Rep JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

type Rep JobAlbumArt = D1 ('MetaData "JobAlbumArt" "Amazonka.ElasticTranscoder.Types.JobAlbumArt" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "JobAlbumArt'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "artwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artwork]))))

newJobAlbumArt :: JobAlbumArt Source #

Create a value of JobAlbumArt with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:mergePolicy:JobAlbumArt', jobAlbumArt_mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.
  • Prepend: The specified album art is placed in front of any existing album art.
  • Append: The specified album art is placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

$sel:artwork:JobAlbumArt', jobAlbumArt_artwork - The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

jobAlbumArt_mergePolicy :: Lens' JobAlbumArt (Maybe Text) Source #

A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.
  • Prepend: The specified album art is placed in front of any existing album art.
  • Append: The specified album art is placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

jobAlbumArt_artwork :: Lens' JobAlbumArt (Maybe [Artwork]) Source #

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

JobInput

data JobInput Source #

Information about the file that you're transcoding.

See: newJobInput smart constructor.

Constructors

JobInput' 

Fields

  • frameRate :: Maybe Text

    The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:

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

    If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame rate.

  • resolution :: Maybe Text

    This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of the input file.

  • aspectRatio :: Maybe Text

    The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

    If you specify a value other than auto, Elastic Transcoder disables automatic detection of the aspect ratio.

  • timeSpan :: Maybe TimeSpan

    Settings for clipping an input. Each input can have different clip settings.

  • encryption :: Maybe Encryption

    The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file.

  • key :: Maybe Text

    The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

    If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

  • detectedProperties :: Maybe DetectedProperties

    The detected properties of the input file.

  • container :: Maybe Text

    The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:

    3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, vob, wav, webm

  • interlaced :: Maybe Text

    Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:

    true, false

    If you specify a value other than auto, Elastic Transcoder disables automatic detection of interlacing.

  • inputCaptions :: Maybe InputCaptions

    You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

    • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

      Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

      Valid outputs include: mov-text

      Elastic Transcoder supports a maximum of one embedded format per output.

    • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

      Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

      Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

    If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

    Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

    To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

    For more information on embedded files, see the Subtitles Wikipedia page.

    For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

Instances

Instances details
Eq JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Read JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Show JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Generic JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Associated Types

type Rep JobInput :: Type -> Type #

Methods

from :: JobInput -> Rep JobInput x #

to :: Rep JobInput x -> JobInput #

NFData JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Methods

rnf :: JobInput -> () #

Hashable JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

Methods

hashWithSalt :: Int -> JobInput -> Int #

hash :: JobInput -> Int #

ToJSON JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

FromJSON JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

type Rep JobInput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobInput

newJobInput :: JobInput Source #

Create a value of JobInput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:frameRate:JobInput', jobInput_frameRate - The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:

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

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame rate.

$sel:resolution:JobInput', jobInput_resolution - This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of the input file.

$sel:aspectRatio:JobInput', jobInput_aspectRatio - The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the aspect ratio.

$sel:timeSpan:JobInput', jobInput_timeSpan - Settings for clipping an input. Each input can have different clip settings.

$sel:encryption:JobInput', jobInput_encryption - The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file.

$sel:key:JobInput', jobInput_key - The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

$sel:detectedProperties:JobInput', jobInput_detectedProperties - The detected properties of the input file.

$sel:container:JobInput', jobInput_container - The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:

3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, vob, wav, webm

$sel:interlaced:JobInput', jobInput_interlaced - Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:

true, false

If you specify a value other than auto, Elastic Transcoder disables automatic detection of interlacing.

$sel:inputCaptions:JobInput', jobInput_inputCaptions - You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

jobInput_frameRate :: Lens' JobInput (Maybe Text) Source #

The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto. If you want to specify the frame rate for the input file, enter one of the following values:

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

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the frame rate.

jobInput_resolution :: Lens' JobInput (Maybe Text) Source #

This value must be auto, which causes Elastic Transcoder to automatically detect the resolution of the input file.

jobInput_aspectRatio :: Lens' JobInput (Maybe Text) Source #

The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto. If you want to specify the aspect ratio for the output file, enter one of the following values:

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

If you specify a value other than auto, Elastic Transcoder disables automatic detection of the aspect ratio.

jobInput_timeSpan :: Lens' JobInput (Maybe TimeSpan) Source #

Settings for clipping an input. Each input can have different clip settings.

jobInput_encryption :: Lens' JobInput (Maybe Encryption) Source #

The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file.

jobInput_key :: Lens' JobInput (Maybe Text) Source #

The name of the file to transcode. Elsewhere in the body of the JSON block is the the ID of the pipeline to use for processing the job. The InputBucket object in that pipeline tells Elastic Transcoder which Amazon S3 bucket to get the file from.

If the file name includes a prefix, such as cooking/lasagna.mpg, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

jobInput_detectedProperties :: Lens' JobInput (Maybe DetectedProperties) Source #

The detected properties of the input file.

jobInput_container :: Lens' JobInput (Maybe Text) Source #

The container type for the input file. If you want Elastic Transcoder to automatically detect the container type of the input file, specify auto. If you want to specify the container type for the input file, enter one of the following values:

3gp, aac, asf, avi, divx, flv, m4a, mkv, mov, mp3, mp4, mpeg, mpeg-ps, mpeg-ts, mxf, ogg, vob, wav, webm

jobInput_interlaced :: Lens' JobInput (Maybe Text) Source #

Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto. If you want to specify whether the input file is interlaced, enter one of the following values:

true, false

If you specify a value other than auto, Elastic Transcoder disables automatic detection of interlacing.

jobInput_inputCaptions :: Lens' JobInput (Maybe InputCaptions) Source #

You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

JobOutput

data JobOutput Source #

Outputs recommended instead.

If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

See: newJobOutput smart constructor.

Constructors

JobOutput' 

Fields

  • appliedColorSpaceConversion :: Maybe Text

    If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode the output file, the AppliedColorSpaceConversion parameter shows the conversion used. If no ColorSpaceConversionMode was defined in the preset, this parameter is not be included in the job response.

  • thumbnailPattern :: Maybe Text

    Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

    If you don't want Elastic Transcoder to create thumbnails, specify "".

    If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

    • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

      If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

    • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
    • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

    When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

  • status :: Maybe Text

    The status of one output in a job. If you specified only one output for the job, Outputs:Status is always the same as Job:Status. If you specified more than one output:

    • Job:Status and Outputs:Status for all of the outputs is Submitted until Elastic Transcoder starts to process the first output.
    • When Elastic Transcoder starts to process the first output, Outputs:Status for that output and Job:Status both change to Progressing. For each output, the value of Outputs:Status remains Submitted until Elastic Transcoder starts to process the output.
    • Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
    • When all of the outputs reach a terminal status, Job:Status changes to Complete only if Outputs:Status for all of the outputs is Complete. If Outputs:Status for one or more outputs is Error, the terminal status for Job:Status is also Error.

    The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

  • height :: Maybe Int

    Height of the output file, in pixels.

  • frameRate :: Maybe Text

    Frame rate of the output file, in frames per second.

  • captions :: Maybe Captions

    You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

    • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

      Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

      Valid outputs include: mov-text

      Elastic Transcoder supports a maximum of one embedded format per output.

    • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

      Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

      Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

    If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

    Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

    To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

    For more information on embedded files, see the Subtitles Wikipedia page.

    For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

  • presetId :: Maybe Text

    The value of the Id object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with ListPresets.

  • composition :: Maybe [Clip]

    You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

  • albumArt :: Maybe JobAlbumArt

    The album art to be associated with the output file, if any.

  • fileSize :: Maybe Integer

    File size of the output file, in bytes.

  • watermarks :: Maybe [JobWatermark]

    Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset for the current output.

    Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third.

  • width :: Maybe Int

    Specifies the width of the output file in pixels.

  • encryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket.

  • key :: Maybe Text

    The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID.

  • statusDetail :: Maybe Text

    Information that further explains Status.

  • id :: Maybe Text

    A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1.

  • segmentDuration :: Maybe Text

    (Outputs in Fragmented MP4 or MPEG-TS format only.

    If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

    The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

    Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

  • durationMillis :: Maybe Integer

    Duration of the output file, in milliseconds.

  • thumbnailEncryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

  • duration :: Maybe Integer

    Duration of the output file, in seconds.

  • rotate :: Maybe Text

    The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:

    auto, 0, 90, 180, 270

    The value auto generally works only if the file that you're transcoding contains rotation metadata.

Instances

Instances details
Eq JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

Read JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

Show JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

Generic JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

Associated Types

type Rep JobOutput :: Type -> Type #

NFData JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

Methods

rnf :: JobOutput -> () #

Hashable JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

FromJSON JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

type Rep JobOutput Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobOutput

type Rep JobOutput = D1 ('MetaData "JobOutput" "Amazonka.ElasticTranscoder.Types.JobOutput" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "JobOutput'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "appliedColorSpaceConversion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thumbnailPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "frameRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "captions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Captions)) :*: S1 ('MetaSel ('Just "presetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "composition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Clip])) :*: (S1 ('MetaSel ('Just "albumArt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobAlbumArt)) :*: S1 ('MetaSel ('Just "fileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "watermarks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobWatermark])) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "segmentDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "durationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "thumbnailEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "rotate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newJobOutput :: JobOutput Source #

Create a value of JobOutput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:appliedColorSpaceConversion:JobOutput', jobOutput_appliedColorSpaceConversion - If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode the output file, the AppliedColorSpaceConversion parameter shows the conversion used. If no ColorSpaceConversionMode was defined in the preset, this parameter is not be included in the job response.

$sel:thumbnailPattern:JobOutput', jobOutput_thumbnailPattern - Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify "".

If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

  • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

    If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

  • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
  • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

$sel:status:JobOutput', jobOutput_status - The status of one output in a job. If you specified only one output for the job, Outputs:Status is always the same as Job:Status. If you specified more than one output:

  • Job:Status and Outputs:Status for all of the outputs is Submitted until Elastic Transcoder starts to process the first output.
  • When Elastic Transcoder starts to process the first output, Outputs:Status for that output and Job:Status both change to Progressing. For each output, the value of Outputs:Status remains Submitted until Elastic Transcoder starts to process the output.
  • Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
  • When all of the outputs reach a terminal status, Job:Status changes to Complete only if Outputs:Status for all of the outputs is Complete. If Outputs:Status for one or more outputs is Error, the terminal status for Job:Status is also Error.

The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

$sel:height:JobOutput', jobOutput_height - Height of the output file, in pixels.

$sel:frameRate:JobOutput', jobOutput_frameRate - Frame rate of the output file, in frames per second.

$sel:captions:JobOutput', jobOutput_captions - You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

$sel:presetId:JobOutput', jobOutput_presetId - The value of the Id object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with ListPresets.

$sel:composition:JobOutput', jobOutput_composition - You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

$sel:albumArt:JobOutput', jobOutput_albumArt - The album art to be associated with the output file, if any.

$sel:fileSize:JobOutput', jobOutput_fileSize - File size of the output file, in bytes.

$sel:watermarks:JobOutput', jobOutput_watermarks - Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset for the current output.

Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third.

$sel:width:JobOutput', jobOutput_width - Specifies the width of the output file in pixels.

$sel:encryption:JobOutput', jobOutput_encryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket.

$sel:key:JobOutput', jobOutput_key - The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID.

$sel:statusDetail:JobOutput', jobOutput_statusDetail - Information that further explains Status.

$sel:id:JobOutput', jobOutput_id - A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1.

$sel:segmentDuration:JobOutput', jobOutput_segmentDuration - (Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

$sel:durationMillis:JobOutput', jobOutput_durationMillis - Duration of the output file, in milliseconds.

$sel:thumbnailEncryption:JobOutput', jobOutput_thumbnailEncryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

$sel:duration:JobOutput', jobOutput_duration - Duration of the output file, in seconds.

$sel:rotate:JobOutput', jobOutput_rotate - The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:

auto, 0, 90, 180, 270

The value auto generally works only if the file that you're transcoding contains rotation metadata.

jobOutput_appliedColorSpaceConversion :: Lens' JobOutput (Maybe Text) Source #

If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode the output file, the AppliedColorSpaceConversion parameter shows the conversion used. If no ColorSpaceConversionMode was defined in the preset, this parameter is not be included in the job response.

jobOutput_thumbnailPattern :: Lens' JobOutput (Maybe Text) Source #

Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.

If you don't want Elastic Transcoder to create thumbnails, specify "".

If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:

  • {count} (Required): If you want to create thumbnails, you must include {count} in the ThumbnailPattern object. Wherever you specify {count}, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.

    If you specify a literal value and/or {resolution} but you omit {count}, Elastic Transcoder returns a validation error and does not create the job.

  • Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern object. For example, you can include them as a file name prefix or as a delimiter between {resolution} and {count}.
  • {resolution} (Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution} in the ThumbnailPattern object.

When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID value of CreateJobOutput. Elastic Transcoder also appends the applicable file name extension.

jobOutput_status :: Lens' JobOutput (Maybe Text) Source #

The status of one output in a job. If you specified only one output for the job, Outputs:Status is always the same as Job:Status. If you specified more than one output:

  • Job:Status and Outputs:Status for all of the outputs is Submitted until Elastic Transcoder starts to process the first output.
  • When Elastic Transcoder starts to process the first output, Outputs:Status for that output and Job:Status both change to Progressing. For each output, the value of Outputs:Status remains Submitted until Elastic Transcoder starts to process the output.
  • Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
  • When all of the outputs reach a terminal status, Job:Status changes to Complete only if Outputs:Status for all of the outputs is Complete. If Outputs:Status for one or more outputs is Error, the terminal status for Job:Status is also Error.

The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

jobOutput_height :: Lens' JobOutput (Maybe Int) Source #

Height of the output file, in pixels.

jobOutput_frameRate :: Lens' JobOutput (Maybe Text) Source #

Frame rate of the output file, in frames per second.

jobOutput_captions :: Lens' JobOutput (Maybe Captions) Source #

You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:

  • Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.

    Valid input values include: CEA-608 (EIA-608, first non-empty channel only), CEA-708 (EIA-708, first non-empty channel only), and mov-text

    Valid outputs include: mov-text

    Elastic Transcoder supports a maximum of one embedded format per output.

  • Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.

    Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt, srt, ttml (first div element only), and webvtt

    Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.

If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.

Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.

To remove captions or leave the captions empty, set Captions to null. To pass through existing captions unchanged, set the MergePolicy to MergeRetain, and pass in a null CaptionSources array.

For more information on embedded files, see the Subtitles Wikipedia page.

For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.

jobOutput_presetId :: Lens' JobOutput (Maybe Text) Source #

The value of the Id object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with ListPresets.

jobOutput_composition :: Lens' JobOutput (Maybe [Clip]) Source #

You can create an output file that contains an excerpt from the input file. This excerpt, called a clip, can come from the beginning, middle, or end of the file. The Composition object contains settings for the clips that make up an output file. For the current release, you can only specify settings for a single clip per output file. The Composition object cannot be null.

jobOutput_albumArt :: Lens' JobOutput (Maybe JobAlbumArt) Source #

The album art to be associated with the output file, if any.

jobOutput_fileSize :: Lens' JobOutput (Maybe Integer) Source #

File size of the output file, in bytes.

jobOutput_watermarks :: Lens' JobOutput (Maybe [JobWatermark]) Source #

Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset for the current output.

Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third.

jobOutput_width :: Lens' JobOutput (Maybe Int) Source #

Specifies the width of the output file in pixels.

jobOutput_encryption :: Lens' JobOutput (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket.

jobOutput_key :: Lens' JobOutput (Maybe Text) Source #

The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket object in the pipeline that is specified by the pipeline ID.

jobOutput_statusDetail :: Lens' JobOutput (Maybe Text) Source #

Information that further explains Status.

jobOutput_id :: Lens' JobOutput (Maybe Text) Source #

A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1.

jobOutput_segmentDuration :: Lens' JobOutput (Maybe Text) Source #

(Outputs in Fragmented MP4 or MPEG-TS format only.

If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment in seconds. For HLSv3 format playlists, each media segment is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration, though individual segments might be shorter or longer.

The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration, the duration of the last segment is the remainder of total length/SegmentDuration.

Elastic Transcoder creates an output-specific playlist for each output HLS output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys of the associated playlist.

jobOutput_durationMillis :: Lens' JobOutput (Maybe Integer) Source #

Duration of the output file, in milliseconds.

jobOutput_thumbnailEncryption :: Lens' JobOutput (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.

jobOutput_duration :: Lens' JobOutput (Maybe Integer) Source #

Duration of the output file, in seconds.

jobOutput_rotate :: Lens' JobOutput (Maybe Text) Source #

The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:

auto, 0, 90, 180, 270

The value auto generally works only if the file that you're transcoding contains rotation metadata.

JobWatermark

data JobWatermark Source #

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.

See: newJobWatermark smart constructor.

Constructors

JobWatermark' 

Fields

  • presetWatermarkId :: Maybe Text

    The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

  • inputKey :: Maybe Text

    The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

    If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

  • encryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

Instances

Instances details
Eq JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Read JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Show JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Generic JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Associated Types

type Rep JobWatermark :: Type -> Type #

NFData JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Methods

rnf :: JobWatermark -> () #

Hashable JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

ToJSON JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

FromJSON JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

type Rep JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

type Rep JobWatermark = D1 ('MetaData "JobWatermark" "Amazonka.ElasticTranscoder.Types.JobWatermark" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "JobWatermark'" 'PrefixI 'True) (S1 ('MetaSel ('Just "presetWatermarkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)))))

newJobWatermark :: JobWatermark Source #

Create a value of JobWatermark with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:presetWatermarkId:JobWatermark', jobWatermark_presetWatermarkId - The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

$sel:inputKey:JobWatermark', jobWatermark_inputKey - The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

$sel:encryption:JobWatermark', jobWatermark_encryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

jobWatermark_presetWatermarkId :: Lens' JobWatermark (Maybe Text) Source #

The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

jobWatermark_inputKey :: Lens' JobWatermark (Maybe Text) Source #

The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

jobWatermark_encryption :: Lens' JobWatermark (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

Notifications

data Notifications Source #

The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

See: newNotifications smart constructor.

Constructors

Notifications' 

Fields

  • error :: Maybe Text

    The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

  • warning :: Maybe Text

    The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

  • progressing :: Maybe Text

    The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.

  • completed :: Maybe Text

    The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

Instances

Instances details
Eq Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

Read Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

Show Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

Generic Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

Associated Types

type Rep Notifications :: Type -> Type #

NFData Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

Methods

rnf :: Notifications -> () #

Hashable Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

ToJSON Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

FromJSON Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

type Rep Notifications Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Notifications

type Rep Notifications = D1 ('MetaData "Notifications" "Amazonka.ElasticTranscoder.Types.Notifications" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Notifications'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "warning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "progressing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "completed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newNotifications :: Notifications Source #

Create a value of Notifications with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:error:Notifications', notifications_error - The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

$sel:warning:Notifications', notifications_warning - The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

$sel:progressing:Notifications', notifications_progressing - The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.

$sel:completed:Notifications', notifications_completed - The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

notifications_error :: Lens' Notifications (Maybe Text) Source #

The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

notifications_warning :: Lens' Notifications (Maybe Text) Source #

The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

notifications_progressing :: Lens' Notifications (Maybe Text) Source #

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.

notifications_completed :: Lens' Notifications (Maybe Text) Source #

The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

Permission

data Permission Source #

The Permission structure.

See: newPermission smart constructor.

Constructors

Permission' 

Fields

  • access :: Maybe [Text]

    The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

    • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
    • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
    • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
    • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • granteeType :: Maybe Text

    The type of value that appears in the Grantee object:

    • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

      A canonical user ID is not the same as an AWS account number.

    • Email: The registered email address of an AWS account.
    • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
  • grantee :: Maybe Text

    The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

Instances

Instances details
Eq Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

Read Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

Show Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

Generic Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

Associated Types

type Rep Permission :: Type -> Type #

NFData Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

Methods

rnf :: Permission -> () #

Hashable Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

ToJSON Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

FromJSON Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

type Rep Permission Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Permission

type Rep Permission = D1 ('MetaData "Permission" "Amazonka.ElasticTranscoder.Types.Permission" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Permission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "access") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "granteeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "grantee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPermission :: Permission Source #

Create a value of Permission with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:access:Permission', permission_access - The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

  • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

$sel:granteeType:Permission', permission_granteeType - The type of value that appears in the Grantee object:

  • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

    A canonical user ID is not the same as an AWS account number.

  • Email: The registered email address of an AWS account.
  • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.

$sel:grantee:Permission', permission_grantee - The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

permission_access :: Lens' Permission (Maybe [Text]) Source #

The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

  • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

permission_granteeType :: Lens' Permission (Maybe Text) Source #

The type of value that appears in the Grantee object:

  • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

    A canonical user ID is not the same as an AWS account number.

  • Email: The registered email address of an AWS account.
  • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.

permission_grantee :: Lens' Permission (Maybe Text) Source #

The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

Pipeline

data Pipeline Source #

The pipeline (queue) that is used to manage jobs.

See: newPipeline smart constructor.

Constructors

Pipeline' 

Fields

  • status :: Maybe Text

    The current status of the pipeline:

    • Active: The pipeline is processing jobs.
    • Paused: The pipeline is not currently processing jobs.
  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the pipeline.

  • inputBucket :: Maybe Text

    The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks.

  • contentConfig :: Maybe PipelineOutputConfig

    Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

    • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
    • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have.

      • GranteeType: The type of value that appears in the Grantee object:

        • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
        • Email: The registered email address of an AWS account.
        • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
      • Grantee: The AWS user or group that you want to have access to transcoded files and playlists.
      • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

        • READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
        • READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
        • WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
        • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
    • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
  • outputBucket :: Maybe Text

    The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both ContentConfig and ThumbnailConfig.

  • role' :: Maybe Text

    The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.

  • name :: Maybe Text

    The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

    Constraints: Maximum 40 characters

  • awsKmsKeyArn :: Maybe Text

    The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

    If you use either s3 or s3-aws-kms as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of aes-cbc-pkcs7, aes-ctr, or aes-gcm.

  • id :: Maybe Text

    The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.

  • notifications :: Maybe Notifications

    The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

    To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

    • Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
    • Complete (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
    • Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
    • Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
  • thumbnailConfig :: Maybe PipelineOutputConfig

    Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

    • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
    • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have.

      • GranteeType: The type of value that appears in the Grantee object:

        • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

          A canonical user ID is not the same as an AWS account number.

        • Email: The registered email address of an AWS account.
        • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
      • Grantee: The AWS user or group that you want to have access to thumbnail files.
      • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

        • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
    • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

Instances

Instances details
Eq Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Read Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Show Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Generic Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Associated Types

type Rep Pipeline :: Type -> Type #

Methods

from :: Pipeline -> Rep Pipeline x #

to :: Rep Pipeline x -> Pipeline #

NFData Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Methods

rnf :: Pipeline -> () #

Hashable Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

Methods

hashWithSalt :: Int -> Pipeline -> Int #

hash :: Pipeline -> Int #

FromJSON Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

type Rep Pipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Pipeline

type Rep Pipeline = D1 ('MetaData "Pipeline" "Amazonka.ElasticTranscoder.Types.Pipeline" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Pipeline'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inputBucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "contentConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineOutputConfig)) :*: S1 ('MetaSel ('Just "outputBucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsKmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Notifications)) :*: S1 ('MetaSel ('Just "thumbnailConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipelineOutputConfig)))))))

newPipeline :: Pipeline Source #

Create a value of Pipeline with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Pipeline', pipeline_status - The current status of the pipeline:

  • Active: The pipeline is processing jobs.
  • Paused: The pipeline is not currently processing jobs.

$sel:arn:Pipeline', pipeline_arn - The Amazon Resource Name (ARN) for the pipeline.

$sel:inputBucket:Pipeline', pipeline_inputBucket - The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks.

$sel:contentConfig:Pipeline', pipeline_contentConfig - Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

  • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
  • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have.

    • GranteeType: The type of value that appears in the Grantee object:

      • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
      • Email: The registered email address of an AWS account.
      • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
    • Grantee: The AWS user or group that you want to have access to transcoded files and playlists.
    • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

      • READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
  • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.

$sel:outputBucket:Pipeline', pipeline_outputBucket - The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both ContentConfig and ThumbnailConfig.

$sel:role':Pipeline', pipeline_role - The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.

$sel:name:Pipeline', pipeline_name - The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters

$sel:awsKmsKeyArn:Pipeline', pipeline_awsKmsKeyArn - The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

If you use either s3 or s3-aws-kms as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of aes-cbc-pkcs7, aes-ctr, or aes-gcm.

$sel:id:Pipeline', pipeline_id - The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.

$sel:notifications:Pipeline', pipeline_notifications - The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

  • Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
  • Complete (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
  • Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
  • Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

$sel:thumbnailConfig:Pipeline', pipeline_thumbnailConfig - Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

  • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
  • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have.

    • GranteeType: The type of value that appears in the Grantee object:

      • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

        A canonical user ID is not the same as an AWS account number.

      • Email: The registered email address of an AWS account.
      • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
    • Grantee: The AWS user or group that you want to have access to thumbnail files.
    • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

      • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

pipeline_status :: Lens' Pipeline (Maybe Text) Source #

The current status of the pipeline:

  • Active: The pipeline is processing jobs.
  • Paused: The pipeline is not currently processing jobs.

pipeline_arn :: Lens' Pipeline (Maybe Text) Source #

The Amazon Resource Name (ARN) for the pipeline.

pipeline_inputBucket :: Lens' Pipeline (Maybe Text) Source #

The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks.

pipeline_contentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) Source #

Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

  • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
  • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have.

    • GranteeType: The type of value that appears in the Grantee object:

      • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
      • Email: The registered email address of an AWS account.
      • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
    • Grantee: The AWS user or group that you want to have access to transcoded files and playlists.
    • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

      • READ: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
      • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
  • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.

pipeline_outputBucket :: Lens' Pipeline (Maybe Text) Source #

The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both ContentConfig and ThumbnailConfig.

pipeline_role :: Lens' Pipeline (Maybe Text) Source #

The IAM Amazon Resource Name (ARN) for the role that Elastic Transcoder uses to transcode jobs for this pipeline.

pipeline_name :: Lens' Pipeline (Maybe Text) Source #

The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters

pipeline_awsKmsKeyArn :: Lens' Pipeline (Maybe Text) Source #

The AWS Key Management Service (AWS KMS) key that you want to use with this pipeline.

If you use either s3 or s3-aws-kms as your Encryption:Mode, you don't need to provide a key with your job because a default key, known as an AWS-KMS key, is created for you automatically. You need to provide an AWS-KMS key only if you want to use a non-default AWS-KMS key, or if you are using an Encryption:Mode of aes-cbc-pkcs7, aes-ctr, or aes-gcm.

pipeline_id :: Lens' Pipeline (Maybe Text) Source #

The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.

pipeline_notifications :: Lens' Pipeline (Maybe Notifications) Source #

The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.

To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

  • Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
  • Complete (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
  • Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
  • Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

pipeline_thumbnailConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) Source #

Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig and ThumbnailConfig, or you specify OutputBucket.

  • Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
  • Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have.

    • GranteeType: The type of value that appears in the Grantee object:

      • Canonical: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

        A canonical user ID is not the same as an AWS account number.

      • Email: The registered email address of an AWS account.
      • Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
    • Grantee: The AWS user or group that you want to have access to thumbnail files.
    • Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:

      • READ: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • READ_ACP: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      • FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
  • StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.

PipelineOutputConfig

data PipelineOutputConfig Source #

The PipelineOutputConfig structure.

See: newPipelineOutputConfig smart constructor.

Constructors

PipelineOutputConfig' 

Fields

  • bucket :: Maybe Text

    The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:

    • You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
    • You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
    • You do not want to specify the permissions that Elastic Transcoder grants to the files.
    • You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.

    If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.

  • storageClass :: Maybe Text

    The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.

  • permissions :: Maybe [Permission]

    Optional. The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.

    If you include Permissions, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role. If you want that user to have full control, you must explicitly grant full control to the user.

    If you omit Permissions, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role, and grants no other permissions to any other user or group.

Instances

Instances details
Eq PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

Read PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

Show PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

Generic PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

Associated Types

type Rep PipelineOutputConfig :: Type -> Type #

NFData PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

Methods

rnf :: PipelineOutputConfig -> () #

Hashable PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

ToJSON PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

FromJSON PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

type Rep PipelineOutputConfig Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PipelineOutputConfig

type Rep PipelineOutputConfig = D1 ('MetaData "PipelineOutputConfig" "Amazonka.ElasticTranscoder.Types.PipelineOutputConfig" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "PipelineOutputConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Permission])))))

newPipelineOutputConfig :: PipelineOutputConfig Source #

Create a value of PipelineOutputConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:bucket:PipelineOutputConfig', pipelineOutputConfig_bucket - The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:

  • You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
  • You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
  • You do not want to specify the permissions that Elastic Transcoder grants to the files.
  • You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.

If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.

$sel:storageClass:PipelineOutputConfig', pipelineOutputConfig_storageClass - The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.

$sel:permissions:PipelineOutputConfig', pipelineOutputConfig_permissions - Optional. The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.

If you include Permissions, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role. If you want that user to have full control, you must explicitly grant full control to the user.

If you omit Permissions, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role, and grants no other permissions to any other user or group.

pipelineOutputConfig_bucket :: Lens' PipelineOutputConfig (Maybe Text) Source #

The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:

  • You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
  • You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
  • You do not want to specify the permissions that Elastic Transcoder grants to the files.
  • You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.

If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.

pipelineOutputConfig_storageClass :: Lens' PipelineOutputConfig (Maybe Text) Source #

The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.

pipelineOutputConfig_permissions :: Lens' PipelineOutputConfig (Maybe [Permission]) Source #

Optional. The Permissions object specifies which users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.

If you include Permissions, Elastic Transcoder grants only the permissions that you specify. It does not grant full permissions to the owner of the role specified by Role. If you want that user to have full control, you must explicitly grant full control to the user.

If you omit Permissions, Elastic Transcoder grants full control over the transcoded files and playlists to the owner of the role specified by Role, and grants no other permissions to any other user or group.

PlayReadyDrm

data PlayReadyDrm Source #

The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

PlayReady DRM encrypts your media files using aes-ctr encryption.

If you use DRM for an HLSv3 playlist, your outputs must have a master playlist.

See: newPlayReadyDrm smart constructor.

Constructors

PlayReadyDrm' 

Fields

  • keyId :: Maybe Text

    The ID for your DRM key, so that your DRM license provider knows which key to provide.

    The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

  • format :: Maybe Text

    The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

  • keyMd5 :: Maybe Text

    The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

  • key :: Maybe Text

    The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

    128, 192, or 256.

    The key must also be encrypted by using AWS KMS.

  • initializationVector :: Maybe Text

    The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

  • licenseAcquisitionUrl :: Maybe Text

    The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/

Instances

Instances details
Eq PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Read PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Show PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Generic PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Associated Types

type Rep PlayReadyDrm :: Type -> Type #

NFData PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

Methods

rnf :: PlayReadyDrm -> () #

Hashable PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

ToJSON PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

FromJSON PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

type Rep PlayReadyDrm Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PlayReadyDrm

type Rep PlayReadyDrm = D1 ('MetaData "PlayReadyDrm" "Amazonka.ElasticTranscoder.Types.PlayReadyDrm" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "PlayReadyDrm'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyMd5") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "initializationVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseAcquisitionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPlayReadyDrm :: PlayReadyDrm Source #

Create a value of PlayReadyDrm with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:keyId:PlayReadyDrm', playReadyDrm_keyId - The ID for your DRM key, so that your DRM license provider knows which key to provide.

The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

$sel:format:PlayReadyDrm', playReadyDrm_format - The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

$sel:keyMd5:PlayReadyDrm', playReadyDrm_keyMd5 - The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

$sel:key:PlayReadyDrm', playReadyDrm_key - The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using AWS KMS.

$sel:initializationVector:PlayReadyDrm', playReadyDrm_initializationVector - The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

$sel:licenseAcquisitionUrl:PlayReadyDrm', playReadyDrm_licenseAcquisitionUrl - The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/

playReadyDrm_keyId :: Lens' PlayReadyDrm (Maybe Text) Source #

The ID for your DRM key, so that your DRM license provider knows which key to provide.

The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.

playReadyDrm_format :: Lens' PlayReadyDrm (Maybe Text) Source #

The type of DRM, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

playReadyDrm_keyMd5 :: Lens' PlayReadyDrm (Maybe Text) Source #

The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.

playReadyDrm_key :: Lens' PlayReadyDrm (Maybe Text) Source #

The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:

128, 192, or 256.

The key must also be encrypted by using AWS KMS.

playReadyDrm_initializationVector :: Lens' PlayReadyDrm (Maybe Text) Source #

The series of random bits created by a random bit generator, unique for every encryption operation, that you want Elastic Transcoder to use to encrypt your files. The initialization vector must be base64-encoded, and it must be exactly 8 bytes long before being base64-encoded. If no initialization vector is provided, Elastic Transcoder generates one for you.

playReadyDrm_licenseAcquisitionUrl :: Lens' PlayReadyDrm (Maybe Text) Source #

The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/

Playlist

data Playlist Source #

Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create. We recommend that you create only one master playlist per output format. The maximum number of master playlists in a job is 30.

See: newPlaylist smart constructor.

Constructors

Playlist' 

Fields

  • status :: Maybe Text

    The status of the job with which the playlist is associated.

  • playReadyDrm :: Maybe PlayReadyDrm

    The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

  • format :: Maybe Text

    The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

  • outputKeys :: Maybe [Text]

    For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

    • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

      OutputKeyPrefixOutputs:Key

    • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

      OutputKeyPrefixOutputs:Key.m3u8

      OutputKeyPrefixOutputs:Key00000.ts

    • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

      OutputKeyPrefixOutputs:Key_v4.m3u8

      OutputKeyPrefixOutputs:Key_iframe.m3u8

      OutputKeyPrefixOutputs:Key.ts

    Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

    If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

  • name :: Maybe Text

    The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

    Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

  • statusDetail :: Maybe Text

    Information that further explains the status.

  • hlsContentProtection :: Maybe HlsContentProtection

    The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

Instances

Instances details
Eq Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Read Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Show Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Generic Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Associated Types

type Rep Playlist :: Type -> Type #

Methods

from :: Playlist -> Rep Playlist x #

to :: Rep Playlist x -> Playlist #

NFData Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Methods

rnf :: Playlist -> () #

Hashable Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

Methods

hashWithSalt :: Int -> Playlist -> Int #

hash :: Playlist -> Int #

FromJSON Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

type Rep Playlist Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Playlist

type Rep Playlist = D1 ('MetaData "Playlist" "Amazonka.ElasticTranscoder.Types.Playlist" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Playlist'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "playReadyDrm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlayReadyDrm)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "outputKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hlsContentProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsContentProtection))))))

newPlaylist :: Playlist Source #

Create a value of Playlist with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Playlist', playlist_status - The status of the job with which the playlist is associated.

$sel:playReadyDrm:Playlist', playlist_playReadyDrm - The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

$sel:format:Playlist', playlist_format - The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

$sel:outputKeys:Playlist', playlist_outputKeys - For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

  • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

    OutputKeyPrefixOutputs:Key

  • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

    OutputKeyPrefixOutputs:Key.m3u8

    OutputKeyPrefixOutputs:Key00000.ts

  • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

    OutputKeyPrefixOutputs:Key_v4.m3u8

    OutputKeyPrefixOutputs:Key_iframe.m3u8

    OutputKeyPrefixOutputs:Key.ts

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

$sel:name:Playlist', playlist_name - The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

$sel:statusDetail:Playlist', playlist_statusDetail - Information that further explains the status.

$sel:hlsContentProtection:Playlist', playlist_hlsContentProtection - The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

playlist_status :: Lens' Playlist (Maybe Text) Source #

The status of the job with which the playlist is associated.

playlist_playReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) Source #

The DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

playlist_format :: Lens' Playlist (Maybe Text) Source #

The format of the output playlist. Valid formats include HLSv3, HLSv4, and Smooth.

playlist_outputKeys :: Lens' Playlist (Maybe [Text]) Source #

For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.

  • If your output is not HLS or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix and Outputs:Key:

    OutputKeyPrefixOutputs:Key

  • If your output is HLSv3 and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8, and a series of .ts files that include a five-digit sequential counter beginning with 00000:

    OutputKeyPrefixOutputs:Key.m3u8

    OutputKeyPrefixOutputs:Key00000.ts

  • If your output is HLSv4, has a segment duration set, and is included in an HLSv4 playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8:

    OutputKeyPrefixOutputs:Key_v4.m3u8

    OutputKeyPrefixOutputs:Key_iframe.m3u8

    OutputKeyPrefixOutputs:Key.ts

Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.

If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth playlists, the Audio:Profile, Video:Profile, and Video:FrameRate to Video:KeyframesMaxDist ratio must be the same for all outputs.

playlist_name :: Lens' Playlist (Maybe Text) Source #

The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a / character, the section of the name before the last / must be identical for all Name objects. If you create more than one master playlist, the values of all Name objects must be unique.

Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth playlists). If you include a file extension in Name, the file name will have two extensions.

playlist_statusDetail :: Lens' Playlist (Maybe Text) Source #

Information that further explains the status.

playlist_hlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) Source #

The HLS content protection settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.

Preset

data Preset Source #

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.

See: newPreset smart constructor.

Constructors

Preset' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the preset.

  • video :: Maybe VideoParameters

    A section of the response body that provides information about the video preset values.

  • thumbnails :: Maybe Thumbnails

    A section of the response body that provides information about the thumbnail preset values, if any.

  • name :: Maybe Text

    The name of the preset.

  • container :: Maybe Text

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

  • id :: Maybe Text

    Identifier for the new preset. You use this value to get settings for the preset or to delete it.

  • type' :: Maybe Text

    Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

  • description :: Maybe Text

    A description of the preset.

  • audio :: Maybe AudioParameters

    A section of the response body that provides information about the audio preset values.

Instances

Instances details
Eq Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Methods

(==) :: Preset -> Preset -> Bool #

(/=) :: Preset -> Preset -> Bool #

Read Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Show Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Generic Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Associated Types

type Rep Preset :: Type -> Type #

Methods

from :: Preset -> Rep Preset x #

to :: Rep Preset x -> Preset #

NFData Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Methods

rnf :: Preset -> () #

Hashable Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

Methods

hashWithSalt :: Int -> Preset -> Int #

hash :: Preset -> Int #

FromJSON Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

type Rep Preset Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Preset

newPreset :: Preset Source #

Create a value of Preset with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:Preset', preset_arn - The Amazon Resource Name (ARN) for the preset.

$sel:video:Preset', preset_video - A section of the response body that provides information about the video preset values.

$sel:thumbnails:Preset', preset_thumbnails - A section of the response body that provides information about the thumbnail preset values, if any.

$sel:name:Preset', preset_name - The name of the preset.

$sel:container:Preset', 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.

$sel:id:Preset', preset_id - Identifier for the new preset. You use this value to get settings for the preset or to delete it.

$sel:type':Preset', preset_type - Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

$sel:description:Preset', preset_description - A description of the preset.

$sel:audio:Preset', preset_audio - A section of the response body that provides information about the audio preset values.

preset_arn :: Lens' Preset (Maybe Text) Source #

The Amazon Resource Name (ARN) for the preset.

preset_video :: Lens' Preset (Maybe VideoParameters) Source #

A section of the response body that provides information about the video preset values.

preset_thumbnails :: Lens' Preset (Maybe Thumbnails) Source #

A section of the response body that provides information about the thumbnail preset values, if any.

preset_name :: Lens' Preset (Maybe Text) Source #

The name of the preset.

preset_container :: Lens' Preset (Maybe Text) Source #

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

preset_id :: Lens' Preset (Maybe Text) Source #

Identifier for the new preset. You use this value to get settings for the preset or to delete it.

preset_type :: Lens' Preset (Maybe Text) Source #

Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

preset_description :: Lens' Preset (Maybe Text) Source #

A description of the preset.

preset_audio :: Lens' Preset (Maybe AudioParameters) Source #

A section of the response body that provides information about the audio preset values.

PresetWatermark

data PresetWatermark Source #

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.

See: newPresetWatermark smart constructor.

Constructors

PresetWatermark' 

Fields

  • verticalAlign :: Maybe Text

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

    • Top: The top edge of the watermark is aligned with the top border of the video.
    • Bottom: The bottom edge of the watermark is aligned with the bottom border of the video.
    • Center: The watermark is centered between the top and bottom borders.
  • sizingPolicy :: Maybe Text

    A value that controls scaling of the watermark:

    • Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
    • Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the watermark and the values of MaxWidth and MaxHeight are different, the watermark will be distorted.
    • ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.
  • horizontalOffset :: Maybe Text

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

    • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
    • integer percentage (%): The range of valid values is 0 to 100.

    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.

  • maxHeight :: Maybe Text

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

    • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxHeight.
    • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

  • opacity :: Maybe Text

    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.

  • verticalOffset :: Maybe Text
    VerticalOffset

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

    • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxHeight.
    • integer percentage (%): The range of valid values is 0 to 100.

    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.

  • maxWidth :: Maybe Text

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

    • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxWidth.
    • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

  • id :: Maybe Text

    A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long.

  • horizontalAlign :: Maybe Text

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

    • Left: The left edge of the watermark is aligned with the left border of the video.
    • Right: The right edge of the watermark is aligned with the right border of the video.
    • Center: The watermark is centered between the left and right borders.
  • target :: Maybe Text

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

    • Content: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.
    • Frame: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.

Instances

Instances details
Eq PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

Read PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

Show PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

Generic PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

Associated Types

type Rep PresetWatermark :: Type -> Type #

NFData PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

Methods

rnf :: PresetWatermark -> () #

Hashable PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

ToJSON PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

FromJSON PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

type Rep PresetWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.PresetWatermark

newPresetWatermark :: PresetWatermark Source #

Create a value of PresetWatermark with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:verticalAlign:PresetWatermark', presetWatermark_verticalAlign - The vertical position of the watermark unless you specify a non-zero value for VerticalOffset:

  • Top: The top edge of the watermark is aligned with the top border of the video.
  • Bottom: The bottom edge of the watermark is aligned with the bottom border of the video.
  • Center: The watermark is centered between the top and bottom borders.

$sel:sizingPolicy:PresetWatermark', presetWatermark_sizingPolicy - A value that controls scaling of the watermark:

  • Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the watermark and the values of MaxWidth and MaxHeight are different, the watermark will be distorted.
  • ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.

$sel:horizontalOffset:PresetWatermark', presetWatermark_horizontalOffset - The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:

  • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
  • integer percentage (%): The range of valid values is 0 to 100.

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.

$sel:maxHeight:PresetWatermark', presetWatermark_maxHeight - The maximum height of the watermark in one of the following formats:

  • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxHeight.
  • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

$sel:opacity:PresetWatermark', presetWatermark_opacity - 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.

$sel:verticalOffset:PresetWatermark', presetWatermark_verticalOffset - VerticalOffset

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

  • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxHeight.
  • integer percentage (%): The range of valid values is 0 to 100.

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.

$sel:maxWidth:PresetWatermark', presetWatermark_maxWidth - The maximum width of the watermark in one of the following formats:

  • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxWidth.
  • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

$sel:id:PresetWatermark', presetWatermark_id - A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long.

$sel:horizontalAlign:PresetWatermark', presetWatermark_horizontalAlign - The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset:

  • Left: The left edge of the watermark is aligned with the left border of the video.
  • Right: The right edge of the watermark is aligned with the right border of the video.
  • Center: The watermark is centered between the left and right borders.

$sel:target:PresetWatermark', presetWatermark_target - A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight:

  • Content: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.
  • Frame: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.

presetWatermark_verticalAlign :: Lens' PresetWatermark (Maybe Text) Source #

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

  • Top: The top edge of the watermark is aligned with the top border of the video.
  • Bottom: The bottom edge of the watermark is aligned with the bottom border of the video.
  • Center: The watermark is centered between the top and bottom borders.

presetWatermark_sizingPolicy :: Lens' PresetWatermark (Maybe Text) Source #

A value that controls scaling of the watermark:

  • Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the watermark and the values of MaxWidth and MaxHeight are different, the watermark will be distorted.
  • ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.

presetWatermark_horizontalOffset :: Lens' PresetWatermark (Maybe Text) Source #

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

  • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
  • integer percentage (%): The range of valid values is 0 to 100.

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.

presetWatermark_maxHeight :: Lens' PresetWatermark (Maybe Text) Source #

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

  • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxHeight.
  • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

presetWatermark_opacity :: Lens' PresetWatermark (Maybe Text) Source #

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.

presetWatermark_verticalOffset :: Lens' PresetWatermark (Maybe Text) Source #

VerticalOffset

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

  • number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxHeight.
  • integer percentage (%): The range of valid values is 0 to 100.

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.

presetWatermark_maxWidth :: Lens' PresetWatermark (Maybe Text) Source #

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

  • number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxWidth.
  • integer percentage (%): The range of valid values is 0 to 100. 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 calculation.

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

presetWatermark_id :: Lens' PresetWatermark (Maybe Text) Source #

A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long.

presetWatermark_horizontalAlign :: Lens' PresetWatermark (Maybe Text) Source #

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

  • Left: The left edge of the watermark is aligned with the left border of the video.
  • Right: The right edge of the watermark is aligned with the right border of the video.
  • Center: The watermark is centered between the left and right borders.

presetWatermark_target :: Lens' PresetWatermark (Maybe Text) Source #

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

  • Content: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.
  • Frame: HorizontalOffset and VerticalOffset values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.

Thumbnails

data Thumbnails Source #

Thumbnails for videos.

See: newThumbnails smart constructor.

Constructors

Thumbnails' 

Fields

  • sizingPolicy :: Maybe Text

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

    • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
    • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
    • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
    • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.
    • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
    • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
  • format :: Maybe Text

    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.

  • maxHeight :: Maybe Text

    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.

  • resolution :: Maybe Text

    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 :: Maybe Text

    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.

  • paddingPolicy :: Maybe Text

    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.

  • interval :: Maybe Text

    The approximate number of seconds between thumbnails. Specify an integer value.

  • maxWidth :: Maybe Text

    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.

Instances

Instances details
Eq Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

Read Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

Show Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

Generic Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

Associated Types

type Rep Thumbnails :: Type -> Type #

NFData Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

Methods

rnf :: Thumbnails -> () #

Hashable Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

ToJSON Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

FromJSON Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

type Rep Thumbnails Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Thumbnails

type Rep Thumbnails = D1 ('MetaData "Thumbnails" "Amazonka.ElasticTranscoder.Types.Thumbnails" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Thumbnails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sizingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "aspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "paddingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newThumbnails :: Thumbnails Source #

Create a value of Thumbnails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sizingPolicy:Thumbnails', thumbnails_sizingPolicy - Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.
  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

$sel:format:Thumbnails', thumbnails_format - 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.

$sel:maxHeight:Thumbnails', thumbnails_maxHeight - 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.

$sel:resolution:Thumbnails', thumbnails_resolution - 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.

$sel:aspectRatio:Thumbnails', thumbnails_aspectRatio - 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.

$sel:paddingPolicy:Thumbnails', thumbnails_paddingPolicy - 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.

$sel:interval:Thumbnails', thumbnails_interval - The approximate number of seconds between thumbnails. Specify an integer value.

$sel:maxWidth:Thumbnails', thumbnails_maxWidth - 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.

thumbnails_sizingPolicy :: Lens' Thumbnails (Maybe Text) Source #

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

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.
  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

thumbnails_format :: Lens' Thumbnails (Maybe Text) Source #

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.

thumbnails_maxHeight :: Lens' Thumbnails (Maybe Text) Source #

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.

thumbnails_resolution :: Lens' Thumbnails (Maybe Text) Source #

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.

thumbnails_aspectRatio :: Lens' Thumbnails (Maybe Text) Source #

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.

thumbnails_paddingPolicy :: Lens' Thumbnails (Maybe Text) Source #

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.

thumbnails_interval :: Lens' Thumbnails (Maybe Text) Source #

The approximate number of seconds between thumbnails. Specify an integer value.

thumbnails_maxWidth :: Lens' Thumbnails (Maybe Text) Source #

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.

TimeSpan

data TimeSpan Source #

Settings that determine when a clip begins and how long it lasts.

See: newTimeSpan smart constructor.

Constructors

TimeSpan' 

Fields

  • startTime :: Maybe Text

    The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

  • duration :: Maybe Text

    The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

    If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

Instances

Instances details
Eq TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Read TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Show TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Generic TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Associated Types

type Rep TimeSpan :: Type -> Type #

Methods

from :: TimeSpan -> Rep TimeSpan x #

to :: Rep TimeSpan x -> TimeSpan #

NFData TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Methods

rnf :: TimeSpan -> () #

Hashable TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Methods

hashWithSalt :: Int -> TimeSpan -> Int #

hash :: TimeSpan -> Int #

ToJSON TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

FromJSON TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

type Rep TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

type Rep TimeSpan = D1 ('MetaData "TimeSpan" "Amazonka.ElasticTranscoder.Types.TimeSpan" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "TimeSpan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTimeSpan :: TimeSpan Source #

Create a value of TimeSpan with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:startTime:TimeSpan', timeSpan_startTime - The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

$sel:duration:TimeSpan', timeSpan_duration - The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

timeSpan_startTime :: Lens' TimeSpan (Maybe Text) Source #

The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

timeSpan_duration :: Lens' TimeSpan (Maybe Text) Source #

The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

Timing

data Timing Source #

Details about the timing of a job.

See: newTiming smart constructor.

Constructors

Timing' 

Fields

Instances

Instances details
Eq Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Methods

(==) :: Timing -> Timing -> Bool #

(/=) :: Timing -> Timing -> Bool #

Read Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Show Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Generic Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Associated Types

type Rep Timing :: Type -> Type #

Methods

from :: Timing -> Rep Timing x #

to :: Rep Timing x -> Timing #

NFData Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Methods

rnf :: Timing -> () #

Hashable Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

Methods

hashWithSalt :: Int -> Timing -> Int #

hash :: Timing -> Int #

FromJSON Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

type Rep Timing Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Timing

type Rep Timing = D1 ('MetaData "Timing" "Amazonka.ElasticTranscoder.Types.Timing" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Timing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "submitTimeMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "finishTimeMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "startTimeMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newTiming :: Timing Source #

Create a value of Timing with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:submitTimeMillis:Timing', timing_submitTimeMillis - The time the job was submitted to Elastic Transcoder, in epoch milliseconds.

$sel:finishTimeMillis:Timing', timing_finishTimeMillis - The time the job finished transcoding, in epoch milliseconds.

$sel:startTimeMillis:Timing', timing_startTimeMillis - The time the job began transcoding, in epoch milliseconds.

timing_submitTimeMillis :: Lens' Timing (Maybe Integer) Source #

The time the job was submitted to Elastic Transcoder, in epoch milliseconds.

timing_finishTimeMillis :: Lens' Timing (Maybe Integer) Source #

The time the job finished transcoding, in epoch milliseconds.

timing_startTimeMillis :: Lens' Timing (Maybe Integer) Source #

The time the job began transcoding, in epoch milliseconds.

VideoParameters

data VideoParameters Source #

The VideoParameters structure.

See: newVideoParameters smart constructor.

Constructors

VideoParameters' 

Fields

  • keyframesMaxDist :: Maybe Text

    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.

  • frameRate :: Maybe Text

    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:

    • width in pixels and height in pixels represent the Resolution of the output video.
    • maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.

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

    • 1 - 380160
    • 1b - 380160
    • 1.1 - 76800
    • 1.2 - 1536000
    • 1.3 - 3041280
    • 2 - 3041280
    • 2.1 - 5068800
    • 2.2 - 5184000
    • 3 - 10368000
    • 3.1 - 27648000
    • 3.2 - 55296000
    • 4 - 62914560
    • 4.1 - 62914560
  • sizingPolicy :: Maybe Text

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

    • Fit: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
    • Fill: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.
    • Stretch: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input video and the output video are different, the output video will be distorted.
    • Keep: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output video.
    • ShrinkToFit: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.
    • ShrinkToFill: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.
  • maxFrameRate :: Maybe Text

    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.

  • maxHeight :: Maybe Text

    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.

  • watermarks :: Maybe [PresetWatermark]

    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.

  • displayAspectRatio :: Maybe Text

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

  • resolution :: Maybe Text

    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:

    • auto: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.
    • width x height : The width and height of the output video in pixels.

    Note the following about specifying the width and height:

    • The width must be an even integer between 128 and 4096, inclusive.
    • The height must be an even integer between 96 and 3072, inclusive.
    • If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.
    • If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.
    • We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value):

      • 1 - 25344
      • 1b - 25344
      • 1.1 - 101376
      • 1.2 - 101376
      • 1.3 - 101376
      • 2 - 101376
      • 2.1 - 202752
      • 2.2 - 404720
      • 3 - 404720
      • 3.1 - 921600
      • 3.2 - 1310720
      • 4 - 2097152
      • 4.1 - 2097152
  • codec :: Maybe Text

    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.

  • aspectRatio :: Maybe Text

    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.

  • paddingPolicy :: Maybe Text

    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.

  • maxWidth :: Maybe Text

    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.

  • bitRate :: Maybe Text

    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)/

    • 1 - 64 : 80
    • 1b - 128 : 160
    • 1.1 - 192 : 240
    • 1.2 - 384 : 480
    • 1.3 - 768 : 960
    • 2 - 2000 : 2500
    • 3 - 10000 : 12500
    • 3.1 - 14000 : 17500
    • 3.2 - 20000 : 25000
    • 4 - 20000 : 25000
    • 4.1 - 50000 : 62500
  • fixedGOP :: Maybe Text

    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:

    • true: Elastic Transcoder uses the value of KeyframesMaxDist for the distance between key frames (the number of frames in a group of pictures, or GOP).
    • false: The distance between key frames can vary.

    FixedGOP must be set to true for fmp4 containers.

  • codecOptions :: Maybe (HashMap Text Text)

    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:

    • baseline: The profile most commonly used for videoconferencing and for mobile applications.
    • main: The profile used for standard-definition digital TV broadcasts.
    • high: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.

    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.)

    • 1 - 396
    • 1b - 396
    • 1.1 - 900
    • 1.2 - 2376
    • 1.3 - 2376
    • 2 - 2376
    • 2.1 - 4752
    • 2.2 - 8100
    • 3 - 8100
    • 3.1 - 18000
    • 3.2 - 20480
    • 4 - 32768
    • 4.1 - 32768

    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:

    • Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
    • Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
    • HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601
    • HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601

    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.

Instances

Instances details
Eq VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

Read VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

Show VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

Generic VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

Associated Types

type Rep VideoParameters :: Type -> Type #

NFData VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

Methods

rnf :: VideoParameters -> () #

Hashable VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

ToJSON VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

FromJSON VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

type Rep VideoParameters Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.VideoParameters

type Rep VideoParameters = D1 ('MetaData "VideoParameters" "Amazonka.ElasticTranscoder.Types.VideoParameters" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "VideoParameters'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "keyframesMaxDist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "frameRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sizingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "maxFrameRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "watermarks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PresetWatermark])) :*: S1 ('MetaSel ('Just "displayAspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "resolution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "aspectRatio") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "paddingPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "maxWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bitRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fixedGOP") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codecOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newVideoParameters :: VideoParameters Source #

Create a value of VideoParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:keyframesMaxDist:VideoParameters', videoParameters_keyframesMaxDist - 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.

$sel:frameRate:VideoParameters', videoParameters_frameRate - 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:

  • width in pixels and height in pixels represent the Resolution of the output video.
  • maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.

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

  • 1 - 380160
  • 1b - 380160
  • 1.1 - 76800
  • 1.2 - 1536000
  • 1.3 - 3041280
  • 2 - 3041280
  • 2.1 - 5068800
  • 2.2 - 5184000
  • 3 - 10368000
  • 3.1 - 27648000
  • 3.2 - 55296000
  • 4 - 62914560
  • 4.1 - 62914560

$sel:sizingPolicy:VideoParameters', videoParameters_sizingPolicy - Specify one of the following values to control scaling of the output video:

  • Fit: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Fill: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input video and the output video are different, the output video will be distorted.
  • Keep: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output video.
  • ShrinkToFit: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.
  • ShrinkToFill: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.

$sel:maxFrameRate:VideoParameters', videoParameters_maxFrameRate - 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.

$sel:maxHeight:VideoParameters', videoParameters_maxHeight - 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.

$sel:watermarks:VideoParameters', videoParameters_watermarks - 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.

$sel:displayAspectRatio:VideoParameters', videoParameters_displayAspectRatio - The value that Elastic Transcoder adds to the metadata in the output file.

$sel:resolution:VideoParameters', videoParameters_resolution - 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:

  • auto: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.
  • width x height : The width and height of the output video in pixels.

Note the following about specifying the width and height:

  • The width must be an even integer between 128 and 4096, inclusive.
  • The height must be an even integer between 96 and 3072, inclusive.
  • If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.
  • If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.
  • We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value):

    • 1 - 25344
    • 1b - 25344
    • 1.1 - 101376
    • 1.2 - 101376
    • 1.3 - 101376
    • 2 - 101376
    • 2.1 - 202752
    • 2.2 - 404720
    • 3 - 404720
    • 3.1 - 921600
    • 3.2 - 1310720
    • 4 - 2097152
    • 4.1 - 2097152

$sel:codec:VideoParameters', videoParameters_codec - 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.

$sel:aspectRatio:VideoParameters', videoParameters_aspectRatio - 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.

$sel:paddingPolicy:VideoParameters', videoParameters_paddingPolicy - 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.

$sel:maxWidth:VideoParameters', videoParameters_maxWidth - 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.

$sel:bitRate:VideoParameters', videoParameters_bitRate - 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)/

  • 1 - 64 : 80
  • 1b - 128 : 160
  • 1.1 - 192 : 240
  • 1.2 - 384 : 480
  • 1.3 - 768 : 960
  • 2 - 2000 : 2500
  • 3 - 10000 : 12500
  • 3.1 - 14000 : 17500
  • 3.2 - 20000 : 25000
  • 4 - 20000 : 25000
  • 4.1 - 50000 : 62500

$sel:fixedGOP:VideoParameters', videoParameters_fixedGOP - 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:

  • true: Elastic Transcoder uses the value of KeyframesMaxDist for the distance between key frames (the number of frames in a group of pictures, or GOP).
  • false: The distance between key frames can vary.

FixedGOP must be set to true for fmp4 containers.

$sel:codecOptions:VideoParameters', videoParameters_codecOptions - 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:

  • baseline: The profile most commonly used for videoconferencing and for mobile applications.
  • main: The profile used for standard-definition digital TV broadcasts.
  • high: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.

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.)

  • 1 - 396
  • 1b - 396
  • 1.1 - 900
  • 1.2 - 2376
  • 1.3 - 2376
  • 2 - 2376
  • 2.1 - 4752
  • 2.2 - 8100
  • 3 - 8100
  • 3.1 - 18000
  • 3.2 - 20480
  • 4 - 32768
  • 4.1 - 32768

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:

  • Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
  • Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
  • HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601
  • HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601

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.

videoParameters_keyframesMaxDist :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_frameRate :: Lens' VideoParameters (Maybe Text) Source #

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:

  • width in pixels and height in pixels represent the Resolution of the output video.
  • maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.

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

  • 1 - 380160
  • 1b - 380160
  • 1.1 - 76800
  • 1.2 - 1536000
  • 1.3 - 3041280
  • 2 - 3041280
  • 2.1 - 5068800
  • 2.2 - 5184000
  • 3 - 10368000
  • 3.1 - 27648000
  • 3.2 - 55296000
  • 4 - 62914560
  • 4.1 - 62914560

videoParameters_sizingPolicy :: Lens' VideoParameters (Maybe Text) Source #

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

  • Fit: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight without exceeding the other value.
  • Fill: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth or MaxHeight and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.
  • Stretch: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth and MaxHeight. If the relative proportions of the input video and the output video are different, the output video will be distorted.
  • Keep: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth and MaxHeight, Elastic Transcoder crops the output video.
  • ShrinkToFit: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.
  • ShrinkToFill: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.

videoParameters_maxFrameRate :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_maxHeight :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_watermarks :: Lens' VideoParameters (Maybe [PresetWatermark]) Source #

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.

videoParameters_displayAspectRatio :: Lens' VideoParameters (Maybe Text) Source #

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

videoParameters_resolution :: Lens' VideoParameters (Maybe Text) Source #

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:

  • auto: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.
  • width x height : The width and height of the output video in pixels.

Note the following about specifying the width and height:

  • The width must be an even integer between 128 and 4096, inclusive.
  • The height must be an even integer between 96 and 3072, inclusive.
  • If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.
  • If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.
  • We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value):

    • 1 - 25344
    • 1b - 25344
    • 1.1 - 101376
    • 1.2 - 101376
    • 1.3 - 101376
    • 2 - 101376
    • 2.1 - 202752
    • 2.2 - 404720
    • 3 - 404720
    • 3.1 - 921600
    • 3.2 - 1310720
    • 4 - 2097152
    • 4.1 - 2097152

videoParameters_codec :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_aspectRatio :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_paddingPolicy :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_maxWidth :: Lens' VideoParameters (Maybe Text) Source #

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.

videoParameters_bitRate :: Lens' VideoParameters (Maybe Text) Source #

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)/

  • 1 - 64 : 80
  • 1b - 128 : 160
  • 1.1 - 192 : 240
  • 1.2 - 384 : 480
  • 1.3 - 768 : 960
  • 2 - 2000 : 2500
  • 3 - 10000 : 12500
  • 3.1 - 14000 : 17500
  • 3.2 - 20000 : 25000
  • 4 - 20000 : 25000
  • 4.1 - 50000 : 62500

videoParameters_fixedGOP :: Lens' VideoParameters (Maybe Text) Source #

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:

  • true: Elastic Transcoder uses the value of KeyframesMaxDist for the distance between key frames (the number of frames in a group of pictures, or GOP).
  • false: The distance between key frames can vary.

FixedGOP must be set to true for fmp4 containers.

videoParameters_codecOptions :: Lens' VideoParameters (Maybe (HashMap Text Text)) Source #

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:

  • baseline: The profile most commonly used for videoconferencing and for mobile applications.
  • main: The profile used for standard-definition digital TV broadcasts.
  • high: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.

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.)

  • 1 - 396
  • 1b - 396
  • 1.1 - 900
  • 1.2 - 2376
  • 1.3 - 2376
  • 2 - 2376
  • 2.1 - 4752
  • 2.2 - 8100
  • 3 - 8100
  • 3.1 - 18000
  • 3.2 - 20480
  • 4 - 32768
  • 4.1 - 32768

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:

  • Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
  • Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
  • HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601
  • HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601

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.

Warning

data Warning Source #

Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

See: newWarning smart constructor.

Constructors

Warning' 

Fields

  • code :: Maybe Text

    The code of the cross-regional warning.

  • message :: Maybe Text

    The message explaining what resources are in a different region from the pipeline.

    AWS KMS keys must be in the same region as the pipeline.

Instances

Instances details
Eq Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Methods

(==) :: Warning -> Warning -> Bool #

(/=) :: Warning -> Warning -> Bool #

Read Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Show Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Generic Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Associated Types

type Rep Warning :: Type -> Type #

Methods

from :: Warning -> Rep Warning x #

to :: Rep Warning x -> Warning #

NFData Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Methods

rnf :: Warning -> () #

Hashable Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

Methods

hashWithSalt :: Int -> Warning -> Int #

hash :: Warning -> Int #

FromJSON Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

type Rep Warning Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.Warning

type Rep Warning = D1 ('MetaData "Warning" "Amazonka.ElasticTranscoder.Types.Warning" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "Warning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newWarning :: Warning Source #

Create a value of Warning with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:code:Warning', warning_code - The code of the cross-regional warning.

$sel:message:Warning', warning_message - The message explaining what resources are in a different region from the pipeline.

AWS KMS keys must be in the same region as the pipeline.

warning_code :: Lens' Warning (Maybe Text) Source #

The code of the cross-regional warning.

warning_message :: Lens' Warning (Maybe Text) Source #

The message explaining what resources are in a different region from the pipeline.

AWS KMS keys must be in the same region as the pipeline.