You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: target "full" fails to record when the virtual desktop has an odd width or height #226
full is the default capture target. On multi-monitor setups with offset monitors, the virtual desktop is often odd-sized, so the very first start_recording a user tries fails with "exited immediately".
Evidence
src/utils/targets.ts:189-190: case "full": return ["-i", "desktop"];. Region and monitor targets go through evenDown (targets.ts:201-222); full does not.
Example: two 1920x1080 monitors, the second offset to y=301, give a 3840x1381 desktop. libx264 + yuv420p rejects the odd height. Reproduced with ffmpeg 8: Task finished with error code: -22.
Turn full into an even-sized region of virtualDesktopBounds (offset_x/offset_y/video_size with evenDown), or append crop=trunc(iw/2)*2:trunc(ih/2)*2. Apply the same rounding in captureFrame for full.
Done when
A unit test covers full on an odd-sized virtual desktop and the args produce even dimensions.
Activity
fix: full-target capture, % in output paths, odd compress width, exac…