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 Risposte
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
ESPERTO
Paul_L
con risposta 2 anni fa
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
con risposta 2 anni fa
  • 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 ?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande