[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 " ">
|
---|
[605ec3c] | 10 | <!ENTITY gst10-plugins-bad-md5sum "8e81739d264c32a10be011b235b454ce">
|
---|
[b10c207e] | 11 | <!ENTITY gst10-plugins-bad-size "5.3 MB">
|
---|
[605ec3c] | 12 | <!ENTITY gst10-plugins-bad-buildsize "177 MB (with tests)">
|
---|
[5d82b925] | 13 | <!ENTITY gst10-plugins-bad-time "0.9 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 |
|
---|
[181e069f] | 37 | &lfs121_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"/>,
|
---|
[e3cd7529] | 86 | <xref linkend="libdvdnav"/>, and
|
---|
[0165a3fe] | 87 | <xref linkend="soundtouch"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
[79b6251f] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
[0165a3fe] | 92 | <xref linkend="bluez"/>,
|
---|
[79b6251f] | 93 | <xref linkend="curl"/>,
|
---|
| 94 | <xref linkend="faac"/>,
|
---|
| 95 | <xref linkend="faad2"/>,
|
---|
[5bf32c0] | 96 | <xref linkend="fdk-aac"/>,
|
---|
[9aafa69] | 97 | <xref linkend="gtk3"/> (for examples),
|
---|
[f16ab62] | 98 | <xref linkend="gst10-plugins-good"/> (for one test),
|
---|
[a351de31] | 99 | <xref linkend="json-glib"/>,
|
---|
[2bd04d6] | 100 | <xref linkend="lcms2"/>,
|
---|
[f6503c73] | 101 | <xref linkend="libaom"/>,
|
---|
[0165a3fe] | 102 | <xref linkend="libass"/>,
|
---|
[9aafa69] | 103 | <xref linkend="libexif"/> (for one test),
|
---|
[794a5d8] | 104 | <xref linkend="librsvg"/>,
|
---|
[f16ab62] | 105 | <xref linkend="libsoup"/> (for one test),
|
---|
[794a5d8] | 106 | <xref linkend="libsndfile"/>,
|
---|
[2bd04d6] | 107 | <xref linkend="libssh2"/>,
|
---|
| 108 | <xref linkend="libusb"/>,
|
---|
[880da2c] | 109 | <xref linkend="libva"/>,
|
---|
[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"/>,
|
---|
[64b92e43] | 123 | both <xref linkend="vulkan-loader"/> and
|
---|
| 124 | <ulink url='https://github.com/google/shaderc'>glslc</ulink>
|
---|
| 125 | (for Vulkan plugin),
|
---|
[11551baf] | 126 | <xref linkend="wayland"/> (<xref linkend="gtk3"/> must have been
|
---|
| 127 | compiled with wayland support),
|
---|
[09acc5d] | 128 | <xref linkend="wpebackend-fdo"/>,
|
---|
[4cc74e03] | 129 | <xref linkend="x265"/>,
|
---|
[f6503c73] | 130 | <!--<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,-->
|
---|
[17aa21c] | 131 | <ulink url="https://bs2b.sourceforge.net/">bs2b</ulink>,
|
---|
[3e30e1b] | 132 | <ulink url="https://acoustid.org/chromaprint">Chromaprint</ulink>,
|
---|
[794a5d8] | 133 | <ulink url="https://github.com/kornelski/dssim">dssim</ulink>,
|
---|
[75b1a338] | 134 | <ulink url="https://github.com/festvox/flite">Flite</ulink>,
|
---|
| 135 | <ulink url="https://www.fluidsynth.org/">FluidSynth</ulink>,
|
---|
[4cc74e03] | 136 | <ulink url="https://bitbucket.org/mpyne/game-music-emu/">Game Music Emu</ulink>,
|
---|
[75b1a338] | 137 | <ulink url="https://www.quut.com/gsm/">GSM</ulink>,
|
---|
[794a5d8] | 138 | <ulink url="https://pypi.org/project/hotdoc/">hotdoc</ulink>,
|
---|
[2bd04d6] | 139 | <ulink url="https://www.ladspa.org/">LADSPA</ulink>,
|
---|
[89932c6] | 140 | <ulink url="https://github.com/EHfive/ldacBT">ldacBT</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>,
|
---|
[17aa21c] | 175 | <ulink url="https://zbar.sourceforge.net/">ZBAR</ulink>,
|
---|
| 176 | <ulink url="https://zapping.sourceforge.net/ZVBI/index.html/">ZVBI</ulink>, and
|
---|
[794a5d8] | 177 | <ulink url="https://github.com/zxing/zxing">zxing</ulink>
|
---|
[79b6251f] | 178 | </para>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | <sect2 role="installation">
|
---|
| 183 | <title>Installation of GStreamer Bad Plug-ins</title>
|
---|
[cd4f607] | 184 | <!--
|
---|
[4ef9eb3] | 185 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 186 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[cd4f607] | 187 | -->
|
---|
[4ef9eb3] | 188 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 189 | href="../../xincludes/gst10-plugins.xml"/>
|
---|
[5dfe5591] | 190 |
|
---|
[79b6251f] | 191 | <para>
|
---|
[0783427] | 192 | Install <application>GStreamer Bad Plug-ins</application> by running the
|
---|
| 193 | following commands:
|
---|
[79b6251f] | 194 | </para>
|
---|
| 195 |
|
---|
[0c61cb89] | 196 | <screen><userinput>mkdir build &&
|
---|
| 197 | cd build &&
|
---|
| 198 |
|
---|
[91318eb] | 199 | meson setup .. \
|
---|
| 200 | --prefix=/usr \
|
---|
[3918112a] | 201 | --buildtype=release \
|
---|
[34f274f3] | 202 | -Dgpl=enabled \
|
---|
[975b612] | 203 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
[0c61cb89] | 204 | -Dpackage-name="GStreamer &gst10-plugins-bad-version; BLFS" &&
|
---|
| 205 | ninja</userinput></screen>
|
---|
[79b6251f] | 206 |
|
---|
| 207 | <para>
|
---|
[b4c475d] | 208 | To test the results, issue: <command>ninja test</command>. Several tests
|
---|
[63b7c2b] | 209 | need a terminal emulator in a graphical session. Three tests,
|
---|
| 210 | <emphasis>elements_vacompositor</emphasis>,
|
---|
| 211 | <emphasis>elements_netsim</emphasis>, and
|
---|
| 212 | <emphasis>elements_dash_mpd</emphasis>, are known to fail.
|
---|
| 213 | <!-- Upstream issue is https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3124 -->
|
---|
[f16ab62] | 214 |
|
---|
| 215 | <!-- Upstream issue gst-plugins-bad/#1426 -->
|
---|
| 216 | If <xref linkend='gst10-plugins-good'/> is not installed, two tests
|
---|
| 217 | <emphasis>elements_rtpsrc</emphasis> and
|
---|
| 218 | <emphasis>elements_rtpsink</emphasis> will fail.
|
---|
[79b6251f] | 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
| 222 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 223 | </para>
|
---|
| 224 |
|
---|
[e1202ee] | 225 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[79b6251f] | 226 | </sect2>
|
---|
[9ac88cc5] | 227 |
|
---|
[3918112a] | 228 | <sect2 role="commands">
|
---|
| 229 | <title>Command Explanations</title>
|
---|
| 230 |
|
---|
| 231 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 232 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[19a9160] | 233 |
|
---|
| 234 | <para>
|
---|
| 235 | <parameter>-Dgpl=enabled</parameter>: Without this switch, plugins with
|
---|
| 236 | dependencies on (A)GPL licensed libraries are not built.
|
---|
| 237 | </para>
|
---|
[3918112a] | 238 | </sect2>
|
---|
| 239 |
|
---|
[79b6251f] | 240 | <sect2 role="content">
|
---|
| 241 | <title>Contents</title>
|
---|
| 242 |
|
---|
| 243 | <segmentedlist>
|
---|
[c3c56b2] | 244 | <segtitle>Installed Programs</segtitle>
|
---|
[79b6251f] | 245 | <segtitle>Installed Libraries</segtitle>
|
---|
| 246 | <segtitle>Installed Directories</segtitle>
|
---|
| 247 |
|
---|
| 248 | <seglistitem>
|
---|
[c3c56b2] | 249 | <seg>
|
---|
[794a5d8] | 250 | gst-transcoder-1.0 and
|
---|
| 251 | playout
|
---|
[c3c56b2] | 252 | </seg>
|
---|
[79b6251f] | 253 | <seg>
|
---|
[50393b8e] | 254 | libgstadaptivedemux-1.0.so,
|
---|
[4cc74e03] | 255 | libgstbadaudio-1.0.so,
|
---|
[f3429309] | 256 | libgstbasecamerabinsrc-1.0.so,
|
---|
[6703becc] | 257 | libgstcuda-1.0.so,
|
---|
[50393b8e] | 258 | libgstcodecparsers-1.0.so,
|
---|
[794a5d8] | 259 | libgstcodecs-1.0.so,
|
---|
[f3429309] | 260 | libgstinsertbin-1.0.so,
|
---|
[2bd04d6] | 261 | libgstisoff-1.0.so,
|
---|
[50393b8e] | 262 | libgstmpegts-1.0.so,
|
---|
[f3429309] | 263 | libgstphotography-1.0.so,
|
---|
[8c0d8196] | 264 | libgstplay-1.0.so,
|
---|
[4cc74e03] | 265 | libgstplayer-1.0.so,
|
---|
[794a5d8] | 266 | libgstsctp-1.0.so,
|
---|
| 267 | libgsttranscoder-1.0.so,
|
---|
[8558044] | 268 | libgsturidownloader-1.0.so,
|
---|
[8c0d8196] | 269 | libgstva-1.0.so,
|
---|
[2bd04d6] | 270 | libgstwayland-1.0.so,
|
---|
| 271 | libgstwebrtc-1.0.so, and
|
---|
[0783427] | 272 | several plugins under /usr/lib/gstreamer-1.0
|
---|
[79b6251f] | 273 | </seg>
|
---|
| 274 | <seg>
|
---|
[6703becc] | 275 | /usr/include/gstreamer-1.0/gst/{audio,basecamerabinsrc,cuda},
|
---|
| 276 | /usr/include/gstreamer-1.0/gst/{codecparsers,insertbin,interfaces},
|
---|
| 277 | /usr/include/gstreamer-1.0/gst/{isoff,mpegts,play,player,sctp}
|
---|
| 278 | /usr/include/gstreamer-1.0/gst/{transcoder,uridownloader,va}, and
|
---|
| 279 | /usr/include/gstreamer-1.0/gst/{wayland,webrtc}
|
---|
[79b6251f] | 280 | </seg>
|
---|
| 281 | </seglistitem>
|
---|
| 282 | </segmentedlist>
|
---|
| 283 |
|
---|
[794a5d8] | 284 | <variablelist>
|
---|
| 285 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 286 | <?dbfo list-presentation="list"?>
|
---|
| 287 | <?dbhtml list-presentation="table"?>
|
---|
| 288 |
|
---|
| 289 | <varlistentry id="gst-transcoder-1.0">
|
---|
| 290 | <term><command>gst-transcoder-1.0</command></term>
|
---|
| 291 | <listitem>
|
---|
| 292 | <para>
|
---|
[4c24eb0a] | 293 | is used to transcode a stream into a different format
|
---|
[794a5d8] | 294 | </para>
|
---|
| 295 | <indexterm zone="gst10-plugins-bad gst-transcoder-1.0">
|
---|
| 296 | <primary sortas="b-gst-transcoder-1.0">gst-transcoder-1.0</primary>
|
---|
| 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
| 301 | <varlistentry id="playout">
|
---|
| 302 | <term><command>playout</command></term>
|
---|
| 303 | <listitem>
|
---|
| 304 | <para>
|
---|
| 305 | is an example application used to sequentially play a list of
|
---|
[4c24eb0a] | 306 | audio-video files
|
---|
[794a5d8] | 307 | </para>
|
---|
| 308 | <indexterm zone="gst10-plugins-bad playout">
|
---|
| 309 | <primary sortas="b-playout">playout</primary>
|
---|
| 310 | </indexterm>
|
---|
| 311 | </listitem>
|
---|
| 312 | </varlistentry>
|
---|
| 313 |
|
---|
| 314 | </variablelist>
|
---|
| 315 |
|
---|
[79b6251f] | 316 | </sect2>
|
---|
| 317 |
|
---|
| 318 | </sect1>
|
---|