dimtpap / obs-pipewire-audio-capture

🔊 Audio device and application capture for OBS Studio using PipeWire
https://obsproject.com/forum/resources/pipewire-audio-capture.1458/
GNU General Public License v2.0
298 stars 9 forks source link

Not showing up in the sources list #41

Closed imDaniX closed 6 months ago

imDaniX commented 6 months ago

Using Linux Mint 21.2 (Ubuntu 22.04). PipeWire is installed using pipewire-debian PPA. изображение

PipeWire is working as a PulseAudio server

imdanix@GladOS-Nitro:~$ LC_ALL=C pactl info | grep "Server"
Server String: /run/user/1000/pulse/native
Server Protocol Version: 35
Server Name: PulseAudio (on PipeWire 1.0.0)
Server Version: 15.0.0

WirePlumber server is working, but has a few, likely unrelated, warnings

imdanix@GladOS-Nitro:~$ LC_ALL=C systemctl --user status wireplumber
* wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2023-12-15 18:01:34 MSK; 24min ago
   Main PID: 1281 (wireplumber)
      Tasks: 8 (limit: 37996)
     Memory: 8.5M
        CPU: 739ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             `-1281 /usr/bin/wireplumber

Dec 15 18:01:34 GladOS-Nitro systemd[1272]: Started Multimedia Service Session Manager.
Dec 15 18:01:34 GladOS-Nitro wireplumber[1281]: Failed to set scheduler settings: <D0><9E><D0><BF><D0><B5><D1><80><D0><B0><D1><86><D0><B8><D1><8F> <D0><BD><D0><B5> <D0><BF><D0><BE><D0><B7><D0><B2><D0><BE><D0><BB>
Dec 15 18:01:34 GladOS-Nitro wireplumber[1281]: [0:00:15.380856446] [1281]  WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
Dec 15 18:01:34 GladOS-Nitro wireplumber[1281]: [0:00:15.380885470] [1281]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Dec 15 18:01:35 GladOS-Nitro wireplumber[1281]: Path Capture is not a volume or mute control
Dec 15 18:01:35 GladOS-Nitro wireplumber[1281]: <WpPortalPermissionStorePlugin:0x55c306d00760> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Dec 15 18:01:35 GladOS-Nitro wireplumber[1281]: <WpPortalPermissionStorePlugin:0x55c306d00760> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

Both PipeWire-Alsa and PipeWire-Jack are installed

imdanix@GladOS-Nitro:~$ LC_ALL=C sudo apt install pipewire-alsa pipewire-jack 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pipewire-alsa is already the newest version (1.0.0-1~ubuntu22.04).
pipewire-jack is already the newest version (1.0.0-1~ubuntu22.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

linux-pipewire-audio.so shows up in OBS loaded modules log

info: ---------------------------------
info:   Loaded Modules:
info:     linux-pipewire-audio.so
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.0) 15.0.0'
info: pulse-input: Audio format: s24-32le, 48000 Hz, 2 channels
info: pulse-input: Sample format s24-32le not supported by OBS,using float32le instead for recording
info: pulse-input: Started recording from 'alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor'
info: [Loaded global audio device]: 'Desktop'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.0) 15.0.0'
info: pulse-input: Audio format: float32le, 48000 Hz, 1 channels
info: pulse-input: Started recording from 'NoiseTorch Microphone for Tiger Lake-LP Smart Sound Technology Audio Controller'
info: [Loaded global audio device]: 'Mic/Aux'
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop)

info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
dimtpap commented 6 months ago

What is the output of obs --verbose?

imDaniX commented 6 months ago

obs-log.txt

dimtpap commented 6 months ago

info: OBS 27.2.3+dfsg1-1 (linux)

This plugin requires OBS 28.0 or later since 1.0.5.

imDaniX commented 6 months ago

That was quite stupid of me. Thanks for the help.