aboutsummaryrefslogtreecommitdiff
path: root/docs/faq/general.xml
blob: e85bec0c9da365e0ec062a5eaae7004ba1d83079 (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
<sect1 id="chapter-general">
  <title id="title-general">General</title>
  <qandaset defaultlabel="qanda">

    <qandaentry>
      <question id="general-media-player">
        <para>Is GStreamer a media player ?</para>
      </question>

      <answer>
        <para>
No, GStreamer is a development framework for creating applications like 
media players, video editors, streaming media broadcasters and so on. 
That said, very good media players can easily be built on top
of GStreamer especially when using the high-level object called playbin.
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-why-c">
        <para>
Why is GStreamer written in C ? Why not C++/Objective-C/... ?
        </para>
      </question>

      <answer>
        <para>
We like C. Aside from "personal preference", there are a number of technical 
reasons why C is nice in this project:
<itemizedlist>
<listitem><para>C is extremely portable.</para></listitem>
<listitem><para>C is fast.</para></listitem>
<listitem><para>It is easy to make language bindings for libraries written in C.
</para></listitem>
<listitem><para>The GObject object system provided by GLib implements objects in C, 
in a portable, powerful way. This library provides for introspection and 
runtime dynamic typing. It is a full OO system, but without the syntactic 
sugar. If you want sugar, take a look at 
<ulink url="http://live.gnome.org/Vala">Vala</ulink>.</para></listitem>
<listitem><para>Use of C integrates nicely with Gtk+ and GNOME. Some people like 
this a lot, but neither Gtk+ nor GNOME are required by GStreamer.</para></listitem>
</itemizedlist>
</para>
<para>
So, in closing, we like C. If you don't, that's fine; if you still want to 
help out on GStreamer, we always need more language binding people. And if 
not, don't bother us; we're working :-)
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-applications">
        <para>What applications are available for GStreamer ?</para>
      </question>
      <answer>
        <para>
Many media player applications have chosen GStreamer for their backend. 
Also a couple of media format conversion tools have been written using the powers of GStreamer.
With the advent of GStreamer-0.10 several media editing applications have been started.
        </para>
        <para>
For a list of projects, look at the
<ulink url="http://gstreamer.freedesktop.org/apps/">application list</ulink>
on the GStreamer project website.
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-format">
	<para>Does GStreamer support the format of my media files?</para>
      </question>
      <answer>
	<para>
GStreamer aims to support every format imaginable, but that doesn't mean the 
developers have managed to achieve that aim yet. If a GStreamer enabled 
application doesn't play back your files, you can help us solve that problem
by <ulink url="http://bugzilla.gnome.org">filing an enhancement request
bug</ulink> for that format. If you have it, please provide: 
<itemizedlist>
  <listitem><para>links to other players, preferably Open Source and working
  on Unix</para></listitem>
  <listitem><para>links to explanations of the format.</para></listitem>
  <listitem><para>ways to obtain mediafiles in that format to test.
  </para></listitem>
</itemizedlist>
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-licensing">
        <para>
What are the exact licensing terms for GStreamer and its plugins ?
        </para>
      </question>
      <answer>
        <para>
All of GStreamer, including our own plugin code, is licensed under the 
<ulink url="http://www.gnu.org/licenses/lgpl-2.1.html">GNU LGPL 2.1</ulink> license.
Some of the libraries we use for some of the plugins are however under the 
GPL, which means that those plugins can not be used by a non-GPL-compatible 
application. 
        </para>
        <para>
As part of the GStreamer source download you find a file called 
LICENSE_readme in gst-plugins package. That file contains information in the exact licensing 
terms of the libraries we use. As a general rule, GStreamer aims at using 
only LGPL or BSD licensed libraries if available and only use GPL or 
proprietary libraries where no good LGPL or BSD alternatives are available.
        </para>
        <para>
From GStreamer 0.4.2 on, we implemented a license field for all of the plugins,
and in the future we might have the application enforce a stricter policy
(much like tainting in the kernel).
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-sound-server">
        <para>Is GStreamer a sound server ?</para>
      </question>
      <answer>
        <para>
No, GStreamer is not a soundserver. GStreamer does however have plugins
supporting most of the major soundservers available today, including 
pulseaudio, ESD, aRTSd, Jack and others.
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-platforms">
        <para>
Will GStreamer be available for platforms other than Unix ?
        </para>
      </question>
      <answer>
        <para>
Depends. Our main target is the Unix platform. It also works on Win32 and Mac OS X,
but it may still be a bit challenging to get everything up and running.  
That said, interest has been expressed in porting GStreamer to other platforms and the GStreamer core 
team will gladly accept patches to accomplish this.
<!-- Please refer to the
<ulink url="http://gstreamer.net/status/?category=7">
platform support status table</ulink> -->
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-gnome">
        <para>What is GStreamer's relationship with the GNOME community ?</para>
      </question>
      <answer>
        <para>
While GStreamer is operated as an independent project, we do have a close 
relationship with the GNOME community. Many of our hackers consider 
themselves also to be members of the GNOME community.
GStreamer is officialy bundled with the GNOME desktop, as lots of packages
(like gnome-media, totem and rhythmbox) are using it.
This does not exclude use of GStreamer by other communities at all, of course.
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-kde">
        <para>What is GStreamer's relationship with the KDE community ?</para>
      </question>
      <answer>
        <para>
The GStreamer community wants to have as good a relationship as possible 
with KDE, and we hope that someday KDE decides to adopt GStreamer as their 
multimedia API (planned for KDE 4). 
There have been contacts from time to time between the GStreamer community 
and KDE and we do already have support for the aRTSd sound server used by KDE.
Also, some of the KDE hackers have created Qt bindings of GStreamer, 
made a simple video player and using it in some audio players (JuK and AmaroK).
        </para>
      </answer>
    </qandaentry>

    <qandaentry>
      <question id="general-my-application">
        <para>
I'm considering adding GStreamer output to my application...
        </para>
      </question>

      <answer>
        <para>
That doesn't really make sense. GStreamer is not a sound server, so you don't 
output directly to GStreamer, and it's not an intermediate API between 
audio data and different kinds of audio sinks. It is a fundamental design 
decision to use GStreamer in your app; there are no easy ways of somehow 
'transfering' data from your app to GStreamer. Instead, your app would have 
to use or implement a number of GStreamer elements, string them together, and 
tell them to run. In that manner the data would all be internal to the 
GStreamer pipeline.
        </para>
        <para>
That said, it is possible to write a plugin specific to your app that can get
at the audio data.
        </para>
      </answer>
    </qandaentry>
  </qandaset>

</sect1>