source: multimedia/libdriv/pipewire.xml@ 1305856

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 1305856 was 1305856, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Update to pipewire-0.3.22

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24281 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 16.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pipewire-download-http "https://github.com/PipeWire/pipewire/archive/&pipewire-version;/pipewire-&pipewire-version;.tar.gz">
8 <!ENTITY pipewire-download-ftp " ">
9 <!ENTITY pipewire-md5sum "ea84d6b15450af9322555454cbf6fe64">
10 <!ENTITY pipewire-size "1.2 MB">
11 <!ENTITY pipewire-buildsize "124 MB (with tests)">
12 <!ENTITY pipewire-time "0.4 SBU (Using parallelism=4; with tests)">
13]>
14
15<sect1 id="pipewire" xreflabel="pipewire-&pipewire-version;">
16 <?dbhtml filename="pipewire.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Pipewire-&pipewire-version;</title>
24
25 <indexterm zone="pipewire">
26 <primary sortas="a-pipewire">pipewire</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Pipewire</title>
31
32 <para>
33 The <application>pipewire</application> package contains a server and
34 user-space API to handle multimedia pipelines. This includes a universal
35 API to connect to multimedia devices, as well as sharing multimedia
36 files between applications.
37 </para>
38
39 &lfs101_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&pipewire-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&pipewire-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &pipewire-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &pipewire-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &pipewire-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &pipewire-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Pipewire Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="bluez"/>,
80 <xref linkend="ffmpeg"/>,
81 <xref linkend="gstreamer10"/>,
82 <xref linkend="gst10-plugins-base"/>,
83 <xref linkend="libva"/>,
84 <xref linkend="pulseaudio"/>,
85 <xref linkend="sbc"/>,
86 <xref linkend="sdl2"/>, and
87 <xref linkend="v4l-utils"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="valgrind"/>,
93 <xref linkend="doxygen"/> and
94 <xref linkend="graphviz"/> (for documentation),
95 <ulink url="https://jackaudio.org/">JACK</ulink>,
96 <ulink url="https://github.com/EHfive/ldacBT">ldacBT</ulink>,
97 <ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>, and
98 <ulink url="https://sourceforge.net/projects/xmltoman/">xmltoman</ulink>
99 </para>
100
101 <para condition="html" role="usernotes">
102 User Notes: <ulink url="&blfs-wiki;/pipewire"/>
103 </para>
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of Pipewire</title>
108
109 <para>
110 Install <application>pipewire</application> by running the following
111 commands:
112 </para>
113
114<screen><userinput>mkdir build &amp;&amp;
115cd build &amp;&amp;
116
117meson --prefix=/usr \
118 -Djack=false \
119 -Dpipewire-jack=false \
120 -Dvulkan=false \
121 .. &amp;&amp;
122ninja</userinput></screen>
123
124 <para>
125 To test the result, issue: <command>ninja test</command>.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>ninja install</userinput></screen>
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <!-- Without these three parameters, Meson fails to run. -->
139 <para>
140 <parameter>-Djack=false</parameter>: This switch prevents building the
141 <application>JACK</application> plugin since
142 <application>JACK</application> is not in BLFS.
143 </para>
144
145 <para>
146 <parameter>-Dpipewire-jack=false</parameter>: This switch prevents
147 building <application>JACK</application> support into pipewire since
148 <application>JACK</application> is not in BLFS.
149 </para>
150
151 <para>
152 <parameter>-Dvulkan=false</parameter>: This switch prevents building
153 <application>Vulkan</application> API support into pipewire since
154 <application>Vulkan</application> is not in BLFS.
155 </para>
156
157 <para>
158 <option>-Ddocs=true</option>: This switch enables the generation of HTML
159 documentation. The optional dependencies for documentation need to be
160 installed for this to work.
161 </para>
162
163 <para>
164 <option>-Dman=true</option>: This switch enables the generation of manual
165 pages. The optional dependencies for documentation need to be installed
166 for this to work.
167 </para>
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Libraries</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>
180 pipewire,
181 pipewire-media-session,
182 pipewire-pulse,
183 pw-cat,
184 pw-cli,
185 pw-dot,
186 pw-dump,
187 pw-metadata,
188 pw-mididump,
189 pw-mon,
190 pw-profiler,
191 <!--pw-pulse,-->
192 pw-reserve,
193 pw-top,
194 spa-acp-tool,
195 spa-inspect,
196 spa-monitor,
197 spa-resample, and
198 pw-midiplay, pw-midirecord, pw-play, and pw-record (symlinks to pw-cat)
199 </seg>
200 <seg>
201 libpipewire-0.3.so and
202 30 modules below /usr/lib/pipewire-0.3<!--,
203 [pierre July 29th, 2020]: all the following libs are in subdirectories
204 of /usr/lib. I'm not sure they should appear. But if they should, there
205 are many more libs to list...
206 libpulse-mainloop-glib-pw.so,
207 libpulse.so,
208 libpulse-simple.so,
209 libasound_module_pcm_pipewire.so, and
210 libgstpipewire.so
211 [bdubbs Sep 29th, 2020]: add
212 libpipewire-module-{access,adapter,client-device,client-node,
213 link-factory,metadata,portal,profiler,protocol-native,
214 rtkit,session-manager,spa-device,spa-device-factory,spa-node,
215 spa-node-factory}.so
216 libasound_module_ctl_pipewire.so
217 libasound_module_pcm_pipewire.so
218 libspa-{alsa,audioconvert,audiomixer,bluez5,control,dbus,support
219 v4l2,videoconvert}.so
220 -->
221 </seg>
222 <seg>
223 /etc/pipewire,
224 /usr/include/pipewire-0.3,
225 /usr/include/spa-0.2,
226 /usr/lib/alsa-lib,
227 /usr/lib/gstreamer-1.0,
228 /usr/lib/pipewire-0.3, and
229 /usr/lib/spa-0.2
230 </seg>
231 </seglistitem>
232 </segmentedlist>
233
234 <variablelist>
235 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
236 <?dbfo list-presentation="list"?>
237 <?dbhtml list-presentation="table"?>
238
239 <varlistentry id="pipewire-prog">
240 <term><command>pipewire</command></term>
241 <listitem>
242 <para>
243 is a service that allows access to multimedia devices and allows
244 sharing of multimedia files between applications
245 </para>
246 <indexterm zone="pipewire pipewire-prog">
247 <primary sortas="b-pipewire">pipewire</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="pipewire-media-session">
253 <term><command>pipewire-media-session</command></term>
254 <listitem>
255 <para>
256 is a service that allows a desktop environment to know when media
257 files are being played through pipewire
258 </para>
259 <indexterm zone="pipewire pipewire-media-session">
260 <primary sortas="b-pipewire-media-session">pipewire-media-session</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="pipewire-pulse">
266 <term><command>pipewire-pulse</command></term>
267 <listitem>
268 <para>
269 starts a Pulseaudio-compatible version of
270 the pipewire service
271 </para>
272 <indexterm zone="pipewire pipewire-pulse">
273 <primary sortas="b-pipewire-pulse">pipewire-pulse</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="pw-cat">
279 <term><command>pw-cat</command></term>
280 <listitem>
281 <para>
282 allows you to play or record media using a pipewire instance
283 </para>
284 <indexterm zone="pipewire pw-cat">
285 <primary sortas="b-pw-cat">pw-cat</primary>
286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="pw-cli">
291 <term><command>pw-cli</command></term>
292 <listitem>
293 <para>
294 allows you to interact with a pipewire instance
295 </para>
296 <indexterm zone="pipewire pw-cli">
297 <primary sortas="b-pw-cli">pw-cli</primary>
298 </indexterm>
299 </listitem>
300 </varlistentry>
301
302 <varlistentry id="pw-dot">
303 <term><command>pw-dot</command></term>
304 <listitem>
305 <para>
306 lists all of the daemons and objects in use by pipewire
307 </para>
308 <indexterm zone="pipewire pw-dot">
309 <primary sortas="b-pw-dot">pw-dot</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="pw-dump">
315 <term><command>pw-dump</command></term>
316 <listitem>
317 <para>
318 dumps debug messages from a local or remote pipewire instance to
319 the console
320 </para>
321 <indexterm zone="pipewire pw-dump">
322 <primary sortas="b-pw-dump">pw-dump</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="pw-metadata">
328 <term><command>pw-metadata</command></term>
329 <listitem>
330 <para>
331 inspects, adds, and removes metadata for objects
332 </para>
333 <indexterm zone="pipewire pw-metadata">
334 <primary sortas="b-pw-metadata">pw-metadata</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="pw-mididump">
340 <term><command>pw-mididump</command></term>
341 <listitem>
342 <para>
343 dumps MIDI messages from a file to the screen
344 </para>
345 <indexterm zone="pipewire pw-mididump">
346 <primary sortas="b-pw-mididump">pw-mididump</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="pw-mon">
352 <term><command>pw-mon</command></term>
353 <listitem>
354 <para>
355 allows you to monitor pipewire instances
356 </para>
357 <indexterm zone="pipewire pw-mon">
358 <primary sortas="b-pw-mon">pw-mon</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="pw-profiler">
364 <term><command>pw-profiler</command></term>
365 <listitem>
366 <para>
367 tracks memory usage and API calls used by pipewire
368 </para>
369 <indexterm zone="pipewire pw-profiler">
370 <primary sortas="b-pw-profiler">pw-profiler</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375<!--
376 <varlistentry id="pw-pulse">
377 <term><command>pw-pulse</command></term>
378 <listitem>
379 <para>
380 runs Pulseaudio applications on pipewire.
381 </para>
382 <indexterm zone="pipewire pw-pulse">
383 <primary sortas="b-pw-pulse">pw-pulse</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387-->
388
389 <varlistentry id="pw-reserve">
390 <term><command>pw-reserve</command></term>
391 <listitem>
392 <para>
393 reserves or monitors a device via D-Bus
394 </para>
395 <indexterm zone="pipewire pw-reserve">
396 <primary sortas="b-pw-reserve">pw-reserve</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="pw-top">
402 <term><command>pw-top</command></term>
403 <listitem>
404 <para>
405 displays real-time performance information from pipewire
406 </para>
407 <indexterm zone="pipewire pw-top">
408 <primary sortas="b-pw-top">pw-top</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="spa-acp-tool">
414 <term><command>spa-acp-tool</command></term>
415 <listitem>
416 <para>
417 inspects the card profile of a given sound card
418 </para>
419 <indexterm zone="pipewire spa-acp-tool">
420 <primary sortas="b-spa-acp-tool">spa-acp-tool</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="spa-inspect">
426 <term><command>spa-inspect</command></term>
427 <listitem>
428 <para>
429 allows you to inspect pipewire plugins
430 </para>
431 <indexterm zone="pipewire spa-inspect">
432 <primary sortas="b-spa-inspect">spa-inspect</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="spa-monitor">
438 <term><command>spa-monitor</command></term>
439 <listitem>
440 <para>
441 allows you to monitor pipewire plugins
442 </para>
443 <indexterm zone="pipewire spa-monitor">
444 <primary sortas="b-spa-monitor">spa-monitor</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="spa-resample">
450 <term><command>spa-resample</command></term>
451 <listitem>
452 <para>
453 resamples a given file
454 </para>
455 <indexterm zone="pipewire spa-resample">
456 <primary sortas="b-spa-resample">spa-resample</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="libpipewire">
462 <term><filename class="libraryfile">libpipewire-0.3.so</filename></term>
463 <listitem>
464 <para>
465 contains API functions for handling multimedia pipelines
466 </para>
467 <indexterm zone="pipewire libpipewire">
468 <primary sortas="c-libpipewire">libpipewire-0.3.so</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472<!--
473 <varlistentry id="libpulse-mainloop-glib-pw">
474 <term><filename class="libraryfile">libpulse-mainloop-glib-pw.so</filename></term>
475 <listitem>
476 <para>
477 provides a glib main() loop for pulseaudio to route media through
478 pipewire.
479 </para>
480 <indexterm zone="pipewire libpulse-mainloop-glib-pw">
481 <primary sortas="c-libpulse-mainloop-glib-pw">libpulse-mainloop-glib-pw.so</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="libpulse">
487 <term><filename class="libraryfile">libpulse.so</filename></term>
488 <listitem>
489 <para>
490 is a pipewire plugin for pulseaudio.
491 </para>
492 <indexterm zone="pipewire libpulse">
493 <primary sortas="c-libpulse">libpulse.so</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="libpulse-simple">
499 <term><filename class="libraryfile">libpulse-simple.so</filename></term>
500 <listitem>
501 <para>
502 is a simplified version of the pulseaudio plugin for pipewire.
503 </para>
504 <indexterm zone="pipewire libpulse-simple">
505 <primary sortas="c-libpulse-simple">libpulse-simple.so</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="libasound_module_pcm_pipewire">
511 <term><filename class="libraryfile">libasound_module_pcm_pipewire.so</filename></term>
512 <listitem>
513 <para>
514 is an ALSA plugin for pipewire.
515 </para>
516 <indexterm zone="pipewire libasound_module_pcm_pipewire">
517 <primary sortas="c-libasound_module_pcm_pipewire">libasound_module_pcm_pipewire.so</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="libgstpipewire">
523 <term><filename class="libraryfile">libgstpipewire.so</filename></term>
524 <listitem>
525 <para>
526 is a Gstreamer plugin for pipewire.
527 </para>
528 <indexterm zone="pipewire libgstpipewire">
529 <primary sortas="c-libgstpipewire">libgstpipewire.so</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>-->
533 </variablelist>
534 </sect2>
535
536</sect1>
Note: See TracBrowser for help on using the repository browser.