Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prkindia/AudioScript

Auto Generate Subtitle File For Any Type Of Audio and Video. Using Python and Google Speech-to-Text API.
https://github.com/prkindia/AudioScript

Last synced: 3 months ago
JSON representation

Auto Generate Subtitle File For Any Type Of Audio and Video. Using Python and Google Speech-to-Text API.

Awesome Lists containing this project

README

        

# AudioScript
### Get The Official App Available On PlayStore - [AudioScript](https://play.google.com/store/apps/details?id=com.prktech.audioscript)

Auto Generate Subtitle File For Any Type Of Audio and Video. Using Python and Google Speech-to-Text API. This application mainly focuses on the lack of subtitles for media files, this will generate the .srt file for any language.
> Supported Codecs
- .mp3
- .mp4
- .wav
- .avi
- .mov
- .mts
- .m4a
- `All of the media codecs`

> # Installation
Use `git clone https://github.com/dmcrobin/AudioScript.git` and change directory to AudioScript.

- Install Required Libraries

`pip install modules.txt`
- Run The Command

`./audioscript.py [audio/video]_file.[ext] [language]`

For example, `./audioscript.py hello.mp4 en-US`

List of languages, goto [Google's language support](https://cloud.google.com/speech-to-text/docs/languages)
- Get Your Transcript

Go to `transcripts` folder, .srt will be generated, depending on the length of your media file.

### This application uses a JSON file that gives access to upload small chunks of audio to your bucket for faster processing, to download your own secret.json file please check in later

Peace!