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 uses advanced deep learning technologies to recognize speech in audio files or video files and transcribe them into text.
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 is a cloud service that leverages AI/ML technology to synthesize text into lifelike speech.
- Python 2.7.15
- ImageMagic
- s3 bucket
$ pip install awscli
$ pip install boto3
$ pip install requests
$ pip install moviepy
$ python translatevideo.py -h
python translatevideo.py \
-r us-east-1 \
-ib test-transcript-er \
-if hiroshima-speech-edited.mp4 \
-ol es de
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
- 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
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.
Feel free to open an issue on our issue tracker, but please:
- Provide details to reproduce the issue
- Traceback / Logs would be helpful File an issue at https://github.com/md-farhan-memon/video-translator-amazon-translate/issues/new