Great article Yueshi Shen. I’m using the ffmpeg command you have shown to make multiple HLS bitrate streams. It works great. But I can’t figure out how to also create the ABR master HLS playlist file (-master_pl_name). Do you know how to modify your command so ffmpeg will also generate the master playlist? Thanks!
Saurabh, sorry to hear you’re having trouble. I would first check the CloudWatch Logs to see if the service is throwing any errors. If not, maybe there is a Security Group or ELB/ALB problem. I would inspect the ELB/ALB first to see if the Security Group looks ok. Also check to see if there are any registered listeners. Did the ECS Service/Tasks spin up ok… . Let me know what you find.
Sounds like you have a great project.
I remember running into an issue like this with Elastic Beanstalk. I’m pretty sure the “/tmp” is writeable.
I wonder if you could modify the WP Offload Media settings to write the files to “/tmp”,
Stephen Gebbie, can you please send me any errors you’re getting on the front-end (browser console) or on the back-end (Lambda CloudWatch logs)?
I have this running on a few sites, and I just sent myself an email, so it still seems to be working.
Take a look at AWS ECS or EKS (Kubernetes) for more info on Docker and containerization. Also, my article and code uses WordPress as a Docker image running on ECS.