[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 " ">
|
---|
[0eb7db8] | 9 | <!ENTITY gstreamer10-md5sum "f812605a25fd38a7a36ee4a2d7a0ce28">
|
---|
[3389fc3] | 10 | <!ENTITY gstreamer10-size "1.7 MB">
|
---|
[0eb7db8] | 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 |
|
---|
[91318eb] | 128 | meson setup .. \
|
---|
| 129 | --prefix=/usr \
|
---|
[3918112a] | 130 | --buildtype=release \
|
---|
[f330e62] | 131 | -Dgst_debug=false \
|
---|
[975b612] | 132 | -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/&blfs-version;/ \
|
---|
[7a64f7b] | 133 | -Dpackage-name="GStreamer &gstreamer10-version; BLFS" &&
|
---|
[f330e62] | 134 | ninja</userinput></screen>
|
---|
[1604b8ff] | 135 |
|
---|
| 136 | <para>
|
---|
[e18d0ba] | 137 | To test the results, issue: <command>ninja test</command>.
|
---|
[1604b8ff] | 138 | </para>
|
---|
| 139 |
|
---|
[7cc4fd57] | 140 | <caution>
|
---|
[2eeb8695] | 141 | <para>
|
---|
| 142 | If you are reinstalling <application>gstreamer</application> from a
|
---|
| 143 | previous version, it is best if you remove the prior version, including
|
---|
| 144 | plugins, before installing the new version. If there is a mixture of
|
---|
| 145 | versions installed, using processes may hang or not work properly. As
|
---|
| 146 | the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[7cc4fd57] | 148 |
|
---|
| 149 | <screen role="nodump"><userinput>rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</userinput></screen>
|
---|
| 150 | </caution>
|
---|
| 151 |
|
---|
[1604b8ff] | 152 | <para>
|
---|
| 153 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 154 | </para>
|
---|
| 155 |
|
---|
[f330e62] | 156 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1604b8ff] | 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
[3918112a] | 160 | <sect2 role="commands">
|
---|
| 161 | <title>Command Explanations</title>
|
---|
| 162 |
|
---|
| 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 164 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
[1604b8ff] | 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Programs</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
| 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
| 176 | <seg>
|
---|
[794a5d8] | 177 | gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, gst-tester-1.0,
|
---|
| 178 | and gst-typefind-1.0
|
---|
[1604b8ff] | 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so,
|
---|
[666920e] | 182 | libgstnet-1.0.so, and libgstreamer-1.0.so
|
---|
[1604b8ff] | 183 | </seg>
|
---|
| 184 | <seg>
|
---|
[794a5d8] | 185 | /usr/{include,lib,libexec,share}/gstreamer-1.0
|
---|
[1604b8ff] | 186 | </seg>
|
---|
| 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
[c18b8f23] | 195 | <varlistentry id="gst-inspect-1.0">
|
---|
[1604b8ff] | 196 | <term><command>gst-inspect-1.0</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
| 199 | is a tool that prints out information on available
|
---|
[fdaae04] | 200 | <application>gstreamer</application> plugins,
|
---|
[1604b8ff] | 201 | information about a particular plugin, or information
|
---|
[4c24eb0a] | 202 | about a particular element
|
---|
[1604b8ff] | 203 | </para>
|
---|
[c18b8f23] | 204 | <indexterm zone="gstreamer10 gst-inspect-1.0">
|
---|
| 205 | <primary sortas="b-gst-inspect-1.0">gst-inspect-1.0</primary>
|
---|
[1604b8ff] | 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
[c18b8f23] | 210 | <varlistentry id="gst-launch-1.0">
|
---|
[1604b8ff] | 211 | <term><command>gst-launch-1.0</command></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>
|
---|
| 214 | is a tool that builds and runs basic
|
---|
[4c24eb0a] | 215 | <application>gstreamer</application> pipelines
|
---|
[1604b8ff] | 216 | </para>
|
---|
[c18b8f23] | 217 | <indexterm zone="gstreamer10 gst-launch-1.0">
|
---|
| 218 | <primary sortas="b-gst-launch-1.0">gst-launch-1.0</primary>
|
---|
[1604b8ff] | 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[4cc74e03] | 223 | <varlistentry id="gst-stats-1.0">
|
---|
| 224 | <term><command>gst-stats-1.0</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>
|
---|
| 227 | is a tool used to gather statistics about
|
---|
[4c24eb0a] | 228 | <application>gstreamer</application> operations
|
---|
[4cc74e03] | 229 | </para>
|
---|
| 230 | <indexterm zone="gstreamer10 gst-stats-1.0">
|
---|
| 231 | <primary sortas="b-gst-stats-1.0">gst-stats-1.0</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
[794a5d8] | 236 | <varlistentry id="gst-tester-1.0">
|
---|
| 237 | <term><command>gst-tester-1.0</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>
|
---|
| 240 | runs a test plan in TAP compatible format while integrating with
|
---|
[4c24eb0a] | 241 | the meson test harness
|
---|
[794a5d8] | 242 | </para>
|
---|
| 243 | <indexterm zone="gstreamer10 gst-tester-1.0">
|
---|
| 244 | <primary sortas="b-gst-tester-1.0">gst-tester-1.0</primary>
|
---|
| 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
| 248 |
|
---|
[c18b8f23] | 249 | <varlistentry id="gst-typefind-1.0">
|
---|
[1604b8ff] | 250 | <term><command>gst-typefind-1.0</command></term>
|
---|
| 251 | <listitem>
|
---|
| 252 | <para>
|
---|
[fdaae04] | 253 | uses the <application>gstreamer</application> type finding system
|
---|
| 254 | to determine the relevant <application>gstreamer</application>
|
---|
[4c24eb0a] | 255 | plugin to parse or decode files, and the corresponding MIME type
|
---|
[1604b8ff] | 256 | </para>
|
---|
[c18b8f23] | 257 | <indexterm zone="gstreamer10 gst-typefind-1.0">
|
---|
| 258 | <primary sortas="b-gst-typefind-1.0">gst-typefind-1.0</primary>
|
---|
[1604b8ff] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
[c18b8f23] | 263 | <varlistentry id="libgstbase-1.0">
|
---|
[1604b8ff] | 264 | <term><filename class="libraryfile">libgstbase-1.0.so</filename></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>
|
---|
[b9c353b] | 267 | provides some base classes to be extended by elements and utility
|
---|
[4c24eb0a] | 268 | classes that are most useful for plugin developers
|
---|
[1604b8ff] | 269 | </para>
|
---|
[c18b8f23] | 270 | <indexterm zone="gstreamer10 libgstbase-1.0">
|
---|
| 271 | <primary sortas="c-libgstbase-1.0">libgstbase-1.0.so</primary>
|
---|
[1604b8ff] | 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[c18b8f23] | 276 | <varlistentry id="libgstcheck-1.0">
|
---|
[1604b8ff] | 277 | <term><filename class="libraryfile">libgstcheck-1.0.so</filename></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>
|
---|
| 280 | provides functionality for writing unit tests that use the check
|
---|
[4c24eb0a] | 281 | framework
|
---|
[1604b8ff] | 282 | </para>
|
---|
[c18b8f23] | 283 | <indexterm zone="gstreamer10 libgstcheck-1.0">
|
---|
| 284 | <primary sortas="c-libgstcheck-1.0">libgstcheck-1.0.so</primary>
|
---|
[1604b8ff] | 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
[c18b8f23] | 289 | <varlistentry id="libgstcontroller-1.0">
|
---|
[1604b8ff] | 290 | <term><filename class="libraryfile">libgstcontroller-1.0.so</filename></term>
|
---|
| 291 | <listitem>
|
---|
| 292 | <para>
|
---|
[4c24eb0a] | 293 | provides functionality to animate element properties over time
|
---|
[1604b8ff] | 294 | </para>
|
---|
[c18b8f23] | 295 | <indexterm zone="gstreamer10 libgstcontroller-1.0">
|
---|
| 296 | <primary sortas="c-libgstcontroller-1.0">libgstcontroller-1.0.so</primary>
|
---|
[1604b8ff] | 297 | </indexterm>
|
---|
| 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
| 300 |
|
---|
[c18b8f23] | 301 | <varlistentry id="libgstnet-1.0">
|
---|
[1604b8ff] | 302 | <term><filename class="libraryfile">libgstnet-1.0.so</filename></term>
|
---|
| 303 | <listitem>
|
---|
| 304 | <para>
|
---|
[4c24eb0a] | 305 | provides network elements and objects
|
---|
[1604b8ff] | 306 | </para>
|
---|
[c18b8f23] | 307 | <indexterm zone="gstreamer10 libgstnet-1.0">
|
---|
| 308 | <primary sortas="c-libgstnet-1.0">libgstnet-1.0.so</primary>
|
---|
[1604b8ff] | 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
[c18b8f23] | 313 | <varlistentry id="libgstreamer-1.0">
|
---|
[1604b8ff] | 314 | <term><filename class="libraryfile">libgstreamer-1.0.so</filename></term>
|
---|
| 315 | <listitem>
|
---|
| 316 | <para>
|
---|
[8558044] | 317 | provides all of the core <application>gstreamer</application>
|
---|
| 318 | services, including initialization, plugin management and types,
|
---|
| 319 | as well as the object hierarchy that defines elements and bins,
|
---|
[4c24eb0a] | 320 | along with some more specialized elements
|
---|
[1604b8ff] | 321 | </para>
|
---|
[c18b8f23] | 322 | <indexterm zone="gstreamer10 libgstreamer-1.0">
|
---|
| 323 | <primary sortas="c-libgstreamer-1.0">libgstreamer-1.0.so</primary>
|
---|
[1604b8ff] | 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | </variablelist>
|
---|
| 329 |
|
---|
| 330 | </sect2>
|
---|
| 331 |
|
---|
| 332 | </sect1>
|
---|