S3 + Cloudfront Combo not working Properly For Video Streaming

0

I stored video in S3 Bucket it is taking TOOO much time to load even after I used cloudfront CDN.. The problem is the video is being fully loaded first and then it is playing.. imagine how much time a 40min video takes to load fully.. its unlike youtube where video gets loaded simultaneously as one watch the video.. so help

2 Answers
0

It sounds like you have the entire video in S3 as a single file? It's recommended that you break the video into smaller chunks, this will reduce the time to load each and provide a better customer experience. Please take a look at the whitepaper on streaming video, here: https://docs.aws.amazon.com/whitepapers/latest/amazon-cloudfront-media/streaming-techniques-for-media.html

Paul_L
answered 2 months ago
0

Hi,

I suggest having a look at the "File Streaming with AWS Media Services" workshop (https://catalog.us-east-1.prod.workshops.aws/workshops/cb172534-d59d-41d1-a9b3-371039593c63/en-US/000introduction) that shows how to convert a single file into an adaptive bitrate HLS stack.

You would then use Amazon Cloudfront for the distribution of the content downstream of your S3 bucket that will host your HLS manifests and segment files.

A prepackaged Cloudformation solution is also available at: https://docs.aws.amazon.com/solutions/latest/video-on-demand-on-aws-foundations/welcome.html

Nuno_Q
answered 2 months ago
  • Oh thankyou so much once again.. But now it has shown up with different problem.. its that .. i have converted the video to dmall chunks using APPLE HLS which has made a m3u8 file.. which isnt playing on broswer.. so what to do ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions