25 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
0
answers
151
views
ScreenCaptureKit recording output is corrupted when captureMicrophone is true
I'm working on a screen recording app using ScreenCaptureKit and I've hit a strange issue. My app records the screen to an .mp4 file, and everything works perfectly until the .captureMicrophone is ...
2
votes
1
answer
50
views
Value of type 'SCRecordingOutput' has no member 'delegate'
I am trying to capture screen recording ( output.mp4 ) using ScreenCaptureKit and also the mouse positions during the recording ( mouse.json ). The recording and the mouse positions ( tracked based on ...
0
votes
0
answers
74
views
Recorded video looks blurry, color-washed, low bitrate, compressed using ScreenCaptureKit
I am trying to implement ScreenCaptureKit into my project. I am using macOS 26 for the target version and followed this official project from Apple regarding the ScreenCaptureKit. https://developer....
2
votes
0
answers
125
views
Why is ScreenCaptureKit frame capture delayed by more than 16ms at 60 FPS?
I'm using ScreenCaptureKit to capture screen frames at 60 FPS.
To measure capture latency, I display a timer label on the screen using CVDisplayLink, and when each frame is captured, I save the image ...
1
vote
1
answer
112
views
ScreenCapture + CMSampleBuffer logic issue
I'm trying to work on a simple screen recording app on macOS that always records the last 'x' seconds of your screen and saves it whenever you want, as a way to get comfortable with Swift programming ...
1
vote
1
answer
92
views
Unable to record screen and system audio .NET9.0-macos15.0 ScreenCaptureKit
Here is my c# code:
using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Foundation;
using AVFoundation;
using CoreGraphics;
using CoreVideo;
using CoreMedia;
using ...
1
vote
0
answers
62
views
Which clocks/epochs does ScreenCaptureKit use for PTS and for .displayTime?
I’m using ScreenCaptureKit on macOS to grab frames and measure end-to-end latency (capture → my delegate callback). For each CMSampleBuffer I read:
let pts = CMSampleBufferGetPresentationTimeStamp(...
0
votes
0
answers
41
views
Is there a way to unit-test SCKit (ScreenCapture Kit) apps in Macos?
I'd like to test the way my app handles some of the various events that happen when using the SCKit APIs. For example, I'd like to quickly test what happens when the system cancels an SCStream (which ...
2
votes
1
answer
902
views
Capturing microphone input on macOS using ScreenCaptureKit
I'm having troubles capturing microphone input using ScreenCaptureKit on macOS. (note, macOS 15.0+)
Video capture is going quite fine, but capturing anything arriving from built-in mic, simply get's ...
0
votes
1
answer
883
views
How to capture screenshot at screen resolution with ScreenCaptureKit
I am trying to get a screenshot of whole display. However I am being returned different resolution which is also non retina. Instead of 3456x2234 CGImageRef I am being given 1920x1080.
Note that the ...
1
vote
0
answers
907
views
ScreenCaptureKit example in Go/C
I'm working on improving open source library to capture screenshots: https://github.com/kbinani/screenshot - it is somewhat popular and it uses legacy approach, and MacOS 15 (beta as of time of ...
3
votes
1
answer
374
views
ScreenCaptureKit capture image with multiple displays
I have a macOS app that uses screen capture logic. It was originally coded using the Quartz CG API:
if let cgimage = CGDisplayCreateImage(CGMainDisplayID(), rect: cgRect) {...}
and this worked as ...
0
votes
2
answers
244
views
Get SCWindow from SCContentSharingPicker filter
I'd like to keep track of which windows I've captured using ScreenCaptureKit (so users can quickly swap through their history) and I'm using the SCContentSharingPicker.
From what I can tell there ...
0
votes
0
answers
111
views
How can I capture audio samples output on macOS?
I'm trying to capture audio samples from the selected output device on macOS.
I attempted to use AVAudioEngine with installTap, but I haven't had any success.
Here's a snippet of what I've tried so ...
4
votes
1
answer
733
views
Synchronizing ScreenCaptureKit with microphone audio
I'm capturing system audio using ScreenCaptureKit, and combining it with microphone audio to produce a single stream.
However, I'm having trouble synchronizing the two streams.
Here's what my ...