Keyframe sampling test, run 2026-11-16 (UTC 10:18) for SearchByVideo. What it measures: how many keyframes SearchByVideo's own browser extraction code takes from videos of different lengths, where they fall, their pixel size, and how many bytes of JPEG keyframes would leave the browser. The video file itself never leaves the browser. Code under test: src/shared/lib/video-keyframes.ts (extractModerationFrames), commit d68cd91, transpiled to kf.js with the TypeScript compiler, no other changes. Browser: Chromium 148.0.7778.96 (Playwright), macOS. Inputs: 5 synthetic videos made with ffmpeg, 1, 3, 5, 10 and 30 minutes long: ffmpeg -f lavfi -i "testsrc2=size=1280x720:rate=2:duration=" \ -c:v libvpx-vp9 -deadline realtime -cpu-used 8 -b:v 200k vm.webm (WebM/VP9 because Playwright's Chromium has no H.264 decoder.) Run: put kf.js and the v*m.webm files in one folder, then node run.mjs Output: results.json (frames, first/last timestamp, gap between frames, frame size, total JPEG kilobytes, extraction time in this browser). Limits: synthetic test pattern, not real footage. JPEG size depends on picture content, so real videos will send more or fewer kilobytes. Extraction time depends on the device. This test does not measure search accuracy or timestamp error.