Miha Tomšič wrote:
Hello!
On Linux using Gem 0.92 from SVN I am using [pix_video] with Logitech QuickCam 4000 and v4l driver but the red and blue colours are swapped.
Is there a way to instruct [pix_video] to use different colorspace (BGR instead of RGB)? If not what is the cheapest way to convert from one colorspace to the other.
a simple _hack_ is to use YUV-colorspace with [pix_video] and then (if you really need it) [pix_rgba] to convert to RGBA.
How can I get any additional information from pix_video (framerate, resolution ...)?
resolution: use [pix_info] to get the resolution of the current video-frame. framerate: Gem runs at a fixed framerate as given to [gemwin].
masdr IOhannes