[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[79b6251f] | 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 |
|
---|
[ae96c4b] | 7 | <!ENTITY gst10-plugins-bad-download-http
|
---|
| 8 | "&gstreamer-dl;/gst-plugins-bad/gst-plugins-bad-&gst10-plugins-bad-version;.tar.xz">
|
---|
[79b6251f] | 9 | <!ENTITY gst10-plugins-bad-download-ftp " ">
|
---|
[966dfd9b] | 10 | <!ENTITY gst10-plugins-bad-md5sum "b0791b9671b875b25bb532f62edc6432">
|
---|
[e608548] | 11 | <!ENTITY gst10-plugins-bad-size "6.7 MB">
|
---|
[966dfd9b] | 12 | <!ENTITY gst10-plugins-bad-buildsize "266 MB (with tests)">
|
---|
| 13 | <!ENTITY gst10-plugins-bad-time "0.8 SBU (Using parallelism=4; with tests)">
|
---|
[79b6251f] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gst10-plugins-bad" xreflabel="gst-plugins-bad-&gst10-plugins-bad-version;">
|
---|
| 17 | <?dbhtml filename="gst10-plugins-bad.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>gst-plugins-bad-&gst10-plugins-bad-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="gst10-plugins-bad">
|
---|
[b354e53] | 23 | <primary sortas="a-gst-plugins-bad">gst-plugins-bad</primary>
|
---|
[79b6251f] | 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to GStreamer Bad Plug-ins</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>GStreamer Bad Plug-ins</application> package contains a
|
---|
[4cc74e03] | 31 | set of plug-ins that aren't up to par compared to the rest. They
|
---|
[79b6251f] | 32 | might be close to being good quality, but they're missing something - be
|
---|
| 33 | it a good code review, some documentation, a set of tests, a real live
|
---|
[058a3280] | 34 | maintainer, or some actual wide use.
|
---|
[79b6251f] | 35 | </para>
|
---|
| 36 |
|
---|
[0be837af] | 37 | &lfs122_checked;
|
---|
[79b6251f] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&gst10-plugins-bad-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&gst10-plugins-bad-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &gst10-plugins-bad-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &gst10-plugins-bad-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &gst10-plugins-bad-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &gst10-plugins-bad-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
[bd81e201] | 72 |
|
---|
[79b6251f] | 73 | <bridgehead renderas="sect3">GStreamer Bad Plug-ins Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="gst10-plugins-base"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[0165a3fe] | 80 | <!-- Common formats, output and input codecs and requirements
|
---|
| 81 | for GNOME apps. What's a multimedia framework useful if it
|
---|
| 82 | can't be used to play anything (common)? -->
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="libdvdread"/>,
|
---|
[7958b3f] | 86 | <xref linkend="libdvdnav"/>,
|
---|
| 87 | <xref linkend="libva"/>, and
|
---|
[0165a3fe] | 88 | <xref linkend="soundtouch"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[79b6251f] | 91 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 92 | <para role="optional">
|
---|
[0165a3fe] | 93 | <xref linkend="bluez"/>,
|
---|
[79b6251f] | 94 | <xref linkend="curl"/>,
|
---|
| 95 | <xref linkend="faac"/>,
|
---|
| 96 | <xref linkend="faad2"/>,
|
---|
[5bf32c0] | 97 | <xref linkend="fdk-aac"/>,
|
---|
[9aafa69] | 98 | <xref linkend="gtk3"/> (for examples),
|
---|
[f16ab62] | 99 | <xref linkend="gst10-plugins-good"/> (for one test),
|
---|
[a351de31] | 100 | <xref linkend="json-glib"/>,
|
---|
[2bd04d6] | 101 | <xref linkend="lcms2"/>,
|
---|
[f6503c73] | 102 | <xref linkend="libaom"/>,
|
---|
[0165a3fe] | 103 | <xref linkend="libass"/>,
|
---|
[9aafa69] | 104 | <xref linkend="libexif"/> (for one test),
|
---|
[794a5d8] | 105 | <xref linkend="librsvg"/>,
|
---|
[f16ab62] | 106 | <xref linkend="libsoup"/> (for one test),
|
---|
[794a5d8] | 107 | <xref linkend="libsndfile"/>,
|
---|
[2bd04d6] | 108 | <xref linkend="libssh2"/>,
|
---|
| 109 | <xref linkend="libusb"/>,
|
---|
[4cc74e03] | 110 | <xref linkend="libwebp"/>,
|
---|
[794a5d8] | 111 | <xref linkend="libxkbcommon"/>,
|
---|
[b371476] | 112 | <xref linkend="neon"/>,
|
---|
[9aafa69] | 113 | <xref linkend="nettle"/> or <xref linkend="libgcrypt"/>
|
---|
[6703becc] | 114 | (for SSL support in the hls plugin, if both are not installed OpenSSL will
|
---|
[4e207bb] | 115 | be used instead),
|
---|
[d455680] | 116 | <xref linkend="opencv"/> (with additional modules),
|
---|
[bd81e201] | 117 | <xref linkend="openjpeg2"/>,
|
---|
[4cc74e03] | 118 | <xref linkend="opus"/>,
|
---|
[a351de31] | 119 | <xref linkend="qrencode"/>,
|
---|
[794a5d8] | 120 | <xref linkend="sbc"/>,
|
---|
[0783427] | 121 | <xref linkend="sdl"/>,
|
---|
[f1607a4] | 122 | <xref linkend="valgrind"/>,
|
---|
[964682d8] | 123 | both
|
---|
| 124 | <xref linkend="vulkan-loader"/> and
|
---|
| 125 | <xref linkend="glslc"/> (for Vulkan plugin),
|
---|
[11551baf] | 126 | <xref linkend="wayland"/> (<xref linkend="gtk3"/> must have been
|
---|
| 127 | compiled with wayland support),
|
---|
[4cc74e03] | 128 | <xref linkend="x265"/>,
|
---|
[f6503c73] | 129 | <!--<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,-->
|
---|
[17aa21c] | 130 | <ulink url="https://bs2b.sourceforge.net/">bs2b</ulink>,
|
---|
[3e30e1b] | 131 | <ulink url="https://acoustid.org/chromaprint">Chromaprint</ulink>,
|
---|
[794a5d8] | 132 | <ulink url="https://github.com/kornelski/dssim">dssim</ulink>,
|
---|
[75b1a338] | 133 | <ulink url="https://github.com/festvox/flite">Flite</ulink>,
|
---|
| 134 | <ulink url="https://www.fluidsynth.org/">FluidSynth</ulink>,
|
---|
[af0dd5e] | 135 | <ulink url="https://github.com/libgme/game-music-emu">Game Music Emu</ulink>,
|
---|
[75b1a338] | 136 | <ulink url="https://www.quut.com/gsm/">GSM</ulink>,
|
---|
[794a5d8] | 137 | <ulink url="https://pypi.org/project/hotdoc/">hotdoc</ulink>,
|
---|
[2bd04d6] | 138 | <ulink url="https://www.ladspa.org/">LADSPA</ulink>,
|
---|
[89932c6] | 139 | <ulink url="https://github.com/EHfive/ldacBT">ldacBT</ulink>,
|
---|
[e608548] | 140 | <ulink url="https://github.com/aja-video/libajantv2">libajantv2</ulink>,
|
---|
[794a5d8] | 141 | <ulink url="https://github.com/AVnu/libavtp">libavtp</ulink>,
|
---|
| 142 | <ulink url="https://sourceforge.net/projects/libdc1394/files/libdc1394-2/">libdc1394-2</ulink>,
|
---|
| 143 | <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>,
|
---|
| 144 | <ulink url="https://www.libde265.org">libde265</ulink>,
|
---|
| 145 | <ulink url="https://code.google.com/archive/p/libkate/">libkate</ulink>,
|
---|
| 146 | <ulink url="https://github.com/Intel-Media-SDK/MediaSDK">libmfx</ulink>,
|
---|
| 147 | <ulink url="https://sourceforge.net/projects/libmms/">libmms</ulink>,
|
---|
| 148 | <ulink url="https://github.com/Konstanty/libmodplug">libmodplug</ulink>,
|
---|
| 149 | <ulink url="https://libnice.freedesktop.org/">libnice</ulink>,
|
---|
| 150 | <ulink url="https://code.google.com/p/musicip-libofa/">libofa</ulink>,
|
---|
| 151 | <ulink url="https://lib.openmpt.org/libopenmpt/">libopenmpt</ulink>,
|
---|
| 152 | <ulink url="https://structure.io/openni">libopenni</ulink>,
|
---|
| 153 | <ulink url="https://github.com/cisco/libsrtp">libsrtp</ulink>,
|
---|
| 154 | <ulink url="https://drobilla.net/software/lilv">lilv</ulink>,
|
---|
| 155 | <ulink url="https://github.com/swh/LRDF">LRDF</ulink>,
|
---|
[498a011] | 156 | <ulink url="https://github.com/x42/ltc-tools">ltc-tools</ulink>,
|
---|
[794a5d8] | 157 | <ulink url="https://github.com/videolabs/libmicrodns">microdns</ulink>,
|
---|
[17aa21c] | 158 | <ulink url="https://mjpeg.sourceforge.net/">MJPEG Tools</ulink>,
|
---|
[6703becc] | 159 | <ulink url="https://snyk.io/advisor/npm-package/mplex2">mplex2</ulink>,
|
---|
| 160 | <ulink url="https://www.musepack.net/">musepack</ulink>,
|
---|
| 161 | <ulink url="https://github.com/microsoft/onnxruntime">onnxruntime</ulink>,
|
---|
[a4c3c48] | 162 | <ulink url="https://openal.org/">OpenAL</ulink>,
|
---|
[794a5d8] | 163 | <ulink url="https://www.openexr.com/">OpenEXR</ulink>,
|
---|
| 164 | <ulink url="https://www.openh264.org/">OpenH264</ulink>,
|
---|
| 165 | <ulink url="https://gstreamer.freedesktop.org/src/orc/">Orc</ulink>,
|
---|
[a4c3c48] | 166 | <ulink url="https://rtmpdump.mplayerhq.hu/">rtmpdump</ulink>,
|
---|
[794a5d8] | 167 | <ulink url="https://github.com/jart/spandsp">spandsp</ulink>,
|
---|
[586ae9d] | 168 | <ulink url="https://github.com/Haivision/srt">Srt</ulink>,
|
---|
[794a5d8] | 169 | <ulink url="https://github.com/OpenVisualCloud/SVT-HEVC/">svthevcenc</ulink>,
|
---|
| 170 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">VO AAC</ulink>,
|
---|
| 171 | <ulink url="https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">VO AMRWB</ulink>,
|
---|
[d88a080] | 172 | <!--<ulink url="https://vulkan.lunarg.com/sdk/home/">Vulkan</ulink>,-->
|
---|
[56fe3c1] | 173 | <ulink url="https://github.com/Mindwerks/wildmidi/">WildMidi</ulink>,
|
---|
[794a5d8] | 174 | <ulink url="https://webkit.org/wpe/">WPE-WebKit</ulink>,
|
---|
[c65a0065] | 175 | <ulink url="https://github.com/Igalia/WPEBackend-fdo">WPEBackend-fdo</ulink>,
|
---|
[17aa21c] | 176 | <ulink url="https://zbar.sourceforge.net/">ZBAR</ulink>,
|
---|
| 177 | <ulink url="https://zapping.sourceforge.net/ZVBI/index.html/">ZVBI</ulink>, and
|
---|
[794a5d8] | 178 | <ulink url="https://github.com/zxing/zxing">zxing</ulink>
|
---|
[79b6251f] | 179 | </para>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | <sect2 role="installation">
|
---|
| 184 | <title>Installation of GStreamer Bad Plug-ins</title>
|
---|
[cd4f607] | 185 | <!--
|
---|
[4ef9eb3] | 186 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 187 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[cd4f607] | 188 | -->
|
---|
[4ef9eb3] | 189 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 190 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
[5dfe5591] | 191 |
|
---|
[79b6251f] | 192 | <para>
|
---|
[0783427] | 193 | Install <application>GStreamer Bad Plug-ins</application> by running the
|
---|
| 194 | following commands:
|
---|
[79b6251f] | 195 | </para>
|
---|
| 196 |
|
---|
[0c61cb89] | 197 | <screen><userinput>mkdir build &&
|
---|
| 198 | cd build &&
|
---|
| 199 |
|
---|
[5ce2b5a] | 200 | meson setup .. \
|
---|
| 201 | --prefix=/usr \
|
---|
| 202 | --buildtype=release \
|
---|
[17c4d8d] | 203 | -D gpl=enabled &&
|
---|
[0c61cb89] | 204 | ninja</userinput></screen>
|
---|
[79b6251f] | 205 |
|
---|
| 206 | <para>
|
---|
[b4c475d] | 207 | To test the results, issue: <command>ninja test</command>. Several tests
|
---|
[c1257873] | 208 | need a terminal emulator in a graphical session. Two tests,
|
---|
| 209 | <emphasis>elements_vapostproc</emphasis> and
|
---|
[63b7c2b] | 210 | <emphasis>elements_dash_mpd</emphasis>, are known to fail.
|
---|
| 211 | <!-- Upstream issue is https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3124 -->
|
---|
[f16ab62] | 212 |
|
---|
| 213 | <!-- Upstream issue gst-plugins-bad/#1426 -->
|
---|
[af0dd5e] | 214 | If <xref linkend='gst10-plugins-good'/> is not installed, two tests,
|
---|
[f16ab62] | 215 | <emphasis>elements_rtpsrc</emphasis> and
|
---|
[af0dd5e] | 216 | <emphasis>elements_rtpsink</emphasis>, will fail.
|
---|
[79b6251f] | 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <para>
|
---|
| 220 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 221 | </para>
|
---|
| 222 |
|
---|
[e1202ee] | 223 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[79b6251f] | 224 | </sect2>
|
---|
[9ac88cc5] | 225 |
|
---|
[3918112a] | 226 | <sect2 role="commands">
|
---|
| 227 | <title>Command Explanations</title>
|
---|
| 228 |
|
---|
| 229 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 230 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[19a9160] | 231 |
|
---|
| 232 | <para>
|
---|
[3da547ca] | 233 | <parameter>-D gpl=enabled</parameter>: Without this switch, plugins with
|
---|
[19a9160] | 234 | dependencies on (A)GPL licensed libraries are not built.
|
---|
| 235 | </para>
|
---|
[3918112a] | 236 | </sect2>
|
---|
| 237 |
|
---|
[79b6251f] | 238 | <sect2 role="content">
|
---|
| 239 | <title>Contents</title>
|
---|
| 240 |
|
---|
| 241 | <segmentedlist>
|
---|
[c3c56b2] | 242 | <segtitle>Installed Programs</segtitle>
|
---|
[79b6251f] | 243 | <segtitle>Installed Libraries</segtitle>
|
---|
| 244 | <segtitle>Installed Directories</segtitle>
|
---|
| 245 |
|
---|
| 246 | <seglistitem>
|
---|
[c3c56b2] | 247 | <seg>
|
---|
[794a5d8] | 248 | gst-transcoder-1.0 and
|
---|
| 249 | playout
|
---|
[c3c56b2] | 250 | </seg>
|
---|
[79b6251f] | 251 | <seg>
|
---|
[50393b8e] | 252 | libgstadaptivedemux-1.0.so,
|
---|
[e608548] | 253 | libgstanalytics-1.0.so,
|
---|
[4cc74e03] | 254 | libgstbadaudio-1.0.so,
|
---|
[f3429309] | 255 | libgstbasecamerabinsrc-1.0.so,
|
---|
[6703becc] | 256 | libgstcuda-1.0.so,
|
---|
[50393b8e] | 257 | libgstcodecparsers-1.0.so,
|
---|
[794a5d8] | 258 | libgstcodecs-1.0.so,
|
---|
[e608548] | 259 | libgstdxva-1.0.so,
|
---|
[f3429309] | 260 | libgstinsertbin-1.0.so,
|
---|
[2bd04d6] | 261 | libgstisoff-1.0.so,
|
---|
[50393b8e] | 262 | libgstmpegts-1.0.so,
|
---|
[e608548] | 263 | libgstmse-1.0.so,
|
---|
[f3429309] | 264 | libgstphotography-1.0.so,
|
---|
[8c0d8196] | 265 | libgstplay-1.0.so,
|
---|
[4cc74e03] | 266 | libgstplayer-1.0.so,
|
---|
[794a5d8] | 267 | libgstsctp-1.0.so,
|
---|
| 268 | libgsttranscoder-1.0.so,
|
---|
[8558044] | 269 | libgsturidownloader-1.0.so,
|
---|
[8c0d8196] | 270 | libgstva-1.0.so,
|
---|
[2bd04d6] | 271 | libgstwayland-1.0.so,
|
---|
| 272 | libgstwebrtc-1.0.so, and
|
---|
[0783427] | 273 | several plugins under /usr/lib/gstreamer-1.0
|
---|
[79b6251f] | 274 | </seg>
|
---|
| 275 | <seg>
|
---|
[6703becc] | 276 | /usr/include/gstreamer-1.0/gst/{audio,basecamerabinsrc,cuda},
|
---|
| 277 | /usr/include/gstreamer-1.0/gst/{codecparsers,insertbin,interfaces},
|
---|
| 278 | /usr/include/gstreamer-1.0/gst/{isoff,mpegts,play,player,sctp}
|
---|
| 279 | /usr/include/gstreamer-1.0/gst/{transcoder,uridownloader,va}, and
|
---|
| 280 | /usr/include/gstreamer-1.0/gst/{wayland,webrtc}
|
---|
[79b6251f] | 281 | </seg>
|
---|
| 282 | </seglistitem>
|
---|
| 283 | </segmentedlist>
|
---|
| 284 |
|
---|
[794a5d8] | 285 | <variablelist>
|
---|
| 286 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 287 | <?dbfo list-presentation="list"?>
|
---|
| 288 | <?dbhtml list-presentation="table"?>
|
---|
| 289 |
|
---|
| 290 | <varlistentry id="gst-transcoder-1.0">
|
---|
| 291 | <term><command>gst-transcoder-1.0</command></term>
|
---|
| 292 | <listitem>
|
---|
| 293 | <para>
|
---|
[4c24eb0a] | 294 | is used to transcode a stream into a different format
|
---|
[794a5d8] | 295 | </para>
|
---|
| 296 | <indexterm zone="gst10-plugins-bad gst-transcoder-1.0">
|
---|
| 297 | <primary sortas="b-gst-transcoder-1.0">gst-transcoder-1.0</primary>
|
---|
| 298 | </indexterm>
|
---|
| 299 | </listitem>
|
---|
| 300 | </varlistentry>
|
---|
| 301 |
|
---|
| 302 | <varlistentry id="playout">
|
---|
| 303 | <term><command>playout</command></term>
|
---|
| 304 | <listitem>
|
---|
| 305 | <para>
|
---|
| 306 | is an example application used to sequentially play a list of
|
---|
[4c24eb0a] | 307 | audio-video files
|
---|
[794a5d8] | 308 | </para>
|
---|
| 309 | <indexterm zone="gst10-plugins-bad playout">
|
---|
| 310 | <primary sortas="b-playout">playout</primary>
|
---|
| 311 | </indexterm>
|
---|
| 312 | </listitem>
|
---|
| 313 | </varlistentry>
|
---|
| 314 |
|
---|
| 315 | </variablelist>
|
---|
| 316 |
|
---|
[79b6251f] | 317 | </sect2>
|
---|
| 318 |
|
---|
| 319 | </sect1>
|
---|