obsproject / obsproject/obs-studio
OBS crashes when using colons in srt-URL
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Ubuntu 24.04
Other OS
No response
OBS Studio Version
31.0.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/9yXiygeg3P0B8bpu
OBS Studio Crash Log URL
No response
Expected Behavior
I expect an url like srt://localhost:1234/path/path to work as media/vlc-source
Current Behavior
As soon as i insert an standard-srt link like srt://localhost:1234/path/path and save the source (doesn't mater of i use media-source or vlc-source), OBS instantly crashes and you are unable to reopen it without deleting the .json file in the sources folder (or remove the " : " within the file)
Steps to Reproduce
- Install OBS in Ubuntu 24.04 via apt
- Launch OBS
- Add a new Source (media source)
- Remove all checked boxes
- Insert: srt://localhost:1234/path/path
- Ok
OBS crashes
Anything else we should know?
Sources like rtmp:// or https:// work without any problems
Current-Log after the Crash: https://obsproject.com/logs/9yXiygeg3P0B8bpu
Prev-Log after the Crash: https://obsproject.com/logs/70ui0c22p6OCaUiG
Verbose-Output: https://pastebin.com/raw/tf35GXvh
Video showing the prozess to crash: https://youtu.be/R6OnEj0JLVg
I tried the same prozess (except for the srt-server) on windows. No crash
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in OBS 31.0.2 on Ubuntu 24.04 with a media source containing srt://localhost:1234/path/path, then review the linked current and previous logs. Compare this behavior with the working rtmp:// and https:// sources. Done means the SRT URL can be saved and the OBS scene can be reopened without deleting or editing its JSON source data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100