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