Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# VOD Localization and Subtitles Application
# Video Localization - built on Media Insights Engine

This application uses AWS AI/ML services for transcribing and translating speech in videos (VOD content) that can be used to localize the content.
This application uses AWS AI/ML services to help localize video content. With this application you can:

1. Automatically generate subtitle tracks in multiple languages

2. Automatically generate audio transcriptions in multiple languages

3. Edit machine generated subtitles and automatically re-generate downstream outputs. For example, if you edit and save the source language subtitles, you can automatically generate new translations and audio tracks based on your changes.

4. Human-in-the-loop customization of AWS AI/ML services to improve the accuracy of transcriptions and translations of your content using:
- Custom Vocabulary for Amazon Transcribe
- Custom Terminoligy for Amazon Translate

The application is built on Media Insights Engine (MIE). MIE is a framework to accelerate the development of serverless applications that process video, images, audio, and text with artificial intelligence services and multimedia services on AWS. MIE is most often used to:

Expand All @@ -15,8 +25,9 @@ The following Cloudformation templates will deploy the VOD Localization front-en

Region| Launch
------|-----
US West (Oregon) | [![Launch in us-west-2](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=eus-west-2#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-us-west-2.s3.us-west-2.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles-deploy-mie.template)
EU West (Ireland) | [![Launch in eu-west-1](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-eu-west-1.s3.eu-west-1.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles-deploy-mie.template)
US West (Oregon) | [![Launch in us-west-2](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-us-west-2.s3.us-west-2.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles-deploy-mie.template)
US East (N. Virginia) | [![Launch in us-east-1](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-us-east-1.s3.us-east-1.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles-deploy-mie.template)
<!-- EU West (Ireland) | [![Launch in eu-west-1](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-eu-west-1.s3.eu-west-1.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles-deploy-mie.template) -->

For more installation options, see the [Advanced Installation](#advanced-installation-options) section.

Expand Down Expand Up @@ -89,6 +100,7 @@ The following Cloudformation templates can be used to deploy the MIE front-end r
Region| Launch
------|-----
US West (Oregon) | [![Launch in us-west-2](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-us-west-2.s3.us-west-2.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles.template)
US East (N. Virginia) | [![Launch in us-east-1](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/new?stackName=mie&templateURL=hhttps://elementalrodeo99-us-east-1.s3.us-east-1.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles.template)
EU West (Ireland) | [![Launch in eu-west-1](doc/images/launch-stack.png)](https://console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/new?stackName=mie&templateURL=https://elementalrodeo99-eu-west-1.s3.eu-west-1.amazonaws.com/vod-subtitles-solution/v0.0.1/cf/aws-vod-subtitles.template)

## Building the app from source code
Expand Down
5 changes: 2 additions & 3 deletions cloudformation/aws-vod-subtitles-deploy-mie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Parameters:

Mappings:
MediaInsightsEngine:
Release:
Version: "v2.0.3"
Release:
Version: "v2.0.3"
ContentAnalysisApp:
SourceCode:
S3Bucket: "%%BUCKET_NAME%%"
Expand All @@ -48,7 +48,6 @@ Resources:
- MediaInsightsEngine
- Release
- Version
- "/cf"
- "/media-insights-stack.template"
Parameters:
DeployAnalyticsPipeline: Yes
Expand Down
10 changes: 3 additions & 7 deletions deployment/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ echo "--------------------------------------------------------------------------

echo "Preparing template files:"

cp "$template_dir/aws-vod-subtitles-deploy-mie
.yaml" "$dist_dir/aws-vod-subtitles-deploy-mie
.template"
cp "$template_dir/aws-vod-subtitles-deploy-mie.yaml" "$dist_dir/aws-vod-subtitles-deploy-mie.template"
cp "$template_dir/aws-vod-subtitles.yaml" "$dist_dir/aws-vod-subtitles.template"
cp "$template_dir/aws-content-analysis-elasticsearch.yaml" "$dist_dir/aws-content-analysis-elasticsearch.template"
cp "$template_dir/aws-content-analysis-auth.yaml" "$dist_dir/aws-content-analysis-auth.template"
Expand All @@ -112,10 +110,8 @@ new_bucket="s/%%BUCKET_NAME%%/$bucket/g"
new_version="s/%%VERSION%%/$version/g"

# Update templates in place. Copy originals to [filename].orig
sed -i.orig -e "$new_bucket" "$dist_dir/aws-vod-subtitles-deploy-mie
.template"
sed -i.orig -e "$new_version" "$dist_dir/aws-vod-subtitles-deploy-mie
.template"
sed -i.orig -e "$new_bucket" "$dist_dir/aws-vod-subtitles-deploy-mie.template"
sed -i.orig -e "$new_version" "$dist_dir/aws-vod-subtitles-deploy-mie.template"

sed -i.orig -e "$new_bucket" "$dist_dir/aws-vod-subtitles.template"
sed -i.orig -e "$new_version" "$dist_dir/aws-vod-subtitles.template"
Expand Down