Commit Graph
112 Commits
Author SHA1 Message Date
lashman 8123558ad8 pick the gif key color from the preview 2026-11-15 20:18:00 +02:00
lashman 81478cd08c key out gif backgrounds 2026-11-09 17:24:00 +02:00
lashman 9b31e2daa9 add mouse flicks to the gif filmstrip 2026-11-03 21:06:00 +02:00
lashman 15d2074393 remove and restore gif frames 2026-10-28 19:52:00 +02:00
lashman b4d1d6c734 separate trim from review and save 2026-10-22 20:33:00 +03:00
lashman 271613f6f9 keep the recording frame frameless 2026-10-16 21:17:00 +03:00
lashman 3298d2c9e0 redesign capture and settings 2026-10-10 18:42:00 +03:00
lashman 99ff7fc5e2 keep recording audio and video in sync 2026-09-28 20:14:00 +03:00
lashman 730b8df0fe verify downloads before installing them 2026-09-22 19:21:00 +03:00
lashman 0da3691a1b let the capture rate be capped on purpose, off by default 2026-09-21 06:59:30 +03:00
lashman a953875405 keep capturing at the panel rate and name the fps setting after what it does 2026-09-21 06:49:37 +03:00
lashman aef64fa4e3 lint the test targets, make the fps setting real, and stop tonemapping sdr captures 2026-09-21 06:45:23 +03:00
lashman 4b850096a1 drop the dead code and close the gaps in the verification gate 2026-09-21 06:35:52 +03:00
lashman 4125d509cc format the rust sources and split the functions that pushed over the line 2026-09-21 06:33:23 +03:00
lashman 205f68222c get the encoder work off the main thread and harden the update path 2026-09-21 06:29:39 +03:00
lashman af30963223 fix the behaviour bugs in capture, encode and the overlay poller 2026-09-21 06:26:29 +03:00
lashman b33ce5bf77 fix the failures that were failing quietly 2026-09-21 06:22:44 +03:00
lashman c9ee532bd3 extract the d3d descriptors and cover the sweep and guard paths 2026-09-21 02:10:52 +03:00
lashman e1a7b234b7 return unit from main 2026-09-21 01:47:19 +03:00
lashman 1268b1d211 release the mapped texture even when the readback fails 2026-09-21 01:46:13 +03:00
lashman c746f4916a finish the lint pass: allow what is contractual, fix what is not 2026-09-21 01:38:01 +03:00
lashman c46fe82543 ignore send failures without tripping the copy lint 2026-09-21 01:33:39 +03:00
lashman 1f95a0321b discard send results explicitly and label the codec flags 2026-09-21 01:33:07 +03:00
lashman e6e07ca6a1 merge duplicate arms and drop a needless clone 2026-09-21 01:32:20 +03:00
lashman 3f50fdd337 tidy bindings, closures and string building 2026-09-21 01:31:16 +03:00
lashman c7a4721e7d case-insensitive extensions and explicit else arms 2026-09-21 01:30:12 +03:00
lashman 9e23a5b7d3 make the buffer slicing checked instead of assumed 2026-09-21 01:27:56 +03:00
lashman e6e0d5b2b4 return values instead of wrapping them in needless results 2026-09-21 01:26:53 +03:00
lashman b2dd93fb09 take command arguments by value on purpose 2026-09-21 01:25:35 +03:00
lashman 5003b461fc funnel byte counts through one documented conversion 2026-09-21 01:24:38 +03:00
lashman 4d3d889f27 explain the remaining float conversions at their use sites 2026-09-21 01:23:45 +03:00
lashman d297ec4271 convert the last lossy casts to checked ones 2026-09-21 01:22:16 +03:00
lashman cd583ba02b route the size and byte maths through saturating helpers 2026-09-21 01:20:11 +03:00
lashman 7c577eafd7 use let-else where the match only guarded an exit 2026-09-21 01:18:07 +03:00
lashman 72f24b7369 hoist item declarations above statements 2026-09-21 01:17:28 +03:00
lashman 8972592b8d document the remaining win32 safety contracts 2026-09-21 01:14:27 +03:00
lashman 630687945a drop a lint that only fires on command macro noise 2026-09-21 01:08:34 +03:00
lashman 29cd5a8050 ignore progress send errors without faking a drop 2026-09-21 01:07:21 +03:00
lashman e0ceb7591c document the d3d and win32 safety invariants 2026-09-21 01:06:34 +03:00
lashman 186337b7bb replace production unwraps with real handling 2026-09-21 01:05:30 +03:00
lashman 1ace31fc6e keep temp clean and previews alive across a capture 2026-09-21 01:04:22 +03:00
lashman 03b2fec744 tighten visibility and clear the remaining mechanical lint noise 2026-09-21 00:44:25 +03:00
lashman 1332600148 enforce stricter lints, drop discarded results properly 2026-09-21 00:40:51 +03:00
lashman 95d168d5d8 drop the frame timing probe, keep click highlights in frame 2026-09-21 00:32:08 +03:00
lashman 1affbc63ff add frame timing probe to capture handler 2026-09-21 00:27:28 +03:00
lashman d3418c86df tonemap hdr captures on the gpu
firefox playing hdr youtube renders the desktop in linear scrgb, and
capturing it as bgra8 clamps the >1.0 highlights to pure white. capture
in r16g16b16a16_float instead and run a hable filmic + bt709 pixel
shader directly on the captured d3d11 texture (which windows-capture
already exposes via frame.as_raw_texture), then read back bgra8 so the
ffmpeg pipe stays unchanged from the sdr path.

the shader is compiled offline with fxc at build time and embedded. the
fullscreen-triangle draw needs an explicit cull-none rasterizer state
since the default back-face cull silently drops it.
2026-06-18 13:06:00 +03:00
lashman c3f132507a harden gif pipeline, capture, and audio resilience
fix gif calibration (sample deleted before measurement), swap the
budget-mode application so resolution shrinks width not fps, correct the
color factor comment. accumulate gif encode progress across retry
attempts instead of resetting, surface an over-budget result on the done
screen. stream the audio head padding instead of loading it into memory,
detect mid-record audio device loss and offer the existing retry flow,
invalidate the cached encoder list when the ffmpeg binary changes.
add a capture quality setting so 4k screens can record at native res,
try a stream copy before re-encoding when fixing capture timestamps,
park the overlay poll thread when idle, sweep stale config backups, add
a diagnostics tab, and consolidate the preview render debounce.
2026-06-17 23:57:28 +03:00
lashman f732cdda4d calibrate gif size, probe codecs, align audio with video
- sample-encode gif calibration before the retry loop
- probe ffmpeg encoders and grey out missing codecs in settings
- pad audio head with silence so it lines up with video start
- cache gif preview palette keyed on colors and sample window
- read encode progress from -progress pipe:1 instead of stderr scraping
- thread bt709 color metadata through capture, fix, and gif scale
- sweep temp on startup
- gif estimate table for the ui, interpolated locally on slider drag
2026-06-17 23:09:53 +03:00
lashman 4ca802ef71 tighten export and capture handling 2026-06-04 23:09:13 +03:00
lashman a48d82ddc9 split Main into components, move gif math to backend 2026-06-04 22:03:20 +03:00