Skip to content

Conversation

@richiemcilroy
Copy link
Member

Implement fragmented MP4 (M4S) recording for studio mode to enable recovery of incomplete recordings.

The previous recording method could lead to lost recordings if the application crashed mid-recording. By using fragmented MP4, video data is written incrementally, allowing the recovery mechanism to reconstruct a playable recording from the last successfully written fragment, even if the recording process is interrupted. This PR introduces a new fragmented MP4 muxer, integrates it into the recording pipeline for both Windows and macOS, and adds metadata tracking and editor-side recovery logic.


Open in Cursor Open in Web

This commit introduces fragmented mp4 recording support and implements a recovery mechanism for incomplete recordings.

Co-authored-by: richiemcilroy1 <[email protected]>
@cursor
Copy link

cursor bot commented Nov 30, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 30, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/implement-m4s-recording-with-recovery-claude-4.5-opus-high-thinking-54c7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

cursoragent and others added 2 commits December 1, 2025 06:21
This commit introduces a new method for recording cursor events to a JSON Lines file (`.jsonl`) and updates the loading logic to prioritize this new format. This provides a more robust and efficient way to store and retrieve cursor data.

Co-authored-by: richiemcilroy1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants