Document and verify multi-format audio discovery

This commit is contained in:
2026-12-02 03:25:20 +00:00
parent 9e2fc7313e
commit 0ec57fe2f4
12 changed files with 96 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ Generate raw per-speaker transcripts from prepared audio using WhisperX.
## Inputs
- `audio/*.flac` from `prepare`
- prepared recordings in `audio/` from `prepare`
## Outputs
@@ -15,7 +15,9 @@ Generate raw per-speaker transcripts from prepared audio using WhisperX.
## Key Behavior
- discovers prepared audio from manifest inputs or the canonical audio
directory and derives each speaker identity from its `.flac` filename.
directory. Manifest-selected files are authoritative; fallback scans use the
shared candidate filter. Speaker IDs remove the final filename extension;
duplicate IDs are rejected before dispatch.
- hashes the current audio and reconciles it with the versioned per-speaker
completion collection before starting HTTP work.
- reuses only records whose audio identity, observable WhisperX semantics,
@@ -83,7 +85,7 @@ reuse it normally.
- [WhisperX](../integrations/whisperx.md) owns HTTP, retry, timeout, and
cancellation semantics.
- [Configuration](../config.md#pipeline) owns concurrency and other
- [Configuration](../config.md) owns source selection, concurrency, and other
operator-selected values.
- Implementation and tests: `internal/stage/transcribe.go`,
`internal/stage/transcribe_reconciliation.go`,