- Create a Google Cloud Platform credentials.json
- Install ffmpeg for converting .mp4 files into .mp3
- Install python requirements
pip install -r requirements.txt
- Create a folder named "video" and put your .mp4 files in the folder. The folder name can be changed in constants.py by changing the
VIDEO_DIR
. - Create a bucket in Google Cloud storage and edit the
BUCKET
variable in constants.py - Run
python main.py
danielholmes839/lecture-transcription-v2
Automatically transcribes the audio of mp4 files using Google Cloud speech to text API.
Python