Gstreamer

From Attie's Wiki
Jump to: navigation, search

Command line utilities:

gst-inspect [plugin] either lists all avaliable plugins, or gives details about the specified plugin
gst-launch <pipeline> runs a GStreamer pipeline

The plugins fall into 4 categories:

  • gst-plugins-base
  • gst-plugins-good
  • gst-plugins-bad
  • gst-plugins-ugly

Your system will probably only come with the base package, possibly the good as well.

Play WMA

gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! alsasink

Benchmark

time gst-launch filesrc location=./in.wma ! asfdemux ! ffdec_wmav2 ! fakesink

Building

To build GStreamer, you need to have some packages installed:

sudo apt-get install bison flex libglib2.0 libxml2-dev
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox