Getting PipeWire

An older version of PipeWire (0.2) that does not support the audio use cases should be available in most distributions.

If you want to get the code from GitLab then the latest PipeWire source code is available at GitLab. To clone the repository, just:

$ git clone https://gitlab.freedesktop.org/pipewire/pipewire.git

Setup

PipeWire is using the Meson build system and we provide a convenience script and Makefile that makes building PipeWire fairly straightforward:

$ ./autogen.sh --prefix=$PREFIX $ make $ make install

$PREFIX

/usr

/usr/local

Running

Theis commonly set toor

You can test the PipeWire server from the source directory with:

$ make run

To test video capture and display with SDL from the source directory, try in another window:

$ make shell

This sets up the environment variables to run the example apps from the build directory like this:

$ build/src/examples/video-play

You can play around with the other examples as well. Don't forget to set the correct environment variables as shown above or else the plugins and modules won't be found.