flathub / com.obsproject.Studio

This repository is no longer used to build OBS. Issues should be reported at https://github.com/obsproject/obs-studio
https://github.com/obsproject/obs-studio
29 stars 21 forks source link

Virtual Camera Support not available in menubar #144

Closed noverby closed 3 years ago

noverby commented 3 years ago

Virtual Camera Support does not seem to work on Fedora Silverblue 34 with Wayland.

It does not show up under Tools in the menubar: image

Log:

12:03:12.165: Platform: Wayland
12:03:12.176: CPU Name: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
12:03:12.177: CPU Speed: 1700.000MHz
12:03:12.177: Physical Cores: 4, Logical Cores: 8
12:03:12.177: Physical Memory: 15773MB Total, 10884MB Free
12:03:12.177: Kernel Version: Linux 5.12.13-300.fc34.x86_64
12:03:12.178: Distribution: "KDE Flatpak runtime" "5.15"
12:03:12.178: Session Type: wayland
12:03:12.178: Portable mode: false
12:03:12.265: OBS 27.0.1 (linux)
12:03:12.265: ---------------------------------
12:03:12.266: ---------------------------------
12:03:12.266: audio settings reset:
12:03:12.266:   samples per sec: 48000
12:03:12.266:   speakers:        2
12:03:12.281: ---------------------------------
12:03:12.281: Initializing OpenGL...
12:03:12.281: Using EGL/Wayland
12:03:12.307: Initialized EGL 1.4
12:03:12.347: Loading up OpenGL on adapter Intel Open Source Technology Center Mesa DRI Intel(R) Iris(R) Plus Graphics (ICL GT2)
12:03:12.347: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 21.1.4 (git-ac105a8e6e), shading language 4.60
12:03:12.401: ---------------------------------
12:03:12.401: video settings reset:
12:03:12.401:   base resolution:   1920x1200
12:03:12.401:   output resolution: 1280x800
12:03:12.401:   downscale filter:  Bicubic
12:03:12.401:   fps:               30/1
12:03:12.401:   format:            NV12
12:03:12.401:   YUV mode:          709/Partial
12:03:12.401: NV12 texture support not available
12:03:12.413: Audio monitoring device:
12:03:12.413:   name: Default
12:03:12.413:   id: default
12:03:12.413: ---------------------------------
12:03:12.420: Failed to load 'en-US' text for module: 'decklink-captions.so'
12:03:12.424: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
12:03:12.752: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
12:03:12.752: No blackmagic support
12:03:12.769: [obs-browser]: Version 2.14.3
12:03:12.769: [obs-browser]: CEF Version 87.1.12+g03f9336+chromium-87.0.4280.88
12:03:12.777: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
12:03:12.777: 
12:03:12.777: FFMPEG VAAPI supported
12:03:12.782: os_dlopen(/app//lib/obs-plugins/obs-ndi.so->/app//lib/obs-plugins/obs-ndi.so): /app//lib/obs-plugins/obs-ndi.so: cannot open shared object file: No such file or directory
12:03:12.782: 
12:03:12.782: Module '/app//lib/obs-plugins/obs-ndi.so' not loaded
12:03:12.790: os_dlopen(/app//lib/obs-plugins/obs-v4l2sink.so->/app//lib/obs-plugins/obs-v4l2sink.so): /app//lib/obs-plugins/obs-v4l2sink.so: cannot open shared object file: No such file or directory
12:03:12.790: 
12:03:12.790: Module '/app//lib/obs-plugins/obs-v4l2sink.so' not loaded
12:03:12.799: ---------------------------------
12:03:12.799:   Loaded Modules:
12:03:12.799:     text-freetype2.so
12:03:12.799:     rtmp-services.so
12:03:12.799:     obs-x264.so
12:03:12.799:     obs-vst.so
12:03:12.799:     obs-transitions.so
12:03:12.799:     obs-outputs.so
12:03:12.799:     obs-libfdk.so
12:03:12.799:     obs-filters.so
12:03:12.799:     obs-ffmpeg.so
12:03:12.799:     obs-browser.so
12:03:12.799:     linux-v4l2.so
12:03:12.799:     linux-pulseaudio.so
12:03:12.799:     linux-jack.so
12:03:12.799:     linux-decklink.so
12:03:12.799:     linux-capture.so
12:03:12.799:     image-source.so
12:03:12.799:     frontend-tools.so
12:03:12.799:     decklink-ouput-ui.so
12:03:12.799:     decklink-captions.so
12:03:12.799: ---------------------------------
12:03:12.799: ==== Startup complete ===============================================
12:03:12.809: All scene data cleared
12:03:12.809: ------------------------------------------------
12:03:12.827: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.31) 14.0.0'
12:03:12.827: pulse-input: Audio format: s32le, 44100 Hz, 2 channels
12:03:12.827: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1.monitor'
12:03:12.827: [Loaded global audio device]: 'Desktop Audio'
12:03:12.828: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.31) 14.0.0'
12:03:12.829: pulse-input: Audio format: s24le, 48000 Hz, 2 channels
12:03:12.829: pulse-input: Sample format s24le not supported by OBS,using float32le instead for recording
12:03:12.829: pulse-input: Started recording from 'alsa_input.usb-Generic_USB_Audio_200901010001-00.HiFi___ucm0001.hw_Dock__source'
12:03:12.829: [Loaded global audio device]: 'Mic/Aux'
12:03:12.829: v4l2-input: Start capture from /dev/video4
12:03:12.830: v4l2-input: Unable to set input 0
12:03:12.830: v4l2-input: Initialization failed
12:03:12.831: PipeWire initialized (sender name: 1_113)
12:03:12.832: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.31) 14.0.0'
12:03:12.832: pulse-input: An error occurred while getting the source info!
12:03:12.833: Switched to scene 'Scene'
12:03:12.833: ------------------------------------------------
12:03:12.833: Loaded scenes:
12:03:12.833: - scene 'Scene':
12:03:12.833:     - source: 'Screen Capture (PipeWire)' (pipewire-desktop-capture-source)
12:03:12.833:     - source: 'Aftershokz' (pulse_input_capture)
12:03:12.833:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
12:03:12.833: ------------------------------------------------
12:03:12.988: [pipewire] available cursor modes:
12:03:12.988: [pipewire]     - Metadata
12:03:12.988: [pipewire]     - Always visible
12:03:12.988: [pipewire]     - Hidden
12:03:13.007: [pipewire] screencast session created
12:03:13.010: [pipewire] asking for desktop…
12:03:13.387: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
12:03:13.387: 
12:03:16.005: [pipewire] desktop selected, setting up screencast
12:03:16.030: [pipewire] created stream 0x55c95569ba20
12:03:16.031: [pipewire] playing stream…
12:07:03.061: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio)
12:07:03.061: 
noverby commented 3 years ago

/app/lib/obs-plugins/obs-v4l2sink.so is a broken symbolic link to /app/lib/v4l2sink/v4l2sink.so

noverby commented 3 years ago

Nevermind. I didn't know that you still have to build it yourself: #65