fix: video recording captures every frame + dynamic FPS for FFmpeg

- Removed skipFrames logic — capture every frame for reliability
- FFmpeg framerate set to actual FPS (capped at 60) instead of hardcoded 30
- Added -vf fps=30 filter to downsample to 30fps in output
- First frame: CapturedFrame is null (no previous capture), skipped naturally
- Second frame onwards: data available from previous frame's GPU copy
This commit is contained in:
emil28092005
2026-06-19 09:01:55 +03:00
parent ab1a2d05c3
commit 00b6f39201
2 changed files with 15 additions and 19 deletions
Binary file not shown.