OBS hangs on “Stop Recording” when source FPS (30 fps) mismatches global FPS (60 fps)

z4kky

New Member
Operating System Info
Windows 11 Home 24H2 (Build 26100.4061)

OBS Studio Version
31.0.4

OBS Studio Log URL
https://obsproject.com/logs/uOzzXJMXTH2k6YeX

Expected Behavior
When a source’s FPS does not match the global FPS setting, clicking Stop Recording should either:
  • Automatically resample or adjust to avoid a hang and finalize the file cleanly; or
  • Surface an explicit error or warning (e.g. “Source FPS (30) does not match global FPS (60)”) and then stop recording without freezing.
Current Behavior
OBS Studio remains stuck on “Stopping Recording…” indefinitely when a single scene contains a Video Capture Device set to 30 fps while the global FPS is 60 fps. The file is never finalized, and OBS must be force-quit.

Steps to Reproduce
  1. On Windows 11 Home 24H2 with OBS Studio 31.0.4, open Settings → Video and set Common FPS Values to 60.
  2. Create a new scene named “WebCam.”
  3. Add a Video Capture Device (Logitech C922 Pro Stream Webcam).
  4. In the source’s Resolution/FPS Type, switch from Device Default to Custom:
    • Resolution: 1920×1080
    • FPS: “Match Output FPS (autoselect: 30)”
    • Format: "Any"
  5. Start recording, wait a few seconds, then click Stop Recording.

Additional Context
  • Once you manually match the source FPS to the global 60 fps, recordings stop normally in all scenes.
  • The issue affects all scenes once that one mismatched source has been configured; even switching back to other scenes causes the same hang until OBS is restarted and the source device is removed from the scene.
  • Recording to MKV/FLV avoids the hang, but the underlying FPS mismatch should be detected and handled.
  • Full debug log is available at the link above—hang occurs immediately after the ffmpeg muxer reports “Writing file…” and before finalizing.
 
Top