Skip to content

Replay Source crashes OBS and fails to save replays on macOS (Apple Silicon, OBS 31.x) #74

@jeanribas

Description

@jeanribas

Environment:

  • macOS (Apple Silicon: M1/M2/M3)
  • OBS Studio 31.x
  • Replay Source plugin (version 1.8.1)
  • Replay directory: /Users/jeanribas/OBS/GRAVACOES/Replay Source/Replay1
  • Filename format: %CCYY-%MM-%DD %hh.%mm.%ss

Describe the bug (Unexpected behavior):

  1. Pressing "Save Replay" logs success in OBS, but no file appears in the target folder (forum reports) :contentReference[oaicite:1]{index=1}.
  2. Stopping recording or closing OBS hangs at "stopping recording..." and needs force quit (common on Apple Silicon + similar plugins) :contentReference[oaicite:2]{index=2}.
  3. High memory/CPU usage during replay; several users report heavy resource consumption and crashes in OBS 31.x setups :contentReference[oaicite:3]{index=3}.

Steps to Reproduce:

  1. Install Replay Source on macOS w/ OBS 31.x.
  2. Add Replay Filter + Source to scene; configure duration (e.g., 5s), hotkeys.
  3. Trigger "Load Replay" → loads correctly.
  4. Trigger "Save Replay" → logs indicate success, no file.
  5. Exit OBS → application hangs indefinitely.

Expected behavior:

  • Replay files are saved correctly in the folder with configured filename.
  • OBS exits normally (no hang or force quit).
  • Memory usage remains moderate (< 1 GB for 5 s buffer).

Logs & Crash Reports:

  • OBS logs (Help → Log Files → Upload Last Log)
  • macOS crash report from ~/Library/Logs/DiagnosticReports/obs_*.crash

Suggested fixes:

  • Ensure saveReplay() always writes an output file to the specified directory.
  • Address memory leak and buffer cleanup to reduce RAM usage.
  • Fix hang in stopRecording() or plugin shutdown path—ensure OBS can quit cleanly.

Additional context:

  • Many forum reports recommend native OBS Replay Buffer for stability on Apple Silicon, and mention that obs-instant-replay is a better-functioning alternative :contentReference[oaicite:4]{index=4}.
  • Users on OBS forums and Reddit have repeatedly noted similar issues with no fix in recent updates :contentReference[oaicite:5]{index=5}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions