Mass Transcribe
Project developer
Local batch transcription into text, subtitles, and structured segments.
Skills & tools
- Python
- uv
- faster-whisper
- FFmpeg

Overview
Mass Transcribe is a Python utility for converting a video or a directory of videos into local transcripts. It combines FFmpeg audio extraction with faster-whisper speech recognition, producing plain text, SRT subtitles, or JSON containing timestamped segments.
Recursive processing preserves the source folder structure beneath the output directory. A combined transcript can also collect the recordings into one document, with each source filename above its text. Audio processing and transcription run locally; after the selected model’s weights are cached, subsequent runs can work offline.
My contribution
The application code handles file discovery, coordinates audio extraction and transcription, and organizes the generated output. Its command-line interface accepts an input file or directory and a separate output destination, while configuration controls model selection, language, output formats, and existing-file behavior.
Separate functions handle media preparation, recognition, and transcript formatting. This structure allows the deterministic helpers to be tested without loading a speech-recognition model, and importing the module does not start a transcription batch.
Technical work
Python’s subprocess module invokes FFmpeg to extract 16 kHz mono PCM audio into a temporary WAV file. The script loads one faster-whisper model for the batch and reuses it across recordings. The default configuration uses the small Whisper model on CPU with int8 computation, a beam size of five, and voice-activity filtering enabled.
Recognized segments retain their start time, end time, and text. Output functions convert these into a continuous UTF-8 transcript, numbered SRT captions with millisecond timestamps, or JSON with model and detected-language metadata. Temporary audio is removed when processing leaves its temporary-directory context.
Challenges
Batch processing needs to recover from interruptions without repeating completed work. The script checks whether the requested outputs already exist before skipping a recording. Existing text transcripts can still be included in the combined document, and a failure on one video is reported while processing continues with the remaining files.
Keeping relative paths also separates recordings with the same filename in different source folders. Speech recognition still requires review when names, technical vocabulary, or overlapping speakers affect the transcript. JSON output retains the source video path, which should be checked before sharing.
Results and current state
The utility supports individual recordings and recursive batches, with configurable transcript formats and a combined-text export. Four helper tests pass, covering supported-file discovery and sorting, removal of blank text segments, negative timestamp handling, and millisecond rounding.
Python 3.12 and a uv dependency lock define the project environment. Source recordings, model weights, generated transcripts, and the virtual environment remain outside Git history.