Mass Video Transcriber is a Python script that processes video files to extract audio, transcribe the audio using the Whisper model, and save the transcriptions as text files. The script preserves the directory structure of the input files in the output directories.
- Extracts audio from video files.
- Transcribes audio files using the Whisper model.
- Saves transcriptions as text files.
- Preserves directory structure of input files.
-
Clone the repository:
git clone https://github.com/yourusername/MassVideoTranscriber.git cd MassVideoTranscriber
-
Install the required dependencies:
pip install -r requirements.txt
-
Place your video files in the
videos
directory. -
Run the script:
python text-from-video.py
To skip video processing and only transcribe existing audio files in the audio directory, use:
python text-from-video.py processaudio
- /videos: Directory containing input video files.
- /audio: Directory for storing extracted audio files.
- /results: Directory for storing transcription text files.
python text-from-video.py
Licensed under Creative Commons CC0 1.0 Universal license. Do whatever you want with this.