OpenGL in GStreamer

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

One Response to “OpenGL in GStreamer”

  1. Adam Says:

    wtf?!? If you were going to totally duplicate my work then you could have done it a bit better! There is absolutely no need for the upload and download elements, can just negotiate caps properly on the filter element.