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

preguntada hace 2 años842 visualizaciones
2 Respuestas
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
EXPERTO
Paul_L
respondido hace 2 años
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
respondido hace 2 años
  • 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 ?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas