OpenCL Convertor | Particle Video Visualizer | W I P
Little has been spoken of the proper use of the OpenCL convertor, which is hardly surprising as it hardly seems to recognise some OpenCL streams at all :-).
Essentially it is meant to convert an OpenCL structure into an image and it can do a pretty good job of dealing with video and streamed movies too.
This is a bit of a tangent to my creating some really effective OpenCL Optical Flow kernel based constructs. That is definitely a work in progress.
This little beauty shows how the Colours structure can be turned into a representation of the video [Coil.mov - online version]. There actually is more variation amongst the other structure members than this grab gives lie to :-) .
The other OpenCL structures also yield graphically renderable information, chromatic and movement. Note the image output from the Convertor patch. The other two Convertors output the rainbow background and the texture grid.
Put together, they make for a rather graceful visualizer, albeit a slow vehicle fps wise, which I don't find matters too much, especially as feeding the audio peak to the movie rate [Asynchronous mode] keeps the whole moving structure synced to the audio throughput.
Still it would be nice to find an even more effective fps capable kernel based construct.
More like this