File size: 1,050 Bytes
99603dd
2a21a53
 
99603dd
2a21a53
99603dd
2a21a53
99603dd
 
 
2a21a53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: VOD Transcriber
emoji: 🎙
colorFrom: gray
colorTo: gray
sdk: docker
app_port: 7860
pinned: false
---

# VOD Transcriber
This directory contains `transcribe_vod.sh` and the transcript outputs.

## What was fixed
- Added a dependency check for `ffmpeg` before extraction.
  - If missing, the script now exits with:
    - `Error: ffmpeg not found in PATH.`
    - `Install ffmpeg with: brew install ffmpeg`
- Removed suppression of `ffmpeg` extraction errors so failures are visible.
- Updated Homebrew whisper executable path from `.../bin/whisper-cpp` to `.../bin/whisper-cli`.

## Why extraction previously failed
The script attempted to run `ffmpeg` without verifying it existed, and stderr was redirected away on extraction. When `ffmpeg` was missing, this produced exit code `127` with limited diagnostics.

## Verification
After installing `ffmpeg` and updating the script:
- audio extraction from `vod.mp4` completed successfully
- whisper transcription completed successfully
- transcript output was written to `vod_transcript.txt`