Commit Graph
19 Commits
Author SHA1 Message Date
lashman 8b91028a42 remove -framerate 999, use default 25fps then re-encode with actual rate 2026-05-30 01:28:31 +03:00
lashman 5d312b6b00 fix capture timing and gif size cap
- capture declares -framerate 999 to accept all frames without dropping
- after capture stops, measure actual delivery rate from frame count / elapsed time
- re-encode intermediate file with correct fps via stream copy (no quality loss)
- same fix applied to pause_capture segments
- gif: remove 15% size tolerance - never exceed target size
2026-05-30 01:14:51 +03:00
lashman 67c2a84178 fix capture speeding up: remove framerate declaration and fps filter
The capture was declaring -framerate 120 (monitor refresh rate) but the
Windows capture API doesn't deliver frames at that rate. This caused ffmpeg
to compress the timeline - 10 seconds of recording became 4 seconds of video.

Fix: remove both -framerate and fps filter from capture. All frames are
captured as they arrive. The export pipeline's fps filter handles rate
conversion correctly.
2026-05-30 01:05:29 +03:00
lashman 0ebbded776 restore capture fps filter, keep -r removal from gif encoder
The capture fps filter is needed to keep intermediate files at the user's
chosen fps instead of the monitor's native refresh rate. The GIF speed fix
was just removing the -r output flag from the gif encoder.
2026-05-30 00:53:01 +03:00
lashman 2eca4b64b6 fix GIF speed: remove capture-side fps filter, let encoder handle conversion
The capture pipeline was applying fps=N to drop frames from monitor refresh
rate to user fps. Then the GIF encoder applied fps=M on the already-converted
file. Double fps conversion = broken frame timestamps = wrong playback speed.

Fix: remove fps filter from capture. Intermediate files keep monitor's native
refresh rate (e.g. 120fps). The GIF/video encoder's fps filter handles the
conversion correctly in one clean step.

Also removed redundant -r flag from GIF encoder (already done), and restored
the 16:9 preset and low FPS options that were removed earlier.
2026-05-30 00:43:10 +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 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 cf49e22d61 capture ffmpeg stderr to logs, log capture framerate for debugging 2026-05-29 19:24:35 +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 1a89a31ff5 remove crash detection - was false-positive crashing every recording 2026-05-28 01:08:46 +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 b7ac517381 click highlights via global mouse hook + ffmpeg drawbox 2026-05-12 01:47:45 +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 14d02cdad4 region capture overlay window 2026-05-12 00:06:31 +03:00
lashman 2c041be5a9 capture, encode, export wiring 2026-05-11 23:54:21 +03:00
lashman 472aa6f9ec initial scaffold 2026-05-11 23:32:25 +03:00