[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 " ">
|
---|
[c4bcf46] | 9 | <!ENTITY gstreamer10-md5sum "0e661ed5bdf1d8996e430228d022628e">
|
---|
[f330e62] | 10 | <!ENTITY gstreamer10-size "3.2 MB">
|
---|
[c4bcf46] | 11 | <!ENTITY gstreamer10-buildsize "60 MB (with tests; add 36 MB for docs)">
|
---|
[af532c1] | 12 | <!ENTITY gstreamer10-time "0.4 SBU (Using parallelism=4; with tests; add 1.5 SBU for docs)">
|
---|
[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 |
|
---|
[d43c7a12] | 43 | &lfs90_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>
|
---|
[af532c1] | 78 | <!--
|
---|
[8717fc0] | 79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 80 | <itemizedlist spacing="compact">
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Required patch: <ulink url="&patch-root;/gstreamer-&gstreamer10-version;-buffer_size_reset_fix-1.patch"/></para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
[af532c1] | 85 | -->
|
---|
[fdaae04] | 86 | <bridgehead renderas="sect3">gstreamer Dependencies</bridgehead>
|
---|
[1604b8ff] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 89 | <para role="required">
|
---|
[66b86c90] | 90 | <xref linkend="glib2"/>
|
---|
[1604b8ff] | 91 | </para>
|
---|
| 92 |
|
---|
[0165a3fe] | 93 | <!-- Required for GNOME -->
|
---|
[1604b8ff] | 94 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 95 | <para role="recommended">
|
---|
| 96 | <xref linkend="gobject-introspection"/>
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
[4cc74e03] | 101 | <xref linkend="gtk3"/> (for examples),
|
---|
[1604b8ff] | 102 | <xref linkend="gsl"/>,
|
---|
[2bd04d6] | 103 | <xref linkend="gtk-doc"/>,
|
---|
| 104 | <xref linkend="valgrind"/>, and
|
---|
| 105 | <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>
|
---|
[1604b8ff] | 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para condition="html" role="usernotes">
|
---|
| 109 | User Notes: <ulink url="&blfs-wiki;/gstreamer10"/>
|
---|
| 110 | </para>
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
[fdaae04] | 114 | <title>Installation of gstreamer</title>
|
---|
[1604b8ff] | 115 |
|
---|
[4ef9eb3] | 116 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 117 | href="../../xincludes/gst10-objc-error.xml"/>
|
---|
[af532c1] | 118 | <!--
|
---|
[8717fc0] | 119 | <para>
|
---|
| 120 | At first, fix a problem causing memory leaking and spurious warnings:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen><userinput>patch -Np1 -i ../gstreamer-&gstreamer10-version;-buffer_size_reset_fix-1.patch</userinput></screen>
|
---|
[af532c1] | 124 | -->
|
---|
[1604b8ff] | 125 | <para>
|
---|
[fdaae04] | 126 | Install <application>gstreamer</application> by running the following
|
---|
[1604b8ff] | 127 | commands:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[f330e62] | 130 | <screen><userinput>mkdir build &&
|
---|
| 131 | cd build &&
|
---|
| 132 |
|
---|
| 133 | meson --prefix=/usr \
|
---|
| 134 | -Dbuildtype=release \
|
---|
| 135 | -Dgst_debug=false \
|
---|
[0c61cb89] | 136 | -Dgtk_doc=disabled \
|
---|
[f330e62] | 137 | -Dpackage-origin=http://www.linuxfromscratch.org/blfs/view/svn/ \
|
---|
[7a64f7b] | 138 | -Dpackage-name="GStreamer &gstreamer10-version; BLFS" &&
|
---|
[f330e62] | 139 | ninja</userinput></screen>
|
---|
[1604b8ff] | 140 |
|
---|
| 141 | <para>
|
---|
[e18d0ba] | 142 | To test the results, issue: <command>ninja test</command>.
|
---|
[1604b8ff] | 143 | </para>
|
---|
| 144 |
|
---|
[7cc4fd57] | 145 | <caution>
|
---|
| 146 | <para>If you are reinstalling <application>gstreamer</application> from a
|
---|
| 147 | previous version, it is best if you remove the prior version, including
|
---|
| 148 | plugins, before installing the new version. If there is a mixture of
|
---|
| 149 | versions installed, using processes may hang or not work properly. As
|
---|
| 150 | the <systemitem class="username">root</systemitem> user: </para>
|
---|
| 151 |
|
---|
| 152 | <screen role="nodump"><userinput>rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</userinput></screen>
|
---|
| 153 | </caution>
|
---|
| 154 |
|
---|
[1604b8ff] | 155 | <para>
|
---|
| 156 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[f330e62] | 159 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[1604b8ff] | 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | <sect2 role="content">
|
---|
| 164 | <title>Contents</title>
|
---|
| 165 |
|
---|
| 166 | <segmentedlist>
|
---|
| 167 | <segtitle>Installed Programs</segtitle>
|
---|
| 168 | <segtitle>Installed Libraries</segtitle>
|
---|
| 169 | <segtitle>Installed Directories</segtitle>
|
---|
| 170 |
|
---|
| 171 | <seglistitem>
|
---|
| 172 | <seg>
|
---|
[4cc74e03] | 173 | gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, and gst-typefind-1.0
|
---|
[1604b8ff] | 174 | </seg>
|
---|
| 175 | <seg>
|
---|
| 176 | libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so,
|
---|
[666920e] | 177 | libgstnet-1.0.so, and libgstreamer-1.0.so
|
---|
[1604b8ff] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[666920e] | 180 | /usr/{include,lib,libexec}/gstreamer-1.0 and
|
---|
| 181 | /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-1.0
|
---|
[1604b8ff] | 182 | </seg>
|
---|
| 183 | </seglistitem>
|
---|
| 184 | </segmentedlist>
|
---|
| 185 |
|
---|
| 186 | <variablelist>
|
---|
| 187 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 188 | <?dbfo list-presentation="list"?>
|
---|
| 189 | <?dbhtml list-presentation="table"?>
|
---|
| 190 |
|
---|
[c18b8f23] | 191 | <varlistentry id="gst-inspect-1.0">
|
---|
[1604b8ff] | 192 | <term><command>gst-inspect-1.0</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
| 195 | is a tool that prints out information on available
|
---|
[fdaae04] | 196 | <application>gstreamer</application> plugins,
|
---|
[1604b8ff] | 197 | information about a particular plugin, or information
|
---|
| 198 | about a particular element.
|
---|
| 199 | </para>
|
---|
[c18b8f23] | 200 | <indexterm zone="gstreamer10 gst-inspect-1.0">
|
---|
| 201 | <primary sortas="b-gst-inspect-1.0">gst-inspect-1.0</primary>
|
---|
[1604b8ff] | 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
[c18b8f23] | 206 | <varlistentry id="gst-launch-1.0">
|
---|
[1604b8ff] | 207 | <term><command>gst-launch-1.0</command></term>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>
|
---|
| 210 | is a tool that builds and runs basic
|
---|
[fdaae04] | 211 | <application>gstreamer</application> pipelines.
|
---|
[1604b8ff] | 212 | </para>
|
---|
[c18b8f23] | 213 | <indexterm zone="gstreamer10 gst-launch-1.0">
|
---|
| 214 | <primary sortas="b-gst-launch-1.0">gst-launch-1.0</primary>
|
---|
[1604b8ff] | 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
[4cc74e03] | 219 | <varlistentry id="gst-stats-1.0">
|
---|
| 220 | <term><command>gst-stats-1.0</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | is a tool used to gather statistics about
|
---|
[fdaae04] | 224 | <application>gstreamer</application> operations.
|
---|
[4cc74e03] | 225 | </para>
|
---|
| 226 | <indexterm zone="gstreamer10 gst-stats-1.0">
|
---|
| 227 | <primary sortas="b-gst-stats-1.0">gst-stats-1.0</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[c18b8f23] | 232 | <varlistentry id="gst-typefind-1.0">
|
---|
[1604b8ff] | 233 | <term><command>gst-typefind-1.0</command></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
[fdaae04] | 236 | uses the <application>gstreamer</application> type finding system
|
---|
| 237 | to determine the relevant <application>gstreamer</application>
|
---|
[4cc74e03] | 238 | plugin to parse or decode files, and the corresponding MIME type.
|
---|
[1604b8ff] | 239 | </para>
|
---|
[c18b8f23] | 240 | <indexterm zone="gstreamer10 gst-typefind-1.0">
|
---|
| 241 | <primary sortas="b-gst-typefind-1.0">gst-typefind-1.0</primary>
|
---|
[1604b8ff] | 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
[c18b8f23] | 246 | <varlistentry id="libgstbase-1.0">
|
---|
[1604b8ff] | 247 | <term><filename class="libraryfile">libgstbase-1.0.so</filename></term>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
| 250 | provides some base classes to be extended by elements and utillity
|
---|
| 251 | classes that are most useful for plugin developers.
|
---|
| 252 | </para>
|
---|
[c18b8f23] | 253 | <indexterm zone="gstreamer10 libgstbase-1.0">
|
---|
| 254 | <primary sortas="c-libgstbase-1.0">libgstbase-1.0.so</primary>
|
---|
[1604b8ff] | 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
[c18b8f23] | 259 | <varlistentry id="libgstcheck-1.0">
|
---|
[1604b8ff] | 260 | <term><filename class="libraryfile">libgstcheck-1.0.so</filename></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>
|
---|
| 263 | provides functionality for writing unit tests that use the check
|
---|
| 264 | framework.
|
---|
| 265 | </para>
|
---|
[c18b8f23] | 266 | <indexterm zone="gstreamer10 libgstcheck-1.0">
|
---|
| 267 | <primary sortas="c-libgstcheck-1.0">libgstcheck-1.0.so</primary>
|
---|
[1604b8ff] | 268 | </indexterm>
|
---|
| 269 | </listitem>
|
---|
| 270 | </varlistentry>
|
---|
| 271 |
|
---|
[c18b8f23] | 272 | <varlistentry id="libgstcontroller-1.0">
|
---|
[1604b8ff] | 273 | <term><filename class="libraryfile">libgstcontroller-1.0.so</filename></term>
|
---|
| 274 | <listitem>
|
---|
| 275 | <para>
|
---|
| 276 | provides functionality to animate element properties over time.
|
---|
| 277 | </para>
|
---|
[c18b8f23] | 278 | <indexterm zone="gstreamer10 libgstcontroller-1.0">
|
---|
| 279 | <primary sortas="c-libgstcontroller-1.0">libgstcontroller-1.0.so</primary>
|
---|
[1604b8ff] | 280 | </indexterm>
|
---|
| 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
| 283 |
|
---|
[c18b8f23] | 284 | <varlistentry id="libgstnet-1.0">
|
---|
[1604b8ff] | 285 | <term><filename class="libraryfile">libgstnet-1.0.so</filename></term>
|
---|
| 286 | <listitem>
|
---|
| 287 | <para>
|
---|
| 288 | provides network elements and objects.
|
---|
| 289 | </para>
|
---|
[c18b8f23] | 290 | <indexterm zone="gstreamer10 libgstnet-1.0">
|
---|
| 291 | <primary sortas="c-libgstnet-1.0">libgstnet-1.0.so</primary>
|
---|
[1604b8ff] | 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
[c18b8f23] | 296 | <varlistentry id="libgstreamer-1.0">
|
---|
[1604b8ff] | 297 | <term><filename class="libraryfile">libgstreamer-1.0.so</filename></term>
|
---|
| 298 | <listitem>
|
---|
| 299 | <para>
|
---|
[fdaae04] | 300 | provides all of the core <application>gstreamer</application>
|
---|
[4cc74e03] | 301 | services, including initialization, plugin management and types,
|
---|
| 302 | as well as the object hierarchy that defines elements and bins,
|
---|
| 303 | along with some more specialized elements.
|
---|
[1604b8ff] | 304 | </para>
|
---|
[c18b8f23] | 305 | <indexterm zone="gstreamer10 libgstreamer-1.0">
|
---|
| 306 | <primary sortas="c-libgstreamer-1.0">libgstreamer-1.0.so</primary>
|
---|
[1604b8ff] | 307 | </indexterm>
|
---|
| 308 | </listitem>
|
---|
| 309 | </varlistentry>
|
---|
| 310 |
|
---|
| 311 | </variablelist>
|
---|
| 312 |
|
---|
| 313 | </sect2>
|
---|
| 314 |
|
---|
| 315 | </sect1>
|
---|