Store live stream video from MediaLive

0

I am working on a solution to stream live video using MediaLive, MediaPackage and CloudFront. I have the following config:

  1. I have a medialive output - MediaPackage
  2. This is sending the stream to MediaPackage. I have added Origin endpoints to the mediapackage
  3. I am using this origin in cloudfront as Source origin.

Now when I stop the stream, I want to send this video along with the audio to S3. I tired adding S3 Archive output in MediaLive, and it works fine. But that is storing the video in 15sec duration. I need the whole video to be stored as is.

What is the best solution I can try and implement. What is the recommend way to store the stream in S3 - should I store from MediaLive or from CloudFront.

2 個答案
0

Hi,

You can use the harvest feature of AWS Elemental MediaPackage to save a specific time window from a live endpoint to S3 : https://docs.aws.amazon.com/mediapackage/latest/ug/harvest-jobs.html.

Thanks

AWS
Pedro_F
已回答 4 個月前
0

There are several options to capture and store a live stream created using MediaLive, MediaPackage and CloudFront.

Using AWS MediaLive you can store the stream to S3 in two ways, creating either an HLS output or a TS output to an S3 bucket.

AWS MediaPackage also offers the Harvest Job function to store a live stream to S3 after the live event. Duplicating the link provided in the previous answer. https://docs.aws.amazon.com/mediapackage/latest/ug/harvest-jobs.html

A note about MediaPackage. Depending on how deep the Startover Window is configured per MediaPackage Endpoint, streams up to 14 days in the past can be requested for viewing. See this link for Startover Window setup. https://docs.aws.amazon.com/mediapackage/latest/ug/time-shifted.html

AWS
Mike-ME
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南