Giter Club home page Giter Club logo

video-transcriber-translator's Introduction

Video Transcribing and Translation with subtitling

Video transcriber and translator using Amazon Translate, Transcribe and Polly

Inspired by AWS Machine Learning Blog: Create video subtitles with translation using machine learning

Amazon Transcribe

Amazon Transcribe uses advanced deep learning technologies to recognize speech in audio files or video files and transcribe them into text.

Amazon Translate

Amazon Translate is neural machine translation service that delivers fast, high-quality, and affordable language translation. It uses deep learning models to deliver more accurate and more natural sounding translations.

Amazon Polly

Amazon Polly is a cloud service that leverages AI/ML technology to synthesize text into lifelike speech.

Prerequisite

  • Python 2.7.15
  • ImageMagic
  • s3 bucket

Python Packages

$ pip install awscli
$ pip install boto3
$ pip install requests
$ pip install moviepy

How to use

For help and argument descriptions check help section

$ python translatevideo.py -h

For generating only srt files with translations

python translatevideo.py \
       -r us-east-1 \
       -ib test-transcript-er \
       -if hiroshima-speech-edited.mp4 \
       -ol es de

For generating audio/video files along with translations and subtitle

python translatevideo.py \
       -r us-east-1 \
       -ib test-transcript-er \
       -if hiroshima-speech-edited.mp4 \
       -ol es de \
       -av true \
       -ofn edited \
       -ob test-transcript-er \
       -oft mp4

Supported Translations

  • es - Spanish
  • de - German
  • cmn - Chinese, Mandarin
  • da - Danish
  • nl - Dutch
  • fr - French
  • is - Icelandic
  • it - Italian
  • ja - Japanese
  • ko - Korean
  • nb - Norwegian
  • pl - Polish
  • pt - Portuguese
  • ro - Romanian
  • ru - Russian
  • sv - Swedish
  • tr - Turkish
  • cy - Welsh

Contribute

Contributions are welcome, be it feedback, bug reports, documentation, translation, research or code. Feel free to work on any of the open issues, just leave a comment that you're working on one to avoid duplicated work.

Do you have further questions or feedback or having problems?

Feel free to open an issue on our issue tracker, but please:

video-transcriber-translator's People

Contributors

md-farhan-memon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.