Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/prkindia/AudioScript
- Owner: prkindia
- License: mit
- Created: 2020-04-06T18:11:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T17:03:17.000Z (over 4 years ago)
- Last Synced: 2024-07-18T11:04:58.742Z (4 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 14
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!