All Projects → aws-samples → amazon-ivs-auto-captions-web-demo

aws-samples / amazon-ivs-auto-captions-web-demo

Licence: MIT-0 license
Use Amazon IVS in conjunction with Amazon Transcribe to deliver real-time captions for live streams.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
CSS
56736 projects
Dockerfile
14818 projects
HTML
75241 projects

Projects that are alternatives of or similar to amazon-ivs-auto-captions-web-demo

amazon-ivs-chime-messaging-ugc-demo
This demo is designed to educate people who want to build live streaming platform with chatting feature. This demo is implemented using Amplify with Amazon IVS, ChimeSDK Messaging.
Stars: ✭ 20 (-44.44%)
Mutual labels:  ivs, amazon-ivs
buttonbuddy
Learn about accessible button contrast then generate your own accessible button color palette
Stars: ✭ 60 (+66.67%)
Mutual labels:  accessibility
sa11y
Salesforce Automated Accessibility Testing Libraries
Stars: ✭ 58 (+61.11%)
Mutual labels:  accessibility
Data-Whisperer
An NLP text to vizualization builder for Tableau.
Stars: ✭ 13 (-63.89%)
Mutual labels:  accessibility
LipSync
An open-source mouth operated sip and puff joystick that enables people with limited hand function emulate a mouse on their computer and/or smartphone.
Stars: ✭ 27 (-25%)
Mutual labels:  accessibility
aria-at
Assistive Technology ARIA Experience Assessment
Stars: ✭ 115 (+219.44%)
Mutual labels:  accessibility
dasher-web
Dasher text entry in HTML, CSS, JavaScript, and SVG
Stars: ✭ 34 (-5.56%)
Mutual labels:  accessibility
a11ycolor
🌈 Generate the nearest accessible color
Stars: ✭ 29 (-19.44%)
Mutual labels:  accessibility
accessibility
A Python C Extension that wraps the Accessibility API for Mac OS X.
Stars: ✭ 13 (-63.89%)
Mutual labels:  accessibility
AccessibilityExample
辅助功能(无障碍)的使用教程,适合新手快速入门(AccessibilityService)
Stars: ✭ 99 (+175%)
Mutual labels:  accessibility
ebu-tt-live-toolkit
Toolkit for supporting the EBU-TT Live specification
Stars: ✭ 23 (-36.11%)
Mutual labels:  captions
a11y-ally
A collection of tools to aid developers observe, verify, and test the accessibility of Android applications.
Stars: ✭ 23 (-36.11%)
Mutual labels:  accessibility
keynavish
Control the mouse with the keyboard, on Windows.
Stars: ✭ 59 (+63.89%)
Mutual labels:  accessibility
SAPC-APCA
APCA (Accessible Perceptual Contrast Algorithm) is a new method for predicting contrast for use in emerging web standards (WCAG 3) for determining readability contrast. APCA is derived form the SAPC (S-LUV Advanced Predictive Color) which is an accessibility-oriented color appearance model designed for self-illuminated displays.
Stars: ✭ 266 (+638.89%)
Mutual labels:  accessibility
dorai-ui
Accessible, unstyled, open-sourced, and fully functional react component library for building design systems
Stars: ✭ 34 (-5.56%)
Mutual labels:  accessibility
lint-html-with-css
Lint HTML with CSS. A collection of CSS snippets from the hashtag #lintHTMLwithCSS on twitter. These CSS snippets intend to warn developers about common mistakes made in HTML.
Stars: ✭ 35 (-2.78%)
Mutual labels:  accessibility
AStack
The Missing SwiftUI Adaptive and Accessible Stacks Library.
Stars: ✭ 110 (+205.56%)
Mutual labels:  accessibility
clappr-plugins
Main plugins for the Clappr project
Stars: ✭ 22 (-38.89%)
Mutual labels:  captions
accessibility-ruleset-runner
eBay Accessibility Ruleset Runner automates 20% of WCAG 2.0 AA recommendations, saving time on manual testing.
Stars: ✭ 24 (-33.33%)
Mutual labels:  accessibility
mapbox-gl-accessibility
An accessibility control for Mapbox GL JS
Stars: ✭ 64 (+77.78%)
Mutual labels:  accessibility

Amazon IVS Auto-captions Web demo

A demo web application for demonstrating how you can use Amazon IVS in conjunction with Amazon Transcribe to deliver real-time captions for live streams. This demo also shows how Amazon Translate can be used to deliver auto-translated captions to viewers (optional during deployment).

Auto-captions demo

This project is intended for education purposes only and not for production usage.

This is a serverless web application, leveraging Amazon IVS, Amazon Transcribe, Amazon ECS, Amazon API Gateway, AWS Lambda, Amazon DynamoDB, Amazon S3 and Amazon CloudFront. The web user interface is a single page application built using React.js and the Amazon IVS Player. The demo showcases how you can add real-time live captioning to an Amazon IVS stream using Amazon Transcribe. It also showcases how to configure image overlays to appear on top of the video player based on specific keywords, using TimedMetadata. This demo uses Amazon API Gateway WebSockets to deliver the captions to the connected clients, which are then used as a WebVTT track.


Getting Started

⚠️ IMPORTANT NOTE: Deploying this demo application in your AWS account will create and consume AWS resources, which will cost money.

To get the demo running in your own AWS account, follow these instructions.

  1. If you do not have an AWS account, please see How do I create and activate a new Amazon Web Services account?
  2. Log into the AWS console if you are not already. Note: If you are logged in as an IAM user, ensure your account has permissions to create and manage the necessary resources and components for this application.
  3. Follow the instructions for deploying to AWS.

Deploying to AWS


Architecture

architecture


Known issues and limitations ⚠️

  • The solution was built for demonstration purposes only and not for production use.
  • The solution requires streaming to an ECS container instead of directly to Amazon IVS, which may add points of failure and additional latency.
  • The solution is currently limited to a maximum connected viewers of ~200 (this limitation comes from the captions delivery mechanism, not Amazon IVS). Starting from 200 connected users and up, the execution time of the process to deliver the captions to connected clients increases and causes a timeout in the Lambda function (which is set at 3 seconds), resulting in captions not being delivered at all. A possible alternative approach to overcome this limitation would require replacing the WebSocket infrastructure (built on top of API Gateway, Lambda and DynamoDB) with a custom WebSocket Server implementation running in Amazon ECS and AWS Fargate. Read more here.
  • The solution's client-side caption syncing mechanism currently relies on an undocumented Player API. This API may be changed or deprecated in the future without notice.
  • In Firefox, captions may appear very close to the bottom border of the video when there are 4 or more rows of captions.
  • The solution was only tested in us-west-2 (Oregon) and us-east-1 (N. Virginia) regions. Additional regions may be supported depending on service availability.

Estimated costs

Deploying this solution in your AWS account will create and consume AWS resources, which will cost money.

Below is a table with estimated costs for scenarios with 1, 10, and 100 viewers, each receiving video in 1080p resolution during 1 hour with four translations enabled.

Note: These costs are estimates. Cost may vary depending on multiple factors such as (but not limited to) region, amount of viewers, duration, number of captions in the video, enabling the Translate feature, the number of translations that are activated, etc. Note that the estimated prices are in dollars and do not include taxes.


Service 1 viewer 10 viewers 100 viewers
Amazon Translate 30.78 30.78 30.78
Elastic Container Service 2.27 2.27 2.27
Interactive Video Service 2.15 3.5 17
Transcribe 0.73 0.73 0.73
CloudWatch 0.09 0.09 0.09
DynamoDB 0.02 0.25 2.5
API Gateway 0.02 0.25 2.5
Elastic Container Registry 0.09 0.09 0.09
Lambda 0.00 0.02 0.25
S3 0.00 0.00 0.00
CloudFront 0.00 0.00 0.02
Total estimated cost 36.15 37.98 56.23

About Amazon IVS

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].