Skip to content

fix: full-target capture, % in output paths, odd compress width, exact trim by default - #248

Merged
TMHSDigital merged 1 commit into
mainfrom
fix/batch-capture-paths-trim
Oct 25, 2026
Merged

TMHSDigital merged 1 commit into
mainfrom
fix/batch-capture-paths-trim

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Batch 1 of the open-issue sweep: small capture, path and trim bugs.

Changes

Refs #203: the concat half (inputs that already carry hidden frames) is left for the next batch together with #206 (concat probing inputs).

Testing

  • npm run typecheck, npm run lint, npm run build: clean
  • Unit tests: new tests for resolveCaptureTarget full, odd desktops, captureFrame, compress filter, -update 1, sequencePattern and stillOutput
  • REQUIRE_FFMPEG=1 integration (ffmpeg 8): trim packet count with -ignore_editlist 1 (exact ≤ 61 packets, copy holds more), compress at odd width gives a 236 px wide file, % dir and name paths exist
  • Live check on this machine: full resolves to 1 monitor and a 1920x1080 area
  • One failure: sessions.test.ts "several server processes write at once". This is the known flake tracked in Session registry: lock gives up and writes unlocked after 2 s (flaky test), and reads never refresh from disk #235 and unrelated to this change.

Fixes #180
Fixes #226
Fixes #239
Fixes #238

🤖 Generated with Claude Code

…t trim by default

- wait_for_change "full" resolves with the live monitor list (#180)
- recording "full" on an odd-sized virtual desktop grabs an even region (#226)
- compress rounds an odd maxWidth down to even (#239)
- % in output dirs/names stays literal: escaped sequence patterns, -update 1 (#238)
- trim re-encodes by default so nothing before start ships in the file;
  exact: false keeps the stream copy; captures get a 2 s keyframe interval (#203)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@TMHSDigital
TMHSDigital merged commit a0c0c49 into main Oct 25, 2026
8 checks passed
@TMHSDigital
TMHSDigital deleted the fix/batch-capture-paths-trim branch October 25, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment