Git Product home page Git Product logo

aws-lambda-go-transcribe2srt's Introduction

aws-lambda-go-transcribe2srt

This is a work-in-progress project, which I've been working on to learn Golang. It uses several AWS services to convert the dialog in media file to SRT format

The entire project is written in GO, and makes use of the following AWS resources:

  • S3
  • Lambda
  • Transcribe Service

Transcribing

This uses the transcribe.go script. Only S3 is supported for the source location of the media files. There's no upload functionality in the script.

Make a Lambda function for the Transcribe script. Link this to an S3 bucket. Create an Event watch to kick off the function when a CreateObject event has occurred. This handles the Transcribe job itself.

Obtaining the SRT

This uses the convert.go script

Two sources are, in varying levels of completeness, in place for triggering the job to convert and provide an SRT file from a completed Transcribe job:

  • API Gateway
  • Lex

Also in place is processing of an Alexa skill. This only reads out the transcript from the job, since it doesn't really make sense to read it out in SRT format.

Known Issues

The structs, method for handling data, and general layout of the code suck big time...

The end time entry for the last sequence in the SRT file is always wrong.

Contributing

Bug reports and contributions for the project are always welcome at the repo on GitHub.

##History 22/04/2018 : First operating version 24/04/2018 : API Gateway and Lex support 03/05/2018 : Alexa integration added

Developed on OSX 10.13.3 with Go v1.10

##License Apache 2.0 (see LICENSE)

aws-lambda-go-transcribe2srt's People

Contributors

tim-pringle avatar

Watchers

 avatar  avatar

Forkers

catalinvr

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.