mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-05 05:37:09 +00:00
fix(cli): use --output-json-full for word-level timestamps
--output-json only produces segment-level timing (no tokens). --output-json-full is required for word-level timestamps that the captions template needs. Special tokens are filtered out by the patchTranscript function. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Vance Ingalls
co-authored by
Claude Opus 4.6
parent
caa82c14e0
commit
afa73ef882
@@ -102,7 +102,17 @@ export async function transcribe(
|
||||
|
||||
execFileSync(
|
||||
whisper.executablePath,
|
||||
["--model", modelPath, "--output-json", "--output-file", outputBase, "--dtw", model, wavPath],
|
||||
[
|
||||
"--model",
|
||||
modelPath,
|
||||
"--output-json-full",
|
||||
"--output-file",
|
||||
outputBase,
|
||||
"--dtw",
|
||||
model,
|
||||
"--suppress-nst",
|
||||
wavPath,
|
||||
],
|
||||
{ stdio: "ignore", timeout: 300_000 },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user