Commit Graph
59 Commits
Author SHA1 Message Date
lashman 2d5f689d93 fix GIF playback speed, restore removed presets and FPS options
- remove redundant -r flag from GIF encoder (conflicted with fps filter)
- restore [960, 540, 16:9] aspect ratio preset
- restore low FPS options [1, 2, 5, 10] for GIF exports
2026-05-30 00:40:29 +03:00
lashman f3ff35a48b quality pass 3: preview cleanup, gif filter hoist, config logging
- startOver clears previewPath/trimPreviewPath and resets gif settings
- startOver resets format/fps/dither to config defaults
- Main onMount wraps getConfig in try/catch
- unify DownloadProgress/UpdateDownloadProgress into single type
- default_output_path borrows config instead of cloning
- encode_gif_pass filter prefixes computed once outside retry loop
- config backup path included in warning log
- capture ffmpeg stderr logged at debug level instead of error
- is_newer comment notes pre-release version handling
- Picker hover debounced to ~33ms
- Picker emits picker-cancel on unmount
2026-05-30 00:13:58 +03:00
lashman 2cd836b09e quality pass 2: cached encoders, cancel in gif retry, overlay CSS split
- debug logging in picker changed to tracing::debug
- show_overlay uses visible_window_bounds helper
- encode_gif retry loop checks cancel flag between attempts
- list_encoders cached via OnceLock (ffmpeg -encoders runs once)
- remove unnecessary GifBudgetMode clone (is Copy)
- config test uses unique temp dir per process
- click highlights use 2px border instead of solid fill
- audio capture_loop polls at 5ms instead of 1ms
- overlay window loads minimal overlay.css instead of full app.css
- remove non-spec 960x540 preset
- Settings dirty detection uses field-by-field comparison
- Overlay startDragging catches errors
- pauseRec only emits recording-state on success
- Picker listener cleanup guards against unmount race
- add sync notes for previewDims and sr-only trim inputs
2026-05-30 00:01:56 +03:00
lashman d57e554ece quality pass: safe timestamps, cancel support, dedup, frontend polish
- replace unsafe GetLocalTime with safe SystemTime epoch
- lock() logs warning on mutex poison recovery
- extract try_start_audio/start_click_recorder helpers to dedup capture code
- cancel_export now actually kills ffmpeg via polling loop + cancel flag
- extract visible_window_bounds helper for DWM rect lookups
- clear_temp_segments cleans thumbs dir and preview files
- gif_params takes focused GifBudgetInput instead of full TranscodeRequest
- consistent error messages with full context chain
- reduce overlay clickthrough poll from 30ms to 80ms
- throttle trim preview to 10Hz
- bound thumbnail cache at 5 entries
- timer ticks until stopCapture resolves
- crop fields validate against clip dimensions
- settings shows unsaved indicator dot
- edit grid uses minmax for fluid responsive layout
- animations respect prefers-reduced-motion
- pauseRec only clears timer after successful pause
- refreshPreview logs errors instead of swallowing
- remove dead _deps string from preview effect
2026-05-29 23:38:18 +03:00
lashman e9005415c4 fix batch: missing cancel_export, overlay lifecycle, audio safety, gif encoding, UI polish
- add cancel_export command with AtomicBool flag
- shut down overlay clickthrough poll thread on app exit
- move set_overlay_clickthrough after capture starts (not before)
- add fps filter to capture pipeline to avoid bloated intermediate files
- add scale.max(0.1) floor in gif balanced mode
- warn when gif encode can't meet target after retries
- increase update apply script timeout and add retry loop
- add SAFETY comments to all 21 unsafe blocks in audio.rs
- remove dead output_path variable in capture.rs
- remove no-op gif_colors.min() call in encode retry
- add error toast dismiss button with 8-second auto-dismiss
- remove test fps values (1,2,5,10) from idle screen
- add duplicate hotkey validation in settings
- change picker window to 2560x1440
- add gitignore exception for src-tauri/gen/schemas/
2026-05-29 23:23:02 +03:00
lashman 9e52750a71 close frame unchecks use capture frame, gif only scales down never up, gif preview updates when settings change 2026-05-29 19:33:40 +03:00
lashman cf49e22d61 capture ffmpeg stderr to logs, log capture framerate for debugging 2026-05-29 19:24:35 +03:00
lashman d08d464395 revert clickthrough change, stop propagation on overlay buttons so startDragging doesn't intercept clicks 2026-05-29 17:02:19 +03:00
lashman 21898a6d6a overlay always interactive when idle, click-through only during recording 2026-05-29 16:42:27 +03:00
lashman 83c31b0d63 rewrite overlay: spacer-based titlebar layout for close button, 200ms debounce + 100ms skip for aspect ratio enforcement, event-based ratio sync 2026-05-29 16:38:00 +03:00
lashman e150314a43 fix overlay titlebar height mismatch (22→24px) so close button receives clicks, re-sync ratio on resize 2026-05-29 16:32:39 +03:00
lashman f1e5c5f3db 30ms debounce on aspect ratio enforcement to break SetWindowPos resize loop 2026-05-29 16:23:11 +03:00
lashman ec26ad274f trim dragging shows raw frame at current position for instant feedback, switches to compressed preview on release; gif preview now shows actual palette/dithering effects 2026-05-29 15:43:39 +03:00
lashman aaddb76e6c enforce aspect ratio on every resize frame, no debounce 2026-05-29 15:32:47 +03:00
lashman a1e860ef0c aspect ratio enforcement now waits until after resize drag stops (350ms debounce), re-syncs ratio from Rust on each resize 2026-05-29 15:15:38 +03:00
lashman c177b2b121 add close button to capture frame overlay 2026-05-29 15:10:27 +03:00
lashman 2da660fa23 ignore pipe error on capture stop - last frame write race condition is harmless if output file has content 2026-05-28 15:43:37 +03:00
lashman d4db7cca31 fix gif framerate root cause - capture was telling ffmpeg wrong fps (user chosen instead of monitor refresh rate), now detects actual monitor Hz 2026-05-28 14:18:04 +03:00
lashman 3f1f2e1f7a rewrite gif encoding as single-pass with split+palettegen+paletteuse in one filter_complex 2026-05-28 14:06:08 +03:00
lashman 14c69e3363 restore fps filter for gif (needed for pipe throughput), add setpts=N/FRAME_RATE/TB to fix playback speed 2026-05-28 01:48:23 +03:00
lashman d1a85ab189 remove fps filter entirely from gif pipeline, rely on -r flag for frame rate control 2026-05-28 01:29:17 +03:00
lashman f7bbf37fea fix gif playback speed - reset PTS after fps filter so gif muxer uses correct frame delays 2026-05-28 01:21:50 +03:00
lashman 1a2c6b50ba fix gif framerate - add -r flag to tell gif muxer the correct frame delay 2026-05-28 01:15:46 +03:00
lashman 1a89a31ff5 remove crash detection - was false-positive crashing every recording 2026-05-28 01:08:46 +03:00
lashman 4b6ca60b2e graceful recovery from ffmpeg crash during recording - clean up state instead of getting stuck 2026-05-27 21:59:56 +03:00
lashman 07521b4a8b enforce aspect ratio via Win32 SetWindowPos from Rust instead of Tauri JS setSize which wasn't working 2026-05-27 21:46:52 +03:00
lashman 1c89bb6b0f gif retry respects budget priority (resolution=only adjust fps, framerate=only adjust resolution, balanced=adjust both), gif colors factored into size estimate, overlay queries aspect ratio from rust on resize instead of relying on cross-window events 2026-05-27 21:34:52 +03:00
lashman 2d060fe8f9 gif encode retry loop (up to 5 passes, adjusts resolution/fps until within 15% of target size), aspect ratio enforcement via rust command instead of unreliable cross-window emit 2026-05-27 21:22:59 +03:00
lashman 3a631c0c24 fix aspect ratio lock (send event before resize, enforce on lock), fix gif size estimate (0.5 -> 0.2 bytes/pixel for screen content) 2026-05-27 21:12:00 +03:00
lashman f15d984532 gif color count slider (2-256) and dithering control in editing screen, both wired through export/preview pipeline 2026-05-27 20:03:16 +03:00
lashman 2b3f7e433c fps selector on idle screen, lower gif fps minimum, 16:9 preset, aspect ratio lock on frame resize, gif budget mode (resolution/framerate/balanced priority), fix asset protocol scope 2026-05-27 19:35:40 +03:00
lashman e4141f8be8 20 fixes: mutex poisoning recovery, clickthrough shutdown, audio cleanup, config corruption, GIF aspect ratio, ffmpeg crash detection, cancel export, discard confirm, thumbnail cache, keyboard nav, right-click tracking, multi-monitor overlay, click injection fix, update script robustness, effect cleanup, concat guard, dead code removal 2026-05-27 19:14:33 +03:00
lashman f0775b8ff0 current state before improvement pass 2026-05-27 18:56:36 +03:00
lashman 5eb27ab779 visual picker: marching ants, DWM-aware overlay sizing 2026-05-12 13:07:35 +03:00
lashman 509017d56b visual window picker with marching ants overlay 2026-05-12 02:22:02 +03:00
lashman 2904a7ad29 replace crashing snap with window picker icon on overlay 2026-05-12 02:15:07 +03:00
lashman 87384f5113 pin WebView2 user data to ./temp/webview/ 2026-05-12 02:00:53 +03:00
lashman 61fbe68251 update download + apply flow 2026-05-12 01:59:39 +03:00
lashman 953263028b window-edge snap during drag via WM_MOVING subclass 2026-05-12 01:56:24 +03:00
lashman afb3f24375 output folder setting in Settings 2026-05-12 01:53:01 +03:00
lashman 2aeb08977b static preview frame on slider release 2026-05-12 01:51:32 +03:00
lashman 27d7453ea2 live elapsed and fps readout on capture frame 2026-05-12 01:49:46 +03:00
lashman b7ac517381 click highlights via global mouse hook + ffmpeg drawbox 2026-05-12 01:47:45 +03:00
lashman 181606156f live readout below target-size slider 2026-05-12 01:41:25 +03:00
lashman c1d474325f aspect ratio presets for capture frame 2026-05-12 01:40:27 +03:00
lashman 63e41297e9 system audio capture via wasapi loopback 2026-05-12 01:39:02 +03:00
lashman c95e8067c0 configurable capture fps 2026-05-12 01:35:02 +03:00
lashman 2882e78795 global hotkeys wired up 2026-05-12 01:33:47 +03:00
lashman 72e7a0d33b mic indicator during audio recording 2026-05-12 00:23:15 +03:00
lashman 297f307588 update banner via gitea releases 2026-05-12 00:20:49 +03:00
lashman 5a916d2ad2 trim scrubber 2026-05-12 00:18:12 +03:00
lashman 3a21d686ae gif per-frame deletion with thumbnail strip 2026-05-12 00:15:51 +03:00
lashman 7c3ec87b55 pause/resume with segment concat 2026-05-12 00:11:25 +03:00
lashman 7a821f54fc live hotkey capture 2026-05-12 00:08:24 +03:00
lashman 14d02cdad4 region capture overlay window 2026-05-12 00:06:31 +03:00
lashman 03af276a1d settings page, reveal in explorer 2026-05-11 23:59:29 +03:00
lashman 2c041be5a9 capture, encode, export wiring 2026-05-11 23:54:21 +03:00
lashman c64ec2045e config and ffmpeg bootstrap 2026-05-11 23:48:23 +03:00
lashman 472aa6f9ec initial scaffold 2026-05-11 23:32:25 +03:00