RSSFacebookMySpaceYouTubeVimeoFlickr
Next VJ-Meetup: t.b.a.
Read-only archive · Preserved for exploration. Events and offers are historical. Submissions are closed.
Forum / Archive

Processing with GSVideo + GLGraphics (OpenGL)

Forum / Developers Cave

Yesterday I managed to track down some libraries for dealing with video and textures using OpenGL for Processing. The process was a bit painful, as they don't appear to be well maintained, and what I got working was actually from a link in a forum post to a temporary(?) release that doesn't appear to be mentioned on the official site...

I'll suss out some details later (probably in a post on subpixels.com), but for now I have a video showing the 3D animation some of you saw last year at Cafe 1001 in London, only this time with video in the background (I can also get a feed from my webcam, which I was unable to do with the standard QuickTime video library that comes with Processing).

I'm a bit annoyed at how shonky the (re-)encoding is with both YouTube and Vimeo, but you get the idea. The program ran at around 30fps, and this was prett heavily taxing my machine (gettin' old now). I tried using it with the FullScreeen library, but that causes some bad problem with transparency (completely destroying the text, and possibly other things), so I'll have to find out the way to make a borderless window and have it placed on the external display.



By the way, the background video is only 320x240, and is a .avi file with an Xvid video stream. I have tried some 640x480 clips and get somewhat choppy results. Java just isn't up to the task, I don't think.

-spxl