Build your own live stream and vod platform using aws in cloud

Posted By : Himanshu Bhatt | 24-Jan-2020

Introduction

Hi in this blog today I will tell you about the aws streaming, using amazon web services how we can build our live streaming and video-on-demand platform. Amazon web services for video streamings and VOD are used by big tech giants such as Netflix, BBC, etc. This is very simple to integrate and the cost is very low as compared to implementing our own services. There is very low-cost storage for the videos to save. 

 

Live Streaming

We can do live streaming in aws using elemental medialive and mediapackage to distribute it to multiple sources. Medialive acts like an encoder that takes the inputs and there we can configure the outputs and we can place the streams to multiple destinations. In medialive we push the inputs through any of the following:

  1. HLS
  2. RTP
  3. RTMP (PUSH/PULL)

We have to create a channel to ingest the live stream from the inputs which are described above. In a channel, we can take two inputs simultaneously and if the one input gets failed then the other will provide the input there are two pipelines from which stream gets to the channel.

In the channel, we create the output groups and configure the inputs which will be used to ingest the live stream and we will use the output group settings in medialive to output the stream to various destinations such as facebook, youtube, mediapackage and we can store the stream constantly in the s3 bucket so that  we can use it as a VOD. We have many options available for the live stream such as showing adds in between the stream and we can provide the captions during the live stream and we can capture the images or the snippet of the stream.

 

Mediapackage is video packaging system which delivers our live stream securely and with reliability to  different CDNs(Content Delivery Network) and media players and supports multiple packages such as:

  1. HLS
  2. DASH-IO
  3. Microsoft Smooth
  4. Common Media Application Format

Hence aws streaming is a very simple and fast setup to use for your business. It is cost-effective also because you only pay for the service for that specific time you are using it.


Video On Demand

We can make our own VOD platform such as netflix using AWS for that we can use WordPress as a cms and at the backend we can use Amazon Simple Storage Service to store the videos and for different devices and according to the requirements the size of the devices the quality of the video can be converted using aws mediaconvert service for transcoding the video in different flavors we can use it. The cost of storage for the videos is very low and we get the cloud environment.

 

Conclusion

Hence using amazon web services we can make a fast and a cost-effective live stream and VOD solution which is totally on cloud and it is scalable and fast.

 

About Author

Author Image
Himanshu Bhatt

Himanshu is a bright java developer. He is keen to learn new technologies. His hobbies are to travel and listen music.

Request for Proposal

Name is required

Comment is required

Sending message..