IMO making a projectM-gstreamer plugin would accomplish this a lot easier and better. I wanted to do this but wasn't sure how to create the GL context.
Started it a while back: https://github.com/projectM-visualizer/projectm/pull/207
No comments yet.