GStreamer

From Wikibooks, open books for an open world
Jump to: navigation, search

Gstreamer is a powerful program and library for media processing. Its power lies in the fact that media data streams between elements performing many functions. Elements can be added by means of plugins. Here is an example of a command to convert a FLAC format song to MP3 format:

gst-launch filesrc location = "02 - Duel of the Fates.flac" ! flacdec ! lame ! filesink location = "Duel of the Fates.mp3"

Some of its most popular uses include:

  • Playing music and video (from command line or a program using the library)
  • Format conversion
  • Recording directly to a certain format.

This book will provide an introduction and in-depth tutorial to GStreamer.

Contents[edit]

Introduction
Obtaining GStreamer
Quick Examples
Programs Using GStreamer