Serverless mp3 and mp4 to HLS converter using Zappa, AWS Lambda, API Gateway, S3 and FFmpeg
Serverless mp3 and mp4 to HLS converter using  Zappa, AWS Lambda, API Gateway, S3 and FFmpeg

Serverless mp3 and mp4 to HLS converter using Zappa, AWS Lambda, API Gateway, S3 and FFmpeg

Updated: 29 January 2021
Price: Free
Number of Sections: 7
Content length:
Delivery Mode:

Course Description

In this course, we are going to learn how to build a serverless application for automatically converting mp4 and mp3 files to HLS (HTTP Live Streaming) encoded format (.m3u8 and .ts files). HLS has the advantage of allowing the creation of adaptive bitrate media that automatically adapts and adjusts in response to changes in network speed. 

The application will use FFmpeg, which is a powerful open-source tool, for conversion. With a simple command, you can encode an mp4 or an mp3 into HLS compatible formats.

And finally, we will use Zappa to abstract away the details of lambda creation, API Gateway, event source configurations, default role creation, and many more. 

Zappa is a Python framework that allows you to build and deploy serverless and event-driven applications on Amazon Web Services (AWS). The Python code runs on AWS Lambda and supports synchronous and asynchronous invocations via API Gateway, S3, and other events.

For this course, you need to be familiar with:

  • Amazon Web Services
  • Linux/MacOS Command line interface
  • Python programming

Course Objectives

  • Learn to use Zappa for building and deploying serverless Python applications.
  • Learn to use FFmpeg to media conversion
  • Learn Amazon Web Services: AWS Lambda, API Gateway, S3
  • Learn to set up AWS CLI and configuration
  • Learn to create AWS Lambda layers

About Instructor

Evans Boateng Owusu
Evans is a Computer Engineer and cloud technology enthusiast. He has a Masters degree in Embedded Systems (focusing on Software design) from the Technical University of Eindhoven (The Netherlands) and a Bachelor of Science in Electronic and Computer Engineering from the Polytechnic University of Turin (Italy). In addition, he has worked for the high-tech industry in the the Netherlands and other large corporations for over seven years.... Show more