Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kfur/subtitlesfor.me
Convert audio to subtitles by using IBM Watson Speech to Text
https://github.com/kfur/subtitlesfor.me
ffmpeg go ibm-watson speech-to-text subtitles ugly-code
Last synced: about 1 month ago
JSON representation
Convert audio to subtitles by using IBM Watson Speech to Text
- Host: GitHub
- URL: https://github.com/kfur/subtitlesfor.me
- Owner: kfur
- License: mit
- Created: 2019-05-25T13:10:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T11:43:53.000Z (over 5 years ago)
- Last Synced: 2023-11-15T17:46:00.834Z (about 1 year ago)
- Topics: ffmpeg, go, ibm-watson, speech-to-text, subtitles, ugly-code
- Language: Go
- Homepage: http://subtitlesfor.me
- Size: 494 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# subtitlesfor.me
Basic MVC Web App that convert audio to subtitles by using speech to text from IBM Watson API.
Audio can be provided from almost any video and audio formats except aac(due to IBM Watson API limitations),
also audio is splitted on several parts to speed up conversion(thanks to ffmpeg).Audio is converted to SRT caption/subtitle format from Watson STT generated JSON.
## Build
Install dependencies:* MacOS: `brew install ffmpeg`
* Ubuntu: `sudo apt install ffmpeg libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev libswscale-dev libswresample-dev`To build run:
`go build`## Usage
Run `./subtitler`Then open: [localhost](http://localhost)
## IBM Watson TTS
To use this app you must have credentials from IBM Speech to Text service.
You can grab it on your IBM Cloud profile page.
Add your credentials to `config/config.json`:~~~ json
{
"SpeechToTextOptions": {
"URL": "url to your speech to text service location",
"IAMApiKey": "your key here"
},
}
~~~## Feedback
All feedback is welcome. Let me know if you have any suggestions, questions, or criticisms.
If something is not idiomatic to Go, please let me know know so we can make it better.