Skip to content
lpsinger edited this page Apr 14, 2011 · 12 revisions

Welcome to the gst-plugins-cairovis wiki!

This package is a collection of scientific visualization plugins for GStreamer using Cairo-powered graphics. It grew out of a larger collection of science-related plugins, called gstlal, that are being used for gravitational wave searches as part of the LIGO Project.

What can it do?

It's easy to add any number of high-performance realtime figures such as line plots, waterfall plots, and histograms to any GStreamer pipeline.

Here's a very simple example, demonstrating the cairovis_lineseries element.

$ gst-launch audiotestsrc wave=pink-noise ! cairovis_lineseries title="Pink noise" x-label="sample" y-label="counts" y-autoscale=no y-min=-0.5 y-max=0.5 ! ximagesink

This opens an X window containing a realtime oscilloscope-style display of a pink noise signal. A still snapshot might look like this:

Still snapshot of lineseries

Here's another simple example, demonstrating the cairovis_histogram element.

$ gst-launch audiotestsrc wave=gaussian-noise volume=1 ! cairovis_histogram title="Gaussian noise" normed=yes bin-min=-5 bin-max=5 history-samples=300 y-autoscale=no y-min=0 y-max=1 ! ximagesink
Clone this wiki locally