目录

awscdk-app-automated-caption-placement-demo

AWS CDK app for deploying the necessary resources for the automated caption placement demo

Demo

Uploading a video file to S3 bucket triggers the following jobs:

diagram.png

Install

  1. Setup CDK environment (including Node.js, Docker)

  2. Install this CDK app

    $ git clone https://github.com/kuu/awscdk-app-automated-caption-placement-demo.git
    $ cd awscdk-app-automated-caption-placement-demo
    $ npm i

Deploy

$ npx cdk deploy

Resources

The following resources will be deployed:

  • AWS::S3::Bucket x 2
  • AWS::Events::Rule x 1
  • AWS::StepFunctions::StateMachine x 1
  • AWS::Lambda::Function x 12
  • AWS::SNS::Topic x 2
  • AWS::SQS::Queue x 2
  • AWS::CloudFront::Distribution x 1

Outputs

After the deployment, the following output will be printed:

  • InputBucket: S3 bucket to upload the input file to
  • OutputBucket: S3 bucket to store the output files
  • EventBridgeRuleName: The EventBridge Rule to recieve S3 notifications and trigger the StepFunction state machine
  • PlaybackUrl1: HLS playlist transcoded with the original caption
  • PlaybackUrl2: HLS playlist transcoded with the styled caption

Cleanup

$ npx cdk destroy
关于
486.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号