0.0.2 • Published 4 years ago

video-transcript v0.0.2

Weekly downloads
2
License
WTFPL
Repository
bitbucket
Last release
4 years ago

#Video Transcript This tool transcripts any video or audio using google transcript service.

##Costs Usage of this package might incur costs as it uses Google Storage API And Google Cloud Speech To Text API. Please refer Google pricing.

- Package has been programmed to downmix multi channel audio to mono in order to decrease Speech API costs.
- Audio is encoded to low resolution (mono channel, 16 bit, 44000hz) flac in order to save Google Storage bandwidth and speed up package functionality

##Installation and configuration 1. Create new google cloud console project 2. Enable Google storage and Google cloud speech-to-text API 3. Create service account credentials - WARNING: This package will be using this service account key! If you do not trust the package, you should not be doing this - https://cloud.google.com/iam/docs/understanding-service-accounts - https://cloud.google.com/iam/docs/creating-managing-service-account-keys 4. Store the file somewhere locally 5. Create a new storage bucket - https://cloud.google.com/storage/docs/creating-buckets 6. Install application yarn global add video-transcript 7. You're ready to run the application by GOOGLE_APPLICATION_CREDENTIALS=YOUR_SERVICE_ACCOUNT_FILE_FROM_STEP_3 BUCKET_NAME=BUCKET_NAME_FROM_STEP_5 video-transcript --help