Media Analysis Solution
Media Analysis Solution

Architecture Overview

Deploying the Media Analysis Solution builds the following environment in the AWS Cloud.

        Media Analysis Solution architectural overview

Figure 1: Media Analysis Solution architecture

The AWS CloudFormation template deploys an Amazon API Gateway RESTful API, an AWS Lambda function to process API requests, and an Amazon Cognito user pool which enable customers to securely interact with their media files. The solution also creates an AWS Step Functions state machine that orchestrates the media analysis processes, and a second Lambda function that executes the analysis and metadata extraction using managed artificial intelligence (AI) services such as Amazon Rekognition, Amazon Transcribe, and Amazon Comprehend. When an MP4 video file is uploaded, AWS Elemental MediaConvert extracts audio for the analysis by Amazon Transcribe and Amazon Comprehend. Metadata results are stored in an Amazon Simple Storage Service (Amazon S3) bucket and indexed in an Amazon Elasticsearch Service (Amazon ES) cluster.

The solution also creates a web interface and deploys it in an Amazon S3 bucket to allow customers to immediately start analyzing small media files with a simple web interface. Amazon CloudFront is used to restrict access to the solution’s website bucket contents.