Skip to content

SAM application that converts mp4 file to mp3 file using AWS MediaConvert, transcribe the mp3 file to subtitle (SRT) file using AWS Transcribe, and translate the subtitle (SRT) file from the source to target language using AWS Translate

Notifications You must be signed in to change notification settings

raykrishardi/cf-sam-video-transcription-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-sam-video-transcription-translate

AWS SAM (Serverless Application Model) that performs the followings:

  1. Convert mp4 (video s3 bucket) to mp3 file (audio s3 bucket) using AWS MediaConvert
  2. Transcribe mp3 file (audio s3 bucket) to subtitle (SRT) file (transcription s3 bucket) using AWS Transcribe
  3. Translate subtitle (SRT) file (transcription s3 bucket) from the source to target language (translation s3 bucket) using AWS Translate
    • If language source code for translation is set to "auto", AWS Comprehend will be used

Getting Started

Local Deployment

Run on local machine

npm i -g cfn-include
make build

# Deploy the app by specifying the parameters
# This will create the specified bucket names
sam deploy --guided

About

SAM application that converts mp4 file to mp3 file using AWS MediaConvert, transcribe the mp3 file to subtitle (SRT) file using AWS Transcribe, and translate the subtitle (SRT) file from the source to target language using AWS Translate

Resources

Stars

Watchers

Forks

Packages

No packages published