What does this Amazon Web Services Solution do?

Amazon Web Services provides a general media solution in serverless architecture.

As a demo, the solution leverages Amazon Lambda to implement a transcoding feature based on FFmpeg. The demo enables you easily complete video transcoding tasks such as converting file format, converting video encoding, etc without worrying about server configuration. The demo also comes with a friendly user interface that allows you to set up and start transcoding tasks. 

Based on the architecture or sample code of this solution, you can quickly build your own serverless media solution in Amazon Web Services Cloud.

Amazon Web Services Solution Overview

The diagram below presents the architecture of this solution. You can reach out to Sales to retrieve solution's implementation guide and accompanying Amazon CloudFormation template.

Architecture of Serverless Image Handler

Architecture Description

 
With the solution offers a general severless architecture.
 
In order to provide an use case of this architecture, the solution includes a demo of transcoding feature which is implemented based on Amazon Lambda and FFmpeg. The solution allows users set parameters and start transcoding tasks through Web UI or command lines. 
 
When a user triggers a trancoding task from the UI,  the front-end sends a request to Amazon API Gateway which then invokes a Lambda function. The Lambda function stores the record of the request into the DynamoDB. The Lambda function takes the parameters in the request as the input to start a transcoding workflow in Amazon Step Functions. The workflow segments the original video and multiple Lambda functions transcode the segments using FFmpeg in parallel.
 
After all the transcoding works finished, another Lambda function uses FFmpeg to merge all the segmented videos into one video and put it in Amazon S3.
 

Serverless Media Solution

Version 1.0.0
Last updated: 04/2021
Author: Amazon Web Services 

Estimated deployment time: 10 min

Features

Visualization

The solution offers a web-based user interface(UI) which is hosted on Amazon S3 and delivered via Amazon CloudFront. You can easily use the intuitive UI to manage video transcoding tasks and update parameters.

Command Line Interface

The solution allows you to trigger the serverless video transcoding tasks via command lines.

100% Serverless Architecture

The solution is implemented based on Amazon Lambda. Amazon Lambda automatically manages the computing resources required. Lambda provides with a pay-per-use pricing model.
Standard Product Icons (Features) Squid Ink
Explore all Amazon Web Services Solutions

Browse our portfolio of Amazon Web Services-built solutions to common architectural problems.

Learn more 
Next-Steps-Icon_Find-a-Partner-B
Find a Partner

Find Amazon Web Services certified consulting and technology partners to help you get started.

Learn more 
Standard Product Icons (Start Building) Squid Ink
Start building in the console

Sign-up and start exploring our services.

Get started