GithubHelp home page GithubHelp logo

kfur / subtitlesfor.me Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 506 KB

Convert audio to subtitles by using IBM Watson Speech to Text

Home Page: http://subtitlesfor.me

License: MIT License

Dockerfile 1.09% Go 94.90% CSS 0.88% JavaScript 3.13%
go subtitles ibm-watson ffmpeg speech-to-text ugly-code

subtitlesfor.me's Introduction

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

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:

{
    "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.

subtitlesfor.me's People

Contributors

kfur avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

myforkedapps

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.