aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdriv/gstreamer10.xml
blob: 6e5efe106573911d2c02ce4bc460b71fd71ce5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gstreamer10-download-http "&gstreamer-dl;/gstreamer/gstreamer-&gstreamer10-version;.tar.xz">
  <!ENTITY gstreamer10-download-ftp  " ">
  <!ENTITY gstreamer10-md5sum        "aa2990f8e587249875a9598af07e39c4">
  <!ENTITY gstreamer10-size          "2.6 MB">
  <!ENTITY gstreamer10-buildsize     "61 MB (with tests)">
  <!ENTITY gstreamer10-time          "0.4 SBU (Using parallelism=4; with tests)">
]>

<sect1 id="gstreamer10" xreflabel="gstreamer-&gstreamer10-version;">
  <?dbhtml filename="gstreamer10.html"?>

  <sect1info>
    <date>$Date$</date>
  </sect1info>

  <title>gstreamer-&gstreamer10-version;</title>

  <indexterm zone="gstreamer10">
    <primary sortas="a-gstreamer">gstreamer</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to gstreamer</title>

    <para>
      <application>gstreamer</application> is a streaming media framework that
      enables applications to share a common set of plugins for tasks such as
      video encoding and decoding, audio encoding and decoding, audio and video
      filters, audio visualisation, web streaming and anything else that
      streams in real-time or otherwise. This package only provides base
      functionality and libraries. You may need at least <xref
      linkend="gst10-plugins-base"/> and one of Good, Bad, Ugly or Libav
      plugins.
    </para>

    &lfs110a_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gstreamer10-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gstreamer10-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gstreamer10-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gstreamer10-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gstreamer10-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gstreamer10-time;
        </para>
      </listitem>
    </itemizedlist>
<!--
    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Required patch: <ulink
          url="&patch-root;/gstreamer-&gstreamer10-version;-buffer_size_reset_fix-1.patch"/>
        </para>
      </listitem>
    </itemizedlist>
-->
    <bridgehead renderas="sect3">gstreamer Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="glib2"/>
    </para>

    <!-- Required for GNOME -->
    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="gobject-introspection"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="gtk3"/> (for examples),
      <xref linkend="gsl"/> (used by one test if installed),
      <xref linkend="valgrind"/>,
      <ulink url="https://github.com/scop/bash-completion/">bash-completion</ulink>,
      <ulink url="https://pypi.org/project/hotdoc/">hotdoc</ulink>,
      <ulink url="https://sourceware.org/elfutils/">libdw</ulink>, and
      <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>
    </para>

    <para condition="html" role="usernotes">
      User Notes: <ulink url="&blfs-wiki;/gstreamer10"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of gstreamer</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/gst10-objc-error.xml"/>

    <para>
      Install <application>gstreamer</application> by running the following
      commands:
    </para>

<screen><userinput>mkdir build &amp;&amp;
cd    build &amp;&amp;

meson  --prefix=/usr       \
       --buildtype=release \
       -Dgst_debug=false   \
       -Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/svn/ \
       -Dpackage-name="GStreamer &gstreamer10-version; BLFS" &amp;&amp;
ninja</userinput></screen>

    <para>
      To test the results, issue: <command>ninja test</command>.
    </para>

    <caution>
      <para>
        If you are reinstalling <application>gstreamer</application> from a
        previous version, it is best if you remove the prior version, including
        plugins, before installing the new version.  If there is a mixture of
        versions installed, using processes may hang or not work properly.  As
        the  <systemitem class="username">root</systemitem> user:
      </para>

<screen role="nodump"><userinput>rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</userinput></screen>
    </caution>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>ninja install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/meson-buildtype-release.xml"/>
  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          gst-inspect-1.0, gst-launch-1.0, gst-stats-1.0, gst-tester-1.0,
          and gst-typefind-1.0
        </seg>
        <seg>
          libgstbase-1.0.so, libgstcheck-1.0.so, libgstcontroller-1.0.so,
          libgstnet-1.0.so, and libgstreamer-1.0.so
        </seg>
        <seg>
          /usr/{include,lib,libexec,share}/gstreamer-1.0
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="gst-inspect-1.0">
        <term><command>gst-inspect-1.0</command></term>
        <listitem>
          <para>
            is a tool that prints out information on available
            <application>gstreamer</application> plugins,
            information about a particular plugin, or information
            about a particular element
          </para>
          <indexterm zone="gstreamer10 gst-inspect-1.0">
            <primary sortas="b-gst-inspect-1.0">gst-inspect-1.0</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gst-launch-1.0">
        <term><command>gst-launch-1.0</command></term>
        <listitem>
          <para>
            is a tool that builds and runs basic
            <application>gstreamer</application> pipelines
          </para>
          <indexterm zone="gstreamer10 gst-launch-1.0">
            <primary sortas="b-gst-launch-1.0">gst-launch-1.0</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gst-stats-1.0">
        <term><command>gst-stats-1.0</command></term>
        <listitem>
          <para>
            is a tool used to gather statistics about
            <application>gstreamer</application> operations
          </para>
          <indexterm zone="gstreamer10 gst-stats-1.0">
            <primary sortas="b-gst-stats-1.0">gst-stats-1.0</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gst-tester-1.0">
        <term><command>gst-tester-1.0</command></term>
        <listitem>
          <para>
            runs a test plan in TAP compatible format while integrating with
            the meson test harness
          </para>
          <indexterm zone="gstreamer10 gst-tester-1.0">
            <primary sortas="b-gst-tester-1.0">gst-tester-1.0</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gst-typefind-1.0">
        <term><command>gst-typefind-1.0</command></term>
        <listitem>
          <para>
            uses the <application>gstreamer</application> type finding system
            to determine the relevant <application>gstreamer</application>
            plugin to parse or decode files, and the corresponding MIME type
          </para>
          <indexterm zone="gstreamer10 gst-typefind-1.0">
            <primary sortas="b-gst-typefind-1.0">gst-typefind-1.0</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libgstbase-1.0">
        <term><filename class="libraryfile">libgstbase-1.0.so</filename></term>
        <listitem>
          <para>
            provides some base classes to be extended by elements and utillity
            classes that are most useful for plugin developers
          </para>
          <indexterm zone="gstreamer10 libgstbase-1.0">
            <primary sortas="c-libgstbase-1.0">libgstbase-1.0.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libgstcheck-1.0">
        <term><filename class="libraryfile">libgstcheck-1.0.so</filename></term>
        <listitem>
          <para>
            provides functionality for writing unit tests that use the check
            framework
          </para>
          <indexterm zone="gstreamer10 libgstcheck-1.0">
            <primary sortas="c-libgstcheck-1.0">libgstcheck-1.0.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libgstcontroller-1.0">
        <term><filename class="libraryfile">libgstcontroller-1.0.so</filename></term>
        <listitem>
          <para>
            provides functionality to animate element properties over time
          </para>
          <indexterm zone="gstreamer10 libgstcontroller-1.0">
            <primary sortas="c-libgstcontroller-1.0">libgstcontroller-1.0.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libgstnet-1.0">
        <term><filename class="libraryfile">libgstnet-1.0.so</filename></term>
        <listitem>
          <para>
            provides network elements and objects
          </para>
          <indexterm zone="gstreamer10 libgstnet-1.0">
            <primary sortas="c-libgstnet-1.0">libgstnet-1.0.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libgstreamer-1.0">
        <term><filename class="libraryfile">libgstreamer-1.0.so</filename></term>
        <listitem>
          <para>
            provides all of the core <application>gstreamer</application>
            services, including initialization, plugin management and types,
            as well as the object hierarchy that defines elements and bins,
            along with some more specialized elements
          </para>
          <indexterm zone="gstreamer10 libgstreamer-1.0">
            <primary sortas="c-libgstreamer-1.0">libgstreamer-1.0.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>