Menu
AWS Elemental MediaLive
User Guide

Creating an Archive Output Group

  1. On the Create channel navigation pane, go to the Output groups section and choose Add. The content pane changes to show the Add output group section.

  2. Choose Archive and choose Confirm. More sections appear.

  3. Complete the fields as described below.

  4. When you have entered all the information for one output group, create another output group, if desired. Otherwise, go to the next step.

Archive settings

  • Enter a name for the output group. For example, "Sports Game 10122017 ABR" or "tvchannel59".

  • Choose Additional Settings and complete the Rollover Interval field , if desired. This field interacts with the fields in the Archive destinations section lower down on this panel.

Archive destinations

You must specify the destination for this output. The destination is a bucket and object in an AWS S3 account.

Specify the URL for two destinations. You must specify two destinations because AWS Elemental MediaLive works in redundant mode for outputs: it requires two destinations.

In each URL, specify the path and base filename for the output file or files.

  • For the path, specify the AWS S3 protocol, bucket and folders. For example, s3ssl://interviews/3series/Delivery/ and s3ssl://interviews/3series/Backup/.

  • For the base filename, enter a value, not including the extension, for example, "3633_WangXiuLan". Or enter "/" to use the name of the input as the base filename. The URL is one piece of the information used for the location and filenames of the output file.

Archive outputs

This section contains fields related to the encoding of the video, audio, and captions in the output, and related to the packaging and delivery of the output.

  • Choose Add output if you want more than one output in this output group. An Output line is added for each output. Setup of the individual outputs is described in Step 5: Create Outputs.

  • In the Name modifier field for each output, enter a modifier, if appropriate. See About Archive Locations and Filenames for uses for this field.

About Archive Locations and Filenames

The location of archive output files is controlled by several fields in the Archive output group and the individual outputs:

  • The path portion of the URLs in the Archive destinations section. For example, "s3ssl://interviews/3series/Delivery/". Required.

  • The base filename portion of URL. For example, "3633_WangXiuLan". Optional.

  • The Name modifier field in the Archive outputs section. Required only in output groups with more than one output. For example, "_high".

  • The Extension field in the Archive outputs section. Optional. The default is ".ts".

  • The Rollover Interval field in the Archive settings section. Optional. For example "600" to divide the output into separate files, each 600 seconds (10 minutes) long.

Typically, you complete only some combinations of these fields, as described in the examples .

Examples of Archive Output Groups

Example 1

You want to create an archive of the streaming output from TV channel 59. You want to store the output in the S3 bucket named "channel59" and want to break up the stream into 10 minute chunks.

  • In Archive settings, in Rollover interval, enter 600.

  • In Archive destinations, set up with the primary and backup URLs as s3ssl://channel59/delivery/2017October and s3ssl://channel59/backup/2017October.

  • In Archive outputs, in Name modifier, enter _$dt$.

  • In Archive outputs, leave Extension blank in order to use the default (.ts).

  • Choose the Settings link for the output and set up as desired. For example, set up one video, one audio, and one captions asset.

Result: the output will be broken into files of 10 minutes each. Each file will have a filename of "2017October" plus the time, with the time incrementing by 10 minutes in each file. For example "2017October_20171012T0331622", then 10 minutes later "2017October_20171012T0332622", and so on. Each file will be stored in both s3ssl://channel59/delivery and s3ssl://channel59/backup.

Example 2

You want to create an archive of a short interview that is also being streamed (in a separate HLS output group). You want to store the output in the AWS S3 bucket named "inteview_3633_WangXiuLan". You want to create one file for the entire interview.

  • In the Archive destinations section, set up with the primary and backup URLs as s3ssl://interviews/3series/Delivery/3633_WangXiuLan and s3ssl://interviews/3series/Backup/3633_WangXiuLan.

  • In Archive outputs, leave Name modifier blank.

  • In Archive outputs, in Extension, enter ".m2ts"

  • Choose the Settings link for the output and set up as desired. For example, set up one video, one audio, and one captions asset.

Result: the file 3633_WangXiuLan.m2ts will be stored in s3ssl://moviesDelivery and s3ssl://moviesBackup.

Example 3

You want to create an archive of highlights from the curling game that are also being streamed (in a separate HLS output group). You want to create three outputs: high, medium, and low bitrate. You want to store the outputs in the AWS S3 bucket named "sports/highlights/curling". You want to create one file for each output.

  • In Archive destinations, set up the primary and backup URLs as s3ssl://sports/delivery/highlights/curling/10312017 and s3ssl://sports/backup/highlights/curling/10312017 (where the first part of the URL is the bucket and folder, and 10312017 is the date).

  • In Archive outputs, choose Add output twice: two more Output lines are added to this section, for a total of three lines. In each line, enter a modifier: _high, _medium, and _low.

  • In Archive outputs, leave Extension blank in order to use the default (.ts).

  • Choose the Settings link for each individual output and set up as desired. For example, set up one video, one audio, and one captions asset for each output.

Result: three separate files will be created for each output. Each file will have a filename of "10312017" plus the modifier, so "10312017_high.ts", "10312017_medium.ts" and "10312017_low.ts". The files will be stored in s3ssl://sports/delivery/highlights/curling and s3ssl://sports/backup/highlights/curling.