Repository navigation
fix: full-target capture, % in output paths, odd compress width, exact trim by default - #248
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch 1 of the open-issue sweep: small capture, path and trim bugs.
Changes
resolveCaptureTarget("full")returns the live monitor list, sowait_for_change { target: "full" }no longer throws "No monitors found." ThestartRecordingworkaround is gone.fullgrabs an even-sized region of the desktop. With no monitor geometry it falls back to acrop=trunc(iw/2)*2:...filter.captureFramerounds the same way.compresswidth cap istrunc(min(N,iw)/2)*2, so it is always even and never upscales.paths.ts:sequencePattern()escapes%in the directory part of image-sequence patterns, andstillOutput()adds-update 1to every single-image output (samples, tiles, sheet, poster, preview, arrow, highlight, screenshots, find_text).trimre-encodes by default (exact: true), so nothing from beforestartships in the file.exact: falsekeeps the old stream copy, and the tool description warns about it. Captures (gdigrab and WGC) set-gto 2 s of frames. Re-encoded.webminput defaults to.mp4viaeditOutputExt(), which batch 2 reuses for Bug: edit tools fail on .webm input (libx264/AAC into WebM), and audio tools fail on audio-only outputs #187.trim's default changed). CHANGELOG, README andmcp-tools.jsonupdated.Refs #203: the
concathalf (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: cleanresolveCaptureTargetfull, odd desktops,captureFrame, compress filter,-update 1,sequencePatternandstillOutputREQUIRE_FFMPEG=1integration (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 existfullresolves to 1 monitor and a 1920x1080 areasessions.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