{"record":{"id":"a2a818997d2cf8d8","repo":"diegosouzapw/OmniRoute","slug":"video-frames-could-not-be-described","errorCode":null,"errorMessage":"Video frames could not be described","messagePattern":"Video frames could not be described","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/guardrails/videoBridgeHelpers.ts","lineNumber":629,"sourceCode":"        const caption = (await captionFrame(frame.dataUri, frame.timestampSeconds, signal)).trim();\n        if (caption) {\n          descriptions.push(\n            `${\n              contactSheet?.used\n                ? `contact-sheet[timestamps=${contactSheet.timestamps.map(formatVideoTimestamp).join(\",\")}]`\n                : `frame@t=${formatVideoTimestamp(frame.timestampSeconds)}`\n            } ${caption}`\n          );\n        }\n      } catch {\n        if (signal.aborted) {\n          throw new Error(\"Video Bridge processing timed out or was aborted\");\n        }\n        // Partial frame failures are omitted. An all-frame failure is handled below.\n      }\n    }\n    if (descriptions.length === 0) {\n      throw new Error(\"Video frames could not be described\");\n    }\n    let fusionTelemetry: VideoFusionTelemetry | undefined;\n    if (part.audioTranscript !== undefined) {\n      // Audio validation runs inside the fusion's audio branch on purpose: an\n      // invalid audioTranscript must surface as a partial fusion (video kept,\n      // failures.audio recorded), never fail the whole video description.\n      const fused = await fuseVideoAndAudio({\n        audio: async () => ({\n          observations: normalizeVideoTranscript(\n            part.audioTranscript,\n            extracted.durationSeconds\n          ).map((cue) => ({ ...cue, source: \"audio\" as const })),\n        }),\n        signal,\n        timeoutMs: options.timeoutMs,\n        video: async () => ({\n          observations: descriptions.map((text, index) => ({\n            confidence: 1,","sourceCodeStart":611,"sourceCodeEnd":647,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/guardrails/videoBridgeHelpers.ts#L611-L647","documentation":"Error \"Video frames could not be described\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/guardrails/videoBridgeHelpers.ts:629 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}