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 réponses
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
EXPERT
Paul_L
répondu il y a 2 ans
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
répondu il y a 2 ans
  • 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 ?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions