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