obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.71k stars 7.92k forks source link

when restart is not root , can not open obs success & where mac config file #7902

Closed relunctance closed 1 year ago

relunctance commented 1 year ago

Operating System Info

macOS 12

Other OS

No response

OBS Studio Version

28.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/yS1nifqsNomuE657

OBS Studio Crash Log URL

No response

Expected Behavior

find mac config file and rm -rf

Current Behavior

sudo /Applications/OBS.app/Contents/MacOS/OBS   => success
/Applications/OBS.app/Contents/MacOS/OBS   => faild 
error: Failed to create source '显示器采集'!

when restart is not root , can not open obs success

Steps to Reproduce

1. 2. 3. ...

Anything else we should know?

$: /Applications/OBS.app/Contents/MacOS/OBS
info: Using preferred locale 'zh-CN'
info: [macOS] Permission for audio device access granted.
info: [macOS] Permission for video device access granted.
info: [macOS] Permission for accessibility denied.
info: [macOS] Permission for screen capture denied.
info: Rosetta translation used: false
info: CPU Name: Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
info: CPU Speed: 1400MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 8192MB Total
info: OS Name: macOS
info: OS Version: Version 12.1 (Build 21C52)
info: Kernel Version: 21.2.0
info: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
info: Current Date/Time: 2022-12-08, 11时22分20秒
info: Browser Hardware Acceleration: true
info: Qt Version: 6.3.1 (runtime), 6.3.1 (compiled)
info: Portable mode: false
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 28.1.2 (mac)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 48000
    speakers:        2
    max buffering:   960 milliseconds
    buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Intel Inc. Intel(R) Iris(TM) Plus Graphics 645
info: OpenGL loaded successfully, version 4.1 INTEL-18.3.5, shading language 4.10
info: ---------------------------------
info: video settings reset:
    base resolution:   1920x1080
    output resolution: 1920x1080
    downscale filter:  Bicubic
    fps:               30/1
    format:            NV12
    YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
    name: 默认
    id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja'
warning: Failed to load 'en-US' text for module: 'decklink-captions'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui'
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink'
info: [VideoToolbox encoder]: Adding VideoToolbox encoders
info: [obs-browser]: Version 2.18.7
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.61.23+g2fe5a76+chromium-103.0.5060.134 (compiled)
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.3.1 | Qt version (run-time): 6.3.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
error: os_dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib->/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib): dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib, 0x0101): tried: '/usr/local/php_extensions/libvlccore.dylib' (no such file), '/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib' (no such file), '/usr/lib/libvlccore.dylib' (no such file)

info: [vlc-video]: Couldn't find VLC installation, VLC video source disabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video
info:     text-freetype2
info:     rtmp-services
info:     obs-x264
info:     obs-websocket
info:     obs-vst
info:     obs-transitions
info:     obs-outputs
info:     obs-filters
info:     obs-ffmpeg
info:     obs-browser
info:     mac-virtualcam
info:     mac-videotoolbox
info:     mac-syphon
info:     mac-capture
info:     mac-avcapture
info:     image-source
info:     frontend-tools
info:     decklink-output-ui
info:     decklink-captions
info:     coreaudio-encoder
info: ---------------------------------
QLayout: Attempting to add QLayout "" to OBSBasic "OBSBasic", which already has a layout
QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: coreaudio: Device '其林的AirPods Pro' [24000 Hz] initialized
info: [Loaded global audio device]: '麦克风/Aux'
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: 麦克风/Aux)

error: Failed to create source '显示器采集'!
info: 视频采集设备: Selected device 'FaceTime高清摄像头(内建)'
info: 视频采集设备: Using preset High
info: Switched to scene '场景'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene '场景':
info:     - source: '显示器采集' (display_capture)
info:     - source: '终端' (window_capture)
info:     - source: '视频采集设备' (av_capture_input_v2)
info: ------------------------------------------------
WizardCM commented 1 year ago

This sounds more likely to be a support issue than a bug. Please submit this through one of our support channels below, and if it's determined that this is indeed a bug, then we will re-open this issue.

Please use the Discord server or the forums. For more info, check our Help page.

relunctance commented 1 year ago
rm -rf ./Application\ Support/obs-studio
relunctance commented 1 year ago

rm -rf ~/Application\ Support/obs-studio

How to Fully Remove OBS Studio on Your Mac

https://howtoremoveapp.com/howtoguides/remove-obs-studio-mac/#comment-15574