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