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

@@ -681,6 +681,21 @@ Audio rules:
- configure local mode (`audio_dir` or `audio_files`) or S3 mode (`audio_s3.prefix`), not both.
- `audio_s3` requires `pipeline.storage.backend: s3` and a configured S3 bucket.
- Explicit `audio_files` take precedence over `audio_dir`. Paths are resolved relative
to the session document and must identify regular files. Explicit files and
manifest-registered audio may have any suffix or none.
- Local directory scans are non-recursive. S3 selection scans the configured
prefix relative to the session's S3 prefix. Both use the same case-insensitive
candidate suffixes: `.aac`, `.aif`, `.aifc`, `.aiff`, `.alac`, `.amr`,
`.ape`, `.au`, `.caf`, `.flac`, `.m4a`, `.m4b`, `.mka`, `.mp2`, `.mp3`,
`.mp4`, `.oga`, `.ogg`, `.opus`, `.snd`, `.wav`, `.wave`, `.weba`, `.webm`,
`.wma`, and `.wv`. Other entries are ignored by automatic discovery.
- Distinct local paths with the same full basename receive distinct prepared
names. Speaker IDs use the prepared filename without its final extension. If
two resulting IDs match, choose one encoding or rename the recordings. S3
objects with the same full basename are rejected.
- Selection does not verify encoding. The transcription backend determines
whether it can decode the selected bytes.
### Storage backend selection