GStreamer
GStreamer
GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing.
Applications can take advantage of advances in codec and filter technology transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.
GStreamer in HPC
Request a compute node
srun --x11 -N 1 -c 1 --time=1:00:00 --pty /bin/bash
Load the module
module load gstreamer
Copy the example C file "helloworld.c" [2] from /usr/local/doc/GSTREAMER/
cp /usr/local/doc/GSTREAMER/helloworld.c .
Compile the code:
gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gstreamer-0.10)
Run
./helloworld <Ogg/Vorbis filename>
References:
[1] GStreamer Home