mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
fix(cli): keep diagnostics on stderr for --json commands (#2522)
This commit is contained in:
@@ -1908,7 +1908,9 @@ export async function compileForRender(
|
||||
);
|
||||
}
|
||||
if (metadata.isVFR) {
|
||||
console.info(
|
||||
// defaultLogger (stderr), not console.info (stdout) — matches the sibling
|
||||
// warning above; a stdout line here corrupts `check --json` / `validate --json`.
|
||||
defaultLogger.warn(
|
||||
`[Compiler] Video "${video.id}" is variable frame rate (VFR); ` +
|
||||
`the engine will normalize it to CFR before frame extraction. ` +
|
||||
`If rendering feels slow on this video, pre-encode once with: ${reencode}`,
|
||||
|
||||
Reference in New Issue
Block a user