AWS Elemental MediaLive
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Input Clipping

You can clip a file input so that MediaLive ingests only a portion of the file. The file must be an MP4 file that is stored on Amazon S3 or AWS Elemental MediaStore. You can't clip an MP4 file that is stored on a remote server.

You clip a file as part of setting up an input switching action in the channel schedule. Therefore, to use a clipped file, you must use the schedule.

To set up a file input for input clipping

  1. Create the MP4 file input in the usual way. See Creating an MP4 Pull Input.

  2. Attach the input to the channel in the usual way. See Step 2: Attach Inputs to the Channel.

  3. Create a switch input action in the schedule that specifies the start time and end time for the clip. See Creating Actions in the Schedule (Console).

    You can specify a start point (if you don't specify one, the ingest starts at the beginning of the file). You can specify an endpoint (if you don't specify one, the ingest stops at the end of the file). Or you can specify both a start point and end point.

When the channel switches to this input, it starts and stops ingesting the file at the specified points.

You can reuse this same input repeatedly, each time specifying a different portion to ingest. To do so, create another switch input action, with different start and end times.