video-transcript
v0.0.2
Published
This tool transcripts any video or audio using google transcript service.
Downloads
1
Readme
#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
- Create new google cloud console project
- Enable
Google storage
andGoogle cloud speech-to-text API
- 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
- Store the file somewhere locally
- Create a new storage bucket
- https://cloud.google.com/storage/docs/creating-buckets
- Install application
yarn global add video-transcript
- 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