hyperframes 0.6.100 → 0.6.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -464,13 +464,16 @@
464
464
  const area = intersectionArea(a.rect, b.rect);
465
465
  if (area <= Math.min(rectArea(a.rect), rectArea(b.rect)) * 0.2) return null;
466
466
  return {
467
+ // Warning, not error: must not fail the exit code (ok = errorCount === 0)
468
+ // for compositions that intentionally layer text. Re-promote once the
469
+ // data-layout-allow-overlap opt-out is widely adopted.
467
470
  code: "content_overlap",
468
- severity: "error",
471
+ severity: "warning",
469
472
  time,
470
473
  selector: selectorFor(a.element),
471
474
  containerSelector: selectorFor(b.element),
472
475
  text: textContentFor(a.element),
473
- message: "Two text blocks overlap and render unreadable.",
476
+ message: "Two text blocks overlap and may render unreadable.",
474
477
  rect: a.rect,
475
478
  fixHint:
476
479
  "Give each block its own zone, or mark intentional layering with data-layout-allow-overlap.",
@@ -19,6 +19,7 @@ Requires: Docker installed and running.
19
19
  - `-w, --workers` — Parallel workers 1-8 (default: auto)
20
20
  - `--crf` — Override encoder CRF (mutually exclusive with `--video-bitrate`)
21
21
  - `--video-bitrate` — Target video bitrate such as `10M` (mutually exclusive with `--crf`)
22
+ - `--video-frame-format` — Source video frame extraction format: `auto`, `jpg`, or `png` (default: `auto`). Use `png` for UI recordings, screen captures, and color-sensitive source videos.
22
23
  - `--gpu` — Use GPU encoding (NVENC, VideoToolbox, AMF, VAAPI, QSV)
23
24
  - `--browser-gpu` / `--no-browser-gpu` — Force host GPU or software (SwiftShader) for Chrome/WebGL capture. Default for local renders is `auto` — probe WebGL availability on first launch and fall back to software if no GPU is reachable. Docker mode always uses software.
24
25
  - `-o, --output` — Custom output path
@@ -28,5 +29,6 @@ Requires: Docker installed and running.
28
29
  - Use `draft` quality for fast previews during development
29
30
  - Local renders auto-detect GPU on first launch; use `--browser-gpu` to force hardware (errors if no GPU) or `--no-browser-gpu` to force SwiftShader
30
31
  - Use `--gpu` when a local render also benefits from hardware FFmpeg encoding
32
+ - Use `--video-frame-format png` when source videos contain saturated UI colors that should avoid JPEG extraction
31
33
  - Use `npx hyperframes benchmark` to find optimal settings
32
34
  - 4 workers is usually the sweet spot for most compositions