Repository navigation
Record tab: screen, camera, mic and the Mac's sound, each to its own file - #10
Merged
Merged
Conversation
…file A Swift helper (capture/main.swift, built by build.rs and carried inside the binary) keeps the chosen sources live with ScreenCaptureKit and AVFoundation and writes each to its own fragmented MP4/M4A on one clock. Each project keeps its setup (sources, scene layout, codec, quality, frame rate, size); the user can make one their default. Takes land on the timeline as layers placed by the scene, which stays editable. splice ctl record gains setup, pause and resume. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A window's capture hears only its own app, so the Mac's sound comes from the whole display apart. If the recorder stops mid-take, what it wrote comes in. While macOS asks for camera or microphone access, the Record tab says so. Fragments every second; the default setup read once; the window redrawn only when the live sources send something. Co-Authored-By: Claude Opus 5.5 <[email protected]>
calvin-archastro
marked this pull request as ready for review
October 29, 2026 02:50
This was referenced Oct 29, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic OBS-style recording in Splice, as a Record tab beside Edit and Story.
What it does
screen.mp4,camera.mp4,microphone.m4aandsystem.m4ago in one folder per take. They all start at the same moment on one clock.splice ctl record:sources,setup …,start,pause,resume,stop --wait,status.How
crates/splice-app/capture/main.swiftis a small Swift helper using ScreenCaptureKit (screen and system audio) and AVFoundation (camera, mic, AVAssetWriter).build.rscompiles it withswiftc, and the binary carries it.splice-core/src/studio.rs, with tests.Tested by hand (release build, run from the terminal):
Not yet tested: the camera (waiting on a macOS permission prompt) and therefore the bubble and side-by-side placement with live footage. The layout maths is unit-tested.
🤖 Generated with Claude Code