Dubbing Delivery Specification
Request Boundaries
Rendered clips that succeed are accepted and retain the original program sound by default. Without an explicit dubbing, narration, voice replacement, or independent verification request, do not initiate TTS, ASR, source separation, audio quality measurement, or lip-sync checks. Historical failed dialog/timbre quality remains intact; component changes must not reconfigure the same successful shot.
Only enter the dubbing workstation when a new voice is explicitly needed: read a short passage, add narration to a named time window, or replace a specific sound segment according to an authorized archive. Authorization, tenant, license, quota, and original clip read-only remain in effect; directly accepting an old shot does not grant authorization to clone a new voice.
Process Specifications and Parameter Reference
| Parameter | Announcement Reference | Final Dubbing Reference | Current Meaning |
|---|---|---|---|
| Loudness Target | -16 LUFS | -14 LUFS | Single normalization parameter for explicit request, not a default recheck threshold |
| True Peak Target | -1.5 dBTP | -1.0 dBTP | Processing reference for request, not a default measure to judge final clip |
| Voice Track | 24kHz Mono | Mixed into video per current engine output | Receipt records actual specification |
| Breath Gap | 150–250ms | Per specified time window | Do not additionally modify unrequested dialog |
| Speech Rate Suggestion | 0.95–1.05× | 0.9–1.15× | User choice and engine support boundary |
| File | <role>-<purpose>-vN.wav | <project>-vN-dubbed.mp4 | New files; old inputs read-only |
SOP (Authorization → Explicit Generation → Processing Receipt)
- The trigger is an explicit request for a new voice; verify the profile, reference audio SHA256, declared speaker, and authorization scope. The receipt records the archive and license; failure if authorization does not cover the purpose, and must not substitute an unknown voice.
- Fix the script, language, and per-segment
start/end/text; check actual engine support and parameter validity. Explicit failure on empty script, illegal time window, missing engine, or segment handling overflow; prohibit automatic addition of unrequested lines. - Call
voicewrite.speakorvoicewrite.dubonce; if loudness normalization is requested, execute a single actual filter pass. Do not use quality readback to trigger a second pass, silent replacement, or TTS retry. - Record actual engine, model, segment count, adopted parameters, duration, and SHA256; verify actual output readability and current file bytes. Source files and reference audio remain read-only.
- By default, label
qualityReviewed=false, quality score null; unmeasured LUFS, peak, ASR, or lip-sync remain empty. When the user explicitly requests verification, call a separate independentverify; results do not retroactively affect the acceptance of the original source shot.
voice-cli speak --text "Welcome to our store" --profile zh-xiaozhi --out narration-v2.wav --lufs -16
voice-cli dub --in film.mp4 --out dubbed-v2.mp4 --profile zh-xiaozhi --text "Specified narration" --policy keep-dialogue
Explicit Independent Verification
voicewrite.verify / voice-cli verify can verify lines or voice upon explicit request. Text comparison uses standardized Unicode codepoint order; the default min_match_ratio of 0.6 belongs to this diagnostic interface. Missing original script, empty transcription, engine error, or timeout remain unverified and must not masquerade as passing. Only explicitly no-speech can declare speech_expected=false.
Explicit diagnostics can generate evidence such as measured/failed/unverified, but are not started by default, nor do they automatically trigger redubbing, deletion of successful assets, or approval of post-processing. Tone, timbre, and expression remain user opinion; technical readings cannot claim to have completed these judgments.
Parameter Boundaries and Guardrails
- Newly generated voice must have a valid profile and purpose authorization; failure if scope mismatch (G-VOICE1/G-VOICE6).
- Input original clip, reference audio, and output must not be identical; overwriting them is prohibited (G-VOICE2); customer voice and archive do not leave the authorization domain (G-VOICE5).
- Time window, language, rate, and file path are checked against actual engine legality; must not fake completion with unknown fields or unsupported languages.
- G-VOICE3 retains actual processing and failure due to missing components; must not require default ASR/loudness/lip-sync quality rechecks.
- User request to discard original sound must have explicit authorization; by default, retain program sound, do not infer already-separated dialog.
Failure Modes (Symptom → Cause → Resolution)
| Symptom | Cause / First Check | Resolution |
|---|---|---|
| Archive or reference not found | Profile, reference SHA256, and source record | Name the missing item, stop new generation |
| Authorization purpose mismatch | Consent scope, tenant, speaker | Return authorization failure, must not degrade to unknown external voice |
| Unsupported language or engine | Actual configuration and engine response | Report truthfully, do not fake support |
| Segment overflow / illegal request time window | Script length and start/end | Modify explicit script/time window and submit new request, no automatic multi-pass TTS |
| FFmpeg non-zero exit or no output | Actual command, stderr, path permissions | Save processing error, incomplete, do not erase original sound |
| User says pronunciation/timbre not suitable | User feedback, original text/archive | Point out segment and parameters, then local/explicit new request, do not regenerate video |
| Original clip silent or poor audio quality | Actual stream of original program | Continue post-production by default; do not add narration or enable ASR based on this |
Output Contract
Product path, SHA256, source and authorization archive, engine/model, actual time window, processing count, and errors must be traceable to the actual execution. Versions only increment, never overwrite; applied loudness filter and unmeasured diagnostics are recorded separately. Lack of actual output cannot claim completion; untested audio quality cannot claim compliance with quality standards.