Archive for December, 2007

OpenGL in GStreamer

Tuesday, December 25th, 2007

I spent about 4x as much time on this project as originally planned, but GStreamer now has a bunch of OpenGL-based elements and is capable of uploading and downloading video, as well as filtering. The GL sink (glimagesink) still needs to be updated to handle GL buffers, and there’s a host of other details that need to be filled in, but all the important stuff works. Requires -bad and -base from CVS, and is known to work on both NVidia and Intel drivers.

A simple GL filtering pipeline: videotestsrc ! glupload ! glfilter ! gldownload ! ffmpegcolorspace ! ximagesink.

Simple GL pipeline

Smooth Move

Saturday, December 15th, 2007

At some point in the past few weeks, I deleted the mysql database behind my blog. Somewhere around here, there’s a backup for it, but I’m a bit lazy, and the interested reader can consult the Google cache.

In other news, I apparently had some creativity that needed to escape my head this week, so I started a bunch of mini-projects: Improvements to GStreamer’s OpenGL video sink element, generic code for handling raw video in GStreamer, support for pushing around XImages and/or OpenGL textures in GStreamer pipelines, a JIT compiler for liboil, the (first ever) live streaming of Dirac video (from one side of my office to the other), and experimental code for doing wavelet transforms in OpenGL with fragment programs.