Open keman5 opened 1 year ago
Are you using any other applications at the same time?
Could you try running log stream --system | grep "replayd"
in a Terminal window while using OBS and triggering the issue? There's a good chance there will be messages popping up the moment it freezes, please post them here if they do.
Thanks for reply.
I only used OBS. I will try and post here.
I tryed the command then the screen record is freezed since last time, got this:
I locked the screen, after screen off, unlock the screen, OBS freezed, got this:
then I relaunched the OBS, starting record in full screen, and running the command you give me, and screen record has no freezes over 10 times I tryed, it's strange, I will keep trying until I got it.
So do you have to lock the screen at any point for the error to occur normally?
So do you have to lock the screen at any point for the error to occur normally?
No, it happens on the screen on, I used to record courses, sometimes the screen freezes. When I run log steam command, it has no freezes this days, I will keep trying, waiting for my news.
What does "starting record in fullscreen" mean exactly? As-is the steps to reproduce are not detailed enough to make them reproducible:
FWIW I just did an over 2-hour recording using Window Capture of a full screen window without any issues, se we probably need more details here.
What does "starting record in fullscreen" mean exactly? As-is the steps to reproduce are not detailed enough to make them reproducible:
- Is OBS itself set to run in fullscreen?
- Is the captured window a full screen window?
- Which capture type was used?
- What application was captured? Which fullscreen mode does the application use (native macOS full screen or a custom implementation)
FWIW I just did an over 2-hour recording using Window Capture of a full screen window without any issues, se we probably need more details here.
Thanks for your tips.
The OBS is not running in fullscreen. I often hide it in the system menubar.
I captured the native macOS full screen
Here is my settings:
It's hard to replay the issue, I used it and no freezes from last week. I will keep trying.
After the 13.2.1 update (intel), mine doesn't even boot. I probably had a screen capture on the last scene I was using so it tries to load that and freezes right away 🤔
Update: I managed to fix it with the usual "remove your scene folders - boot obs - put back scenes". I don't know why I didn't think about it this time.
It's hard to replay the issue, I used it and no freezes from last week. I will keep trying.
@keman were you since able to reproduce the problem again?
On my end, it hangs on bootup. It keeps happening every time I stream, it seems related to compressor and background noise filters. When I look at the logs, that's where it hangs and it goes through when I remove them. But I've also noticed that sometimes it goes through randomly and doesn't hang on bootup.
It's hard to replay the issue, I used it and no freezes from last week. I will keep trying.
@Keman were you since able to reproduce the problem again?
Yes, and often. Sorry, I didn't get logs when the OBS running, and I have giving up using OBS for half a month. I use ScreenFlow now, it's very reliable.
Any updates on this? I'm on ARM on macOS 13.4 and still noticing this issue. It seems to happen at random points using the macOS Screen Capture source where the screen capture will freeze and it is only recording my microphone. Pretty disappointing since I try to use OBS's Replay Buffer only to find out my clips didn't record because of this issue.
Can confirm screen capture still freezes and corrupts the recording after a while, it seems to be happening at random intervals.
My device:
The only time I've seen this occur is if the screen goes to sleep or turns off from inactivity. I'd recommend following the debugging instructions mentioned in @gxalpha's comment above. I'd also recommend filing a Feedback item via Feedback Assistant.
@RytoEX It happens regardless of whether the screen goes to sleep or turns off from inactivity, I actually just triggered it after 2 minutes of recording and while I was at the computer moving my cursor around the whole time.
Here's the log of the entire 2min recording:
The more interesting part seems to happen right above that:
2023-07-06 19:08:41.034949+0200 0x9c8b17 Default 0x0 739 0 replayd: [INFO] -[SCCaptureSession initWithStreamID:withContentFilter:properties:clientProxy:]_block_invoke:159 Content stream frame status stopped for session=0x7fe154727570 streamID=<private>
2023-07-06 19:08:41.043755+0200 0x9c8943 Default 0x722bee 739 0 replayd: [INFO] -[SCAudioCaptureSession stop]:228 0x7fe15472d070 streamID=<private>
2023-07-06 19:08:41.085014+0200 0x9c8943 Default 0x722bee 739 0 replayd: (AudioToolbox) [com.apple.coreaudio:aqme] AQMEIO_HAL.cpp:2056 aqmeio@0x7fe154815a18: set input stream usage to 0 on device 204, err = 0
2023-07-06 19:08:41.085047+0200 0x9c72c3 Error 0x0 739 0 replayd: (AudioToolbox) [com.apple.coreaudio:aqme] AQMEIO_HAL.cpp:2492 AudioTap-E3822245-3EB3-4B1B-9EC6-034D4E81FD9E: Abandoning I/O cycle because reconfig pending (1).
2023-07-06 19:08:41.085104+0200 0x9c8943 Default 0x722bee 739 0 replayd: (AudioToolbox) [com.apple.coreaudio:aqme] MEDeviceStreamClient.cpp:435 AQME Device-AudioTap-E3822245-3EB3-4B1B-9EC6-034D4E81FD9E: client stopping: <AudioQueueObject@0x7fe15580c400; [739]; rec>; running count now 0
The stream stops and then a "reconfig" happens its after that event occurred that it fails to enqueue buffers.
I've been recording an audio capture and stream capture in parallel without issue, and the only log lines I get from replayd
is the _block_invoke
ones without any issues, and nothing else.
So it's a bit hard to say what's going on there, because I am consistently unable to reproduce the issue.
For everyone who this is happening to, please file a feedback to Apple using Feedback Assistant once you reproduce the problem. See here for a guide on how best to do this: https://developer.apple.com/bug-reporting
Please then post the feedback number here (in the form of FB00000000
).
Weirdly enough, I've noticed this issue seems to have stopped happening when I switched the output container from mp4 to mkv
@NickantX that is definitely unrelated.
Yeah that's not it, I've been recording in .mkv the whole time while experiencing the freezes m
If there's anyone subscribed to this thread who is on the macOS 14 Beta: It appears that there have been some backend changes to ScreenCaptureKit in macOS 14, could you check if the problem still occurs for you there?
Yeah that's not it, I've been recording in .mkv the whole time while experiencing the freezes m
That's weird, that was the only change I had made, and then it stopped happening. Running macOS 13.5.1
Hey, I'm not sure if this is entirely accurate, but this seems to happen significantly more often if the disk is close to full, I'd imagine a call to write to a temporary file is failing and causing things to break in unexpected ways. Seems to happen the most if I have less than 10gb free in testing, freeing up space seems to completely resolve the issue once OBS is restarted.
Operating System Info
macOS 13.2.1
Other OS
No response
OBS Studio Version
29.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/WzBBZDipTxmQwSy4
OBS Studio Crash Log URL
No response
Expected Behavior
The screen record has no freezes after a long time, on MacOS 13.2.1 M1Max chip
Current Behavior
The screen record would freezes after a while, on M1Max chip, I found many times, I can't trust it for 10 or 30 minutes.
Steps to Reproduce
Anything else we should know?
No response