Files
hyperframes/packages
xuanruandClaude Opus 4.8 1f377f732b fix(cli): extract snapshot video frames from remote http(s) srcs
`hyperframes snapshot` works around Chrome-headless's inability to seek
`<video>` elements by extracting a frame via FFmpeg and injecting it as an
overlay. That path only resolved `<video src>` to a project-LOCAL file and
skipped everything else — so a composition whose embedded `<video>` points
at a remote http(s) URL (e.g. an S3-hosted clip embedded by an upstream
agent) rendered as a blank box in every snapshot, while `render` (which
plays the element in-browser) showed it fine.

Add a remote fallback: when the src doesn't resolve to a project-local file
but is an http(s) URL, pass the absolute URL straight to FFmpeg (it reads
http(s) input directly). Local-first is preserved (fast, sandboxed); the
existing 30s extract timeout bounds remote fetches.

Verified on a real composition: remote-src snapshot was blank, local-src
rendered; `ffmpeg -ss N -i <https-url> -frames:v 1` extracts in ~0.5s.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 21:37:40 +00:00
..
2026-06-29 21:13:39 -07:00
2026-06-29 21:13:39 -07:00
2026-06-29 21:13:39 -07:00
2026-06-29 21:13:39 -07:00
2026-06-29 21:13:39 -07:00
2026-06-16 13:16:09 -04:00
2026-06-29 21:13:39 -07:00
2026-06-29 21:13:39 -07:00