Step 5: Creating MediaLive Channels (Optional)

If you don’t have a live source, you can create a simulated source using MediaLive.

In the search bar, type MediaLive.

Alt text Alt text

 

MediaLive Channel

  1. Let’s first create an input for the channel. On the side bar in the left, select Inputs

    Alt text Alt text

  2. Click Create Input

    Alt text Alt text

  3. Under Input details, specify the following configuration.

    Under Input name - required, type in s3-source-1.

    Under Input type - required, select MP4

    Alt text Alt text

    Under Input class, select SINGLE_INPUT.

    Alt text Alt text

    Under Input source A and URL, type in the s3 url for one of your S3 sources that you uploaded earlier.

    Alt text Alt text

    Now click Create input.

    Alt text Alt text

  4. With the Input created, let’s create the Channel itself. Go to Channels. Click Create channel.

    Alt text Alt text

  5. Start by adding Input Attachtments, by clicking the Add button within the left Channel panel section. Then select the Input created in the previous step. Click Confirm

    Alt text Alt text

  6. In the General input setting section, change the drop down menu Source End Behavior field to LOOP. That way, the file will keep looping. Leave the other options as default.

    Alt text Alt text

  7. Now, let’s configure the Channel itself. Click on the Channel and input details. Give the channel a Name. As an example, use contribution-source-1. Under the IAM role, use the default selection “Create role from temple option”. Then click Create IAM Role. Select Use existing role to select the newly created role MediaLiveAccessRole.

    Alt text Alt text Alt text Alt text

  8. Scroll down and look for the Channel class section. Select SINGLE_PIPELINE. Leave the other options as defaults.

    Alt text Alt text

  9. In the Output groups, within the left Channel panel section, click on the Add button. Select UDP. Click Confirm.

    Alt text Alt text

  10. Under Output 1 within UDP destinations type in the corresponding Contribution MediaConnect Flow IP and port, with the RTP sufix, for example, rtp://<your-emx-ip>:7000

    Alt text Alt text

  11. Scroll down and click on Settings, inside the UDP Output section.

    Alt text Alt text

  12. Now you can define the encoding parameters for this Output Group. Select H264 as Codec Settings. Go to Rate Control and enter Bitrate as 8000000 to force the encoder to generate a 8 Mbps feed. Change the GOP Size to 1 second and GOP Size Units to SECONDS.

Alt text Alt text

  1. Leave the other options blank, or default. Finally, scroll back up and click Create Channel. At this point the channel is configured, but we will not start the channel.

  2. Repeat steps 1-16 with a second source video file and create a corresponding input s3-source-2 and MediaLive channel contribution-source-2.

 


Click here to advance to the next step »