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