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 年前檢視次數 824 次
2 個答案
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

AWS
專家
Paul_L
已回答 2 年前
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

AWS
Nuno_Q
已回答 2 年前
  • 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 ?

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

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

回答問題指南