[1604b8ff] | 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 gstreamer10-download-http "&gstreamer-dl;/gstreamer/gstreamer-&gstreamer10-version;.tar.xz">
|
---|
| 8 | <!ENTITY gstreamer10-download-ftp " ">
|
---|
[b10c207e] | 9 | <!ENTITY gstreamer10-md5sum "3ed9648be775514c516c5dd8a267b27b">
|
---|
[3389fc3] | 10 | <!ENTITY gstreamer10-size "1.7 MB">
|
---|
| 11 | <!ENTITY gstreamer10-buildsize "46 MB (with tests)">
|
---|
[8624a457] | 12 | <!ENTITY gstreamer10-time "0.3 SBU (Using parallelism=4; with tests)">
|
---|
[1604b8ff] | 13 | ]>
|
---|
| 14 |
|
---|
[fdaae04] | 15 | <sect1 id="gstreamer10" xreflabel="gstreamer-&gstreamer10-version;">
|
---|
[1604b8ff] | 16 | <?dbhtml filename="gstreamer10.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[fdaae04] | 19 | <title>gstreamer-&gstreamer10-version;</title>
|
---|
[1604b8ff] | 20 |
|
---|
| 21 | <indexterm zone="gstreamer10">
|
---|
[fdaae04] | 22 | <primary sortas="a-gstreamer">gstreamer</primary>
|
---|
[1604b8ff] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[fdaae04] | 26 | <title>Introduction to gstreamer</title>
|
---|
[1604b8ff] | 27 |
|
---|
| 28 | <para>
|
---|
[7cc4fd57] | 29 | <application>gstreamer</application> is a streaming media framework that
|
---|
[794a5d8] | 30 | enables applications to share a common set of plugins for tasks such as
|
---|
[7cc4fd57] | 31 | video encoding and decoding, audio encoding and decoding, audio and video
|
---|
| 32 | filters, audio visualisation, web streaming and anything else that
|
---|
| 33 | streams in real-time or otherwise. This package only provides base
|
---|
| 34 | functionality and libraries. You may need at least <xref
|
---|
| 35 | linkend="gst10-plugins-base"/> and one of Good, Bad, Ugly or Libav
|
---|
| 36 | plugins.
|
---|
[1604b8ff] | 37 | </para>
|
---|
| 38 |
|
---|
[dc1a45e] | 39 | &lfs113_checked;
|
---|
[1604b8ff] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&gstreamer10-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&gstreamer10-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &gstreamer10-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &gstreamer10-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &gstreamer10-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &gstreamer10-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[af532c1] | 74 | <!--
|
---|
[8717fc0] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
[2eeb8695] | 78 | <para>
|
---|
| 79 | Required patch: <ulink
|
---|
| 80 | url="&patch-root;/gstreamer-&gstreamer10-version;-buffer_size_reset_fix-1.patch"/>
|
---|
| 81 | </para>
|
---|
[8717fc0] | 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[af532c1] | 84 | -->
|
---|
[fdaae04] | 85 | <bridgehead renderas="sect3">gstreamer Dependencies</bridgehead>
|
---|
[1604b8ff] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 88 | <para role="required">
|
---|
[66b86c90] | 89 | <xref linkend="glib2"/>
|
---|
[1604b8ff] | 90 | </para>
|
---|
| 91 |
|
---|
[0165a3fe] | 92 | <!-- Required for GNOME -->
|
---|
[1604b8ff] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 94 | <para role="recommended">
|
---|
| 95 | <xref linkend="gobject-introspection"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 99 | <para role="optional">
|
---|
[4cc74e03] | 100 | <xref linkend="gtk3"/> (for examples),
|
---|
[df470e4] | 101 | <xref linkend="gsl"/> (used by one test if installed),
|
---|
[751dd1e] | 102 | <xref linkend="libunwind"/>,
|
---|
[794a5d8] | 103 | <xref linkend="valgrind"/>,
|
---|
| 104 | <ulink url="https://github.com/scop/bash-completion/">bash-completion</ulink>,
|
---|
[751dd1e] | 105 | <ulink url="https://pypi.org/project/hotdoc/">hotdoc</ulink>, and
|
---|
| 106 | <ulink url="https://sourceware.org/elfutils/">libdw</ulink>
|
---|
[1604b8ff] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/gstreamer10"/>
|
---|
| 111 | </para>
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
[fdaae04] | 115 | <title>Installation of gstreamer</title>
|
---|
[cd4f607] | 116 | <!--
|
---|
[4ef9eb3] | 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 118 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[cd4f607] | 119 | -->
|
---|
[1604b8ff] | 120 | <para>
|
---|
[fdaae04] | 121 | Install <application>gstreamer</application> by running the following
|
---|
[1604b8ff] | 122 | commands:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[f330e62] | 125 | <screen><userinput>mkdir build &&
|
---|
| 126 | cd build &&
|
---|
| 127 |
|
---|
| 128 | meson --prefix=/usr \
|
---|
[3918112a] | 129 | --buildtype=release \
|
---|
[f330e62] | 130 | -Dgst_debug=false \
|
---|
[975b612] | 131 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
[7a64f7b] | 132 | -Dpackage-name="GStreamer &gstreamer10-version; BLFS" &&
|
---|
[f330e62] | 133 | ninja</userinput></screen>
|
---|
[1604b8ff] | 134 |
|
---|
| 135 | <para>
|
---|
[e18d0ba] | 136 | To test the results, issue: <command>ninja test</command>.
|
---|
[1604b8ff] | 137 | </para>
|
---|
| 138 |
|
---|
[7cc4fd57] | 139 | <caution>
|
---|
[2eeb8695] | 140 | <para>
|
---|
| 141 | If you are reinstalling <application>gstreamer</application> from a
|
---|
| 142 | previous version, it is best if you remove the prior version, including
|
---|
| 143 | plugins, before installing the new version. If there is a mixture of
|
---|
| 144 | versions installed, using processes may hang or not work properly. As
|
---|
| 145 | the <systemitem class="username">root</systemitem> user:
|
---|
| 146 | </para>
|
---|
[7cc4fd57] | 147 |
|
---|
| 148 | <screen role="nodump"><userinput>rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</userinput></screen>
|
---|
| 149 | </caution>
|
---|
| 150 |
|
---|
[1604b8ff] | 151 | <para>
|
---|
| 152 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[f330e62] | 155 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1604b8ff] | 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
[3918112a] | 159 | <sect2 role="commands">
|
---|
| 160 | <title>Command Explanations</title>
|
---|
| 161 |
|
---|
| 162 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 163 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
[1604b8ff] | 166 | <sect2 role="content">
|
---|
| 167 | <title>Contents</title>
|
---|
| 168 |
|
---|
| 169 | <segmentedlist>
|
---|
| 170 | <segtitle>Installed Programs</segtitle>
|
---|
| 171 | <segtitle>Installed Libraries</segtitle>
|
---|
| 172 | <segtitle>Installed Directories</segtitle>
|
---|
| 173 |
|
---|
| 174 | <seglistitem>
|
---|
| 175 | <seg>
|
---|
[794a5d8] | 176 | gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, gst-tester-1.0,
|
---|
| 177 | and gst-typefind-1.0
|
---|
[1604b8ff] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
| 180 | libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so,
|
---|
[666920e] | 181 | libgstnet-1.0.so, and libgstreamer-1.0.so
|
---|
[1604b8ff] | 182 | </seg>
|
---|
| 183 | <seg>
|
---|
[794a5d8] | 184 | /usr/{include,lib,libexec,share}/gstreamer-1.0
|
---|
[1604b8ff] | 185 | </seg>
|
---|
| 186 | </seglistitem>
|
---|
| 187 | </segmentedlist>
|
---|
| 188 |
|
---|
| 189 | <variablelist>
|
---|
| 190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 191 | <?dbfo list-presentation="list"?>
|
---|
| 192 | <?dbhtml list-presentation="table"?>
|
---|
| 193 |
|
---|
[c18b8f23] | 194 | <varlistentry id="gst-inspect-1.0">
|
---|
[1604b8ff] | 195 | <term><command>gst-inspect-1.0</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | is a tool that prints out information on available
|
---|
[fdaae04] | 199 | <application>gstreamer</application> plugins,
|
---|
[1604b8ff] | 200 | information about a particular plugin, or information
|
---|
[4c24eb0a] | 201 | about a particular element
|
---|
[1604b8ff] | 202 | </para>
|
---|
[c18b8f23] | 203 | <indexterm zone="gstreamer10 gst-inspect-1.0">
|
---|
| 204 | <primary sortas="b-gst-inspect-1.0">gst-inspect-1.0</primary>
|
---|
[1604b8ff] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
[c18b8f23] | 209 | <varlistentry id="gst-launch-1.0">
|
---|
[1604b8ff] | 210 | <term><command>gst-launch-1.0</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>
|
---|
| 213 | is a tool that builds and runs basic
|
---|
[4c24eb0a] | 214 | <application>gstreamer</application> pipelines
|
---|
[1604b8ff] | 215 | </para>
|
---|
[c18b8f23] | 216 | <indexterm zone="gstreamer10 gst-launch-1.0">
|
---|
| 217 | <primary sortas="b-gst-launch-1.0">gst-launch-1.0</primary>
|
---|
[1604b8ff] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
[4cc74e03] | 222 | <varlistentry id="gst-stats-1.0">
|
---|
| 223 | <term><command>gst-stats-1.0</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
| 226 | is a tool used to gather statistics about
|
---|
[4c24eb0a] | 227 | <application>gstreamer</application> operations
|
---|
[4cc74e03] | 228 | </para>
|
---|
| 229 | <indexterm zone="gstreamer10 gst-stats-1.0">
|
---|
| 230 | <primary sortas="b-gst-stats-1.0">gst-stats-1.0</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
[794a5d8] | 235 | <varlistentry id="gst-tester-1.0">
|
---|
| 236 | <term><command>gst-tester-1.0</command></term>
|
---|
| 237 | <listitem>
|
---|
| 238 | <para>
|
---|
| 239 | runs a test plan in TAP compatible format while integrating with
|
---|
[4c24eb0a] | 240 | the meson test harness
|
---|
[794a5d8] | 241 | </para>
|
---|
| 242 | <indexterm zone="gstreamer10 gst-tester-1.0">
|
---|
| 243 | <primary sortas="b-gst-tester-1.0">gst-tester-1.0</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
[c18b8f23] | 248 | <varlistentry id="gst-typefind-1.0">
|
---|
[1604b8ff] | 249 | <term><command>gst-typefind-1.0</command></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>
|
---|
[fdaae04] | 252 | uses the <application>gstreamer</application> type finding system
|
---|
| 253 | to determine the relevant <application>gstreamer</application>
|
---|
[4c24eb0a] | 254 | plugin to parse or decode files, and the corresponding MIME type
|
---|
[1604b8ff] | 255 | </para>
|
---|
[c18b8f23] | 256 | <indexterm zone="gstreamer10 gst-typefind-1.0">
|
---|
| 257 | <primary sortas="b-gst-typefind-1.0">gst-typefind-1.0</primary>
|
---|
[1604b8ff] | 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
[c18b8f23] | 262 | <varlistentry id="libgstbase-1.0">
|
---|
[1604b8ff] | 263 | <term><filename class="libraryfile">libgstbase-1.0.so</filename></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <para>
|
---|
[b9c353b] | 266 | provides some base classes to be extended by elements and utility
|
---|
[4c24eb0a] | 267 | classes that are most useful for plugin developers
|
---|
[1604b8ff] | 268 | </para>
|
---|
[c18b8f23] | 269 | <indexterm zone="gstreamer10 libgstbase-1.0">
|
---|
| 270 | <primary sortas="c-libgstbase-1.0">libgstbase-1.0.so</primary>
|
---|
[1604b8ff] | 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
[c18b8f23] | 275 | <varlistentry id="libgstcheck-1.0">
|
---|
[1604b8ff] | 276 | <term><filename class="libraryfile">libgstcheck-1.0.so</filename></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>
|
---|
| 279 | provides functionality for writing unit tests that use the check
|
---|
[4c24eb0a] | 280 | framework
|
---|
[1604b8ff] | 281 | </para>
|
---|
[c18b8f23] | 282 | <indexterm zone="gstreamer10 libgstcheck-1.0">
|
---|
| 283 | <primary sortas="c-libgstcheck-1.0">libgstcheck-1.0.so</primary>
|
---|
[1604b8ff] | 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
[c18b8f23] | 288 | <varlistentry id="libgstcontroller-1.0">
|
---|
[1604b8ff] | 289 | <term><filename class="libraryfile">libgstcontroller-1.0.so</filename></term>
|
---|
| 290 | <listitem>
|
---|
| 291 | <para>
|
---|
[4c24eb0a] | 292 | provides functionality to animate element properties over time
|
---|
[1604b8ff] | 293 | </para>
|
---|
[c18b8f23] | 294 | <indexterm zone="gstreamer10 libgstcontroller-1.0">
|
---|
| 295 | <primary sortas="c-libgstcontroller-1.0">libgstcontroller-1.0.so</primary>
|
---|
[1604b8ff] | 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
[c18b8f23] | 300 | <varlistentry id="libgstnet-1.0">
|
---|
[1604b8ff] | 301 | <term><filename class="libraryfile">libgstnet-1.0.so</filename></term>
|
---|
| 302 | <listitem>
|
---|
| 303 | <para>
|
---|
[4c24eb0a] | 304 | provides network elements and objects
|
---|
[1604b8ff] | 305 | </para>
|
---|
[c18b8f23] | 306 | <indexterm zone="gstreamer10 libgstnet-1.0">
|
---|
| 307 | <primary sortas="c-libgstnet-1.0">libgstnet-1.0.so</primary>
|
---|
[1604b8ff] | 308 | </indexterm>
|
---|
| 309 | </listitem>
|
---|
| 310 | </varlistentry>
|
---|
| 311 |
|
---|
[c18b8f23] | 312 | <varlistentry id="libgstreamer-1.0">
|
---|
[1604b8ff] | 313 | <term><filename class="libraryfile">libgstreamer-1.0.so</filename></term>
|
---|
| 314 | <listitem>
|
---|
| 315 | <para>
|
---|
[8558044] | 316 | provides all of the core <application>gstreamer</application>
|
---|
| 317 | services, including initialization, plugin management and types,
|
---|
| 318 | as well as the object hierarchy that defines elements and bins,
|
---|
[4c24eb0a] | 319 | along with some more specialized elements
|
---|
[1604b8ff] | 320 | </para>
|
---|
[c18b8f23] | 321 | <indexterm zone="gstreamer10 libgstreamer-1.0">
|
---|
| 322 | <primary sortas="c-libgstreamer-1.0">libgstreamer-1.0.so</primary>
|
---|
[1604b8ff] | 323 | </indexterm>
|
---|
| 324 | </listitem>
|
---|
| 325 | </varlistentry>
|
---|
| 326 |
|
---|
| 327 | </variablelist>
|
---|
| 328 |
|
---|
| 329 | </sect2>
|
---|
| 330 |
|
---|
| 331 | </sect1>
|
---|