KomlaRD / transcribe_audio_video

Python script to transcribe audio and video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python script to transcribe audio and video using whisper

Check out more information on whisper here

Instruction to install anaconda

You need to have anaconda installed to proceed with the following steps. This will ensure you can create and activate the conda environment.

Follow the link below to install Anaconda.

Anaconda

Create a conda environment using the yaml file provided

conda env create -f environment.yml

Activate environment

conda activate transcribe

Instruction file (ins.json)

  • Provide root path containing videos or audios as a value of "root_path".

  • Suggested video directory can be Videos and that of audio files can be Audios.

How to use script

Video script

python transcription_video.py

Audio script

python transcription_audio.py

About

Python script to transcribe audio and video


Languages

Language:Python 100.0%