Skip to content
プロジェクト

dimtpap/obs-pipewire-audio-capture

GitHubで見る

概要

PipeWireを使用してOBS Studioで音声デバイスとアプリケーションの音声をキャプチャします。

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
+3
15日間
+7
1か月
+23

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Audio device and application capture for OBS Studio using PipeWire

This plugin adds 3 sources for capturing audio outputs, inputs and applications using PipeWire Device capture properties App capture properties

Usage

Requirements

  • OBS Studio 28.0 or later
  • WirePlumber
  • PipeWire 0.3.62 or later (#17, PipeWire#2874)

For the plugin to be able to capture applications, PipeWire should be set up to handle audio on your system. For most applications, the pipewire-pulse compatibility layer should be enough, but there are also pipewire-jack and pipewire-alsa. If applications aren't showing up in the plugin, your system may be missing one of those components.

Installation

Flatpak

If OBS Studio is installed as a Flatpak, install the plugin from Flathub. Use your software center or the following command

flatpak install flathub com.obsproject.Studio.Plugin.PipeWireAudioCapture

If the sources show no devices or apps, run flatpak override --filesystem=xdg-run/pipewire-0 com.obsproject.Studio and restart OBS Studio.

Others Follow the appropriate instructions for the version of OBS Studio you use
Version 33 and newer
  1. Get the linux-pipewire-audio-(version)-33.tar.gz archive from the latest release
  2. Extract it in ~/.local/share/obs-studio/plugins (create the folders if they don't exist)

Your files should look like this

.../obs-studio/plugins
├── linux-pipewire-audio
│   ├── linux-pipewire-audio.so
│   └── data
│       └── locale
│           ...
Version 28 to 32
  1. Get the linux-pipewire-audio-(version).tar.gz archive from the latest release
  2. In OBS Studio, go to File, then click Show Settings Folder
  3. In the folder that opens, create a folder called plugins if it doesn't already exist
  4. Extract the archive you downloaded in the plugins folder
  5. Restart OBS Studio

Your files should look like this

.../obs-studio/plugins
├── linux-pipewire-audio
│   ├── bin
│   │   └── 64bit
│   │       └── linux-pipewire-audio.so
│   └── data
│       └── locale
│           ...

Building (for development)

Ensure you have CMake, PipeWire and OBS Studio/libobs development packages.

[!IMPORTANT] If building for OBS versions older than 33, pass -DLEGACY=ON when configuring CMake.

Then in the project's root, run

cmake -B build -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=RelWithDebInfo #-DLEGACY=ON
cmake --build build
# To install it system-wide:
cmake --install build

Inclusion in upstream OBS Studio

This plugin is currently in the process of being worked on to merge into upstream OBS Studio. See https://github.com/obsproject/obs-studio/pull/6207

関連プロジェクトを探す

読み込み中…