A blog by Devendra Tewari
In this post, we see how to build the hello world example in C that can be found in the GStreamer application development manual.
I installed the following packages on Ubuntu 11.04
Get the equivalent packages for your distribution.
Assuming your source code is located in hello_world.c
, you can compile the source code thus
gcc hello_world.c `pkg-config --cflags --libs glib-2.0 gstreamer-0.10` -o hello_world
As follows
./hello_world file.ogg