Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CreateJobPlaylist = CreateJobPlaylist' {}
- newCreateJobPlaylist :: CreateJobPlaylist
- createJobPlaylist_playReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm)
- createJobPlaylist_format :: Lens' CreateJobPlaylist (Maybe Text)
- createJobPlaylist_outputKeys :: Lens' CreateJobPlaylist (Maybe [Text])
- createJobPlaylist_name :: Lens' CreateJobPlaylist (Maybe Text)
- createJobPlaylist_hlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection)
Documentation
data CreateJobPlaylist Source #
Information about the master playlist.
See: newCreateJobPlaylist
smart constructor.
CreateJobPlaylist' | |
|
Instances
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 ofOutputKeyPrefix
andOutputs:Key
:OutputKeyPrefix
Outputs: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:OutputKeyPrefix
Outputs:Key
.m3u8OutputKeyPrefix
Outputs:Key
00000.tsIf your output is
HLSv4
, has a segment duration set, and is included in anHLSv4
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
:OutputKeyPrefix
Outputs:Key
_v4.m3u8OutputKeyPrefix
Outputs:Key
_iframe.m3u8OutputKeyPrefix
Outputs: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 ofOutputKeyPrefix
andOutputs:Key
:OutputKeyPrefix
Outputs: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:OutputKeyPrefix
Outputs:Key
.m3u8OutputKeyPrefix
Outputs:Key
00000.tsIf your output is
HLSv4
, has a segment duration set, and is included in anHLSv4
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
:OutputKeyPrefix
Outputs:Key
_v4.m3u8OutputKeyPrefix
Outputs:Key
_iframe.m3u8OutputKeyPrefix
Outputs: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.