Go to file
Florian Klink d1162f28ef pipewire.conf.in: use absolute path to pipewire-media-session
So pipewire daemon is able to find pipewire-media-session from the
location it's installed to, even when it's not in $PATH.

For the `pw-ininstalled.sh` and `make run` invocations, provide a
`src/daemon/pipewire-uninstalled.conf` that still uses the relative
path, but isn't installed.
2020-06-10 13:20:25 +02:00
doc docs: add some more info 2020-06-09 17:29:40 +02:00
man man: Add man pages for pw-jack, pw-pulse 2020-06-08 13:28:44 +00:00
pipewire-alsa alsa: compare the scaled value to decide on xrun 2020-05-13 15:46:50 +02:00
pipewire-jack scripts: Use special ${LIB} token for architecture-independence 2020-06-05 13:40:50 +00:00
pipewire-pulseaudio stream: check for NULL context 2020-06-08 11:58:32 +02:00
po Update POTFILES.in 2017-09-19 17:42:12 +02:00
spa libcamera: fix implicit dependency to libdrm 2020-06-10 09:20:16 +00:00
src pipewire.conf.in: use absolute path to pipewire-media-session 2020-06-10 13:20:25 +02:00
.cirrus.yml Add Cirrus CI config file for FreeBSD. 2020-04-19 15:34:59 +04:00
.editorconfig editorconfig: add exception for yml files that use 2-space indentation 2020-05-19 09:21:55 +03:00
.gitignore gitignore: Add generated Makefile 2019-11-08 13:00:00 +05:30
.gitlab-ci.yml ci: publish generated documentation from master on gitlab pages 2020-05-19 10:05:53 +03:00
_config.yml Set theme jekyll-theme-slate 2017-09-04 19:55:46 +02:00
autogen.sh install replacement libraries in modules directory 2020-04-29 11:24:24 +02:00
check_missing_headers.sh fix missing headers check 2020-02-05 17:21:12 +01:00
CODE_OF_CONDUCT.md Add a code of coduct 2019-11-08 13:57:36 +05:30
config.h.meson add systemd socket activation 2018-10-18 12:36:10 +02:00
COPYING Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
INSTALL.md INSTALL: update with info about jack plugin 2020-05-04 10:00:24 +02:00
LICENSE Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
Makefile.in pipewire.conf.in: use absolute path to pipewire-media-session 2020-06-10 13:20:25 +02:00
meson.build 0.3.6 2020-06-10 11:53:32 +02:00
meson_options.txt libcamera: disable by default 2020-06-04 10:50:54 +02:00
NEWS 0.3.6 2020-06-10 11:53:32 +02:00
PROTOCOL Initial commit 2015-04-16 16:58:33 +02:00
pw-uninstalled.sh pipewire.conf.in: use absolute path to pipewire-media-session 2020-06-10 13:20:25 +02:00
README.md Update README.md 2020-05-02 08:16:03 +00:00

PipeWire

PipeWire is a server and user space API to deal with multimedia pipelines. This includes:

  • Making available sources of video (such as from a capture devices or application provided streams) and multiplexing this with clients.
  • Accessing sources of video for consumption.
  • Generating graphs for audio and video processing.

Nodes in the graph can be implemented as separate processes, communicating with sockets and exchanging multimedia content using fd passing.

Building and installation

The prefered way to install PipeWire is to install it with your distribution package system. This ensures PipeWire is integrated into the rest of your system for the best experience.

If you want to build and install PipeWire yourself, refer to INSTALL.md for instructions.

Usage

The most important purpose of PipeWire is to run your favorite apps.

Some application use the native PipeWire API, such as most compositors (gnome-shell, wayland, ..) to implement screen sharing. These apps will just work automatically.

Most audio applications can use either ALSA, JACK or PulseAudio as a backend. PipeWire provides support for all 3 backends. Depending on how your distríbution has configured things this should just work automatically or with the provided scripts shown below.

PipeWire can use environment variables to control the behaviour of applications:

  • PIPEWIRE_DEBUG= to increase the debug level
  • PIPEWIRE_LOG= to redirect log to filename
  • PIPEWIRE_LATENCY=<num/denom> to configure latency
  • PIPEWIRE_NODE= to request link to specified node

Using tools

pw-cat can be used to play and record audio and midi. Use pw-cat -h to get some more help. There are some aliases like pw-play and pw-record to make things easier:

$ pw-play /home/wim/data/01.\ Firepower.wav

Running JACK applications

Depending on how the system was configured, your can either run PipeWire and JACK side-by-side or have PipeWire take over the functionality of JACK completely.

In dual mode, JACK apps will by default use the JACK server. To direct a JACK app to PipeWire, you can use the pw-jack script like this:

$ pw-jack <appname>

If you replaced JACK with PipeWire completely, pw-jack does not have any effect and can be ommited.

Running PulseAudio applications

Depending on how the system was configured, your can either run PipeWire and PulseAudio side-by-side or have PipeWire take over the functionality of PulseAudio completely. We don't recommend to completely replace PulseAudio at this point.

Use the pw-pulse script to launch a PulseAudio application on PipeWire, like:

$ pw-pulse <appname>

Running ALSA applications

If the PipeWire alsa module is installed, it can be seen with

$ aplay -L

Alsa application can then use the pipewire: device to use PipeWire as the audio system.

Running GStreamer applications

PipeWire includes 2 GStreamer elements called pipewiresrc and pipewiresink. They can be used in pipelines like this:

$ gst-launch-1.0 pipewiresrc ! videoconvert ! autovideosink

Or to play a beeping sound:

$ gst-launch-1.0 audiotestsrc ! pipewiresink

PipeWire provides a device monitor as well so that:

$ gst-device-monitor-1.0

Shows the PipeWire devices and applications like cheese will automatically use the PipeWire video source when possible.

Inspecting the PipeWire state

There is currently no native graphical tool to inspect the PipeWire graph but we recommend to use one of the excellent JACK tools, such as Carla, catia, qjackctl,... You will not be able to see all features like the video ports but it is a good start.

pw-mon dumps and monitors the state of the PipeWire daemon.

pw-dot can dump a graph of the pipeline, checkout out the help for how to do this.

There is a more complicated tools to inspect the state of the server with pw-cli. This tools can be used interactively or it can execute single commands like this to get the server information:

$ pw-cli info 0