obsproject / obsproject/obs-studio
Resize Output may override safe video resolutions
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
Other
Other OS
Gentoo Linux
OBS Studio Version
Git
OBS Studio Version (Other)
Latest Git master main etc. at this time.
OBS Studio Log URL
OBS Studio Log URL not possible since OBS Studio will not run at this point.
OBS Studio Crash Log URL
Not a crash or an URL but:
debug: Found portal inhibitor
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/en-GB.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-GB.ini
info: Using preferred locale 'en-GB'
Attempted path: share/obs/obs-studio/themes/Yami.qss
Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor
info: CPU Speed: 3197.937MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 48105MB Total, 8849MB Free
info: Kernel Version: Linux 6.0.7-gentoo-CommodoreL
info: Distribution: Gentoo "2.9"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.5 (runtime), 5.15.5 (compiled)
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
info: OBS 28.1.0-beta1-96-gdc024a864-modified (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
error: Failed to initialize video: Invalid parameters
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1752.39 ms
info: ┣OBSApp::AppInit: 5.264 ms
info: ┃ ┗OBSApp::InitLocale: 1.064 ms
info: ┗OBSApp::OBSInit: 88.967 ms
info: ┣obs_startup: 1.399 ms
info: ┗OBSBasic::OBSInit: 0.294 ms
info: ┣OBSBasic::InitBasicConfig: 0.084 ms
info: ┣OBSBasic::ResetAudio: 0.111 ms
info: ┗OBSBasic::ResetVideo: 0.007 ms
info: obs_hotkey_thread(25 ms): min=0.114 ms, median=0.161 ms, max=12.202 ms, 99th percentile=12.202 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.018 ms, median=0.027 ms, max=0.041 ms, 99th percentile=0.041 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.149 ms, median=25.234 ms, max=35.637 ms, 90.625% within ±2% of 25 ms (0% lower, 9.375% higher)
info: =================================================
info: Number of memory leaks: 190
Expected Behavior
OBS Studio will at least start, ignoring the previous settings or prevent the funky resolutions to be selected in the first place.
Current Behavior
OBS Studio allows for funky resolutions and no starting again after having been closed.
Steps to Reproduce
- Execute OBS Studio and add a text source with a lot of text to make the source big'ish.
- Right-click the text source and select 'Resize output (source size)'.
- Any size the text source is will be added as the resolutions for Base and Output for Video, regardless of the normal limits.
Anything else we should know?
Noticed this while testing Pything 11 support. Going to work on fixing this soon I hope, but I also might not find the time for it so I figured I'll at least report it. ^^
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 issue on OBS Studio Git master using the listed text-source and “Resize output (source size)” steps, then inspect the video-resolution handling reached by that action. Done means oversized or unsupported dimensions are rejected or safely handled so OBS can start again with valid Base and Output resolutions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100