summaryrefslogtreecommitdiff
path: root/sdk-tutorials.md
blob: 4cf9f9a4a2a49adf607ffa1d56dc69fac0fe7b27 (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
---
short-description: Learn how to use GStreamer
...

# Tutorials

## Welcome to the GStreamer Tutorials!

The following sections introduce a series of tutorials designed to help
you learn how to use GStreamer, the multi-platform, modular,
open-source, media streaming framework.

### Prerequisites

Before following these tutorials, you need to set up your development
environment according to your platform. If you have not done so yet, go
to the [installing GStreamer] page and come back here afterwards.

The tutorials are currently written only in the C programming language,
so you need to be comfortable with it. Even though C is not an
Object-Oriented (OO) language per se, the GStreamer framework uses
`GObject`s, so some knowledge of OO concepts will come in handy.
Knowledge of the `GObject` and `GLib` libraries is not mandatory, but
will make the trip easier.

### Source code

Every tutorial represents a self-contained project, with full source
code in C (and eventually in other languages too). Source code
snippets are introduced alongside the text, and the full code (with
any other required files like makefiles or project files) is
distributed with GStreamer, as explained in the installation
instructions.

### A short note on GObject and GLib

GStreamer is built on top of the `GObject` (for object orientation) and
`GLib` (for common algorithms) libraries, which means that every now and
then you will have to call functions of these libraries. Even though the
tutorials will make sure that deep knowledge of these libraries is not
required, familiarity with them will certainly ease the process of
learning GStreamer.

You can always tell which library you are calling because all GStreamer
functions, structures and types have the `gst_` prefix, whereas GLib and
GObject use `g_`.

### Sources of documentation

You have the `GObject` and `GLib` reference guides, and, of course the
upstream [GStreamer documentation].

### Structure

The tutorials are organized in sections, revolving about a common theme:

-   [Basic tutorials]: Describe general topics required to understand
    the rest of tutorials in GStreamer.
-   [Playback tutorials]: Explain everything you need to know to produce
    a media playback application using GStreamer.
-   [Android tutorials]: Tutorials dealing with the few Android-specific
    topics you need to know.
-   [iOS tutorials]: Tutorials dealing with the few iOS-specific topics
    you need to know.

If you cannot remember in which tutorial a certain GStreamer concept is
explained, use the following:

-   [Table of Concepts]

### Sample media

The audio and video clips used throughout these tutorials are all
publicly available and the copyright remains with their respective
authors. In some cases they have been re-encoded for demonstration
purposes.

-   [Sintel, the Durian Open Movie Project]

  [installing GStreamer]: sdk-installing.md
  [GStreamer documentation]: http://gstreamer.freedesktop.org/documentation/
  [Basic tutorials]: sdk-basic-tutorials.md
  [Playback tutorials]: sdk-playback-tutorials.md
  [Android tutorials]: sdk-android-tutorials.md
  [iOS tutorials]: sdk-ios-tutorials.md
  [Table of Concepts]: sdk-table-of-concepts.md
  [Sintel, the Durian Open Movie Project]: http://www.sintel.org/