feat: recording playback speed control
- Dominant language
- TypeScript
- Stars
- 37
- Forks
- 5
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 1
Description
## Summary
Add a `playbackSpeed` option to control the pace of GIF recordings (e.g., 1.5x, 2x). This would eliminate frames before deduplication to create faster-paced recordings.
## Use Case
Long recordings with lots of idle time can be compressed via frame deduplication, but the actual pace remains 1:1 with real-time. A playback speed option would allow creating snappier demos without manually editing.
## Proposed Approach
Add `playbackSpeed` parameter to `shell_record_stop`:
- `1.0` = normal speed (default)
- `1.5` = 50% faster
- `2.0` = double speed
Implementation: reduce frame delays by the speed factor before deduplication. For example, at 2x speed, a 100ms delay becomes 50ms.
## Example
```json
{
"session_id": "shell-session-abc",
"name": "demo",
"playbackSpeed": 1.5
}
```
## Notes
- Should be applied before frame deduplication for best results
- Could also be a render-time option in `renderGif()`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.