[sane-devel] v4l device and colors

2008-04-29 Thread Ludwik
Hi,

Maybe somebody will be able to help be, because I'm going insane here ;)

I'm trying to build a music sequencer that would use color input form
the camera to generate music (something similar to Bubblegum
Sequencer). Sane looks like a best way to integrate my video4linux
webcam input with my python program. The problem is that when Sane
(both in form of the python library and xsane standalone program) show
the camera input it's totally blueish - almost blackblue (something
like blackwhite, but with blue in place of white). All the other
video4linux programs show the real colors. Sane is also using
video4linux, so I have hard time understanding why suddenly everything
goes blue...  Any ideas?

Ludwik Trammer
Warsaw, Poland



[sane-devel] v4l device and colors

2008-04-29 Thread Gerard Klaver
On Tue, 2008-04-29 at 00:27 +0200, Ludwik wrote:
 Hi,
 
 Maybe somebody will be able to help be, because I'm going insane here ;)
 
 I'm trying to build a music sequencer that would use color input form
 the camera to generate music (something similar to Bubblegum
 Sequencer). Sane looks like a best way to integrate my video4linux
 webcam input with my python program. The problem is that when Sane
 (both in form of the python library and xsane standalone program) show
 the camera input it's totally blueish - almost blackblue (something
 like blackwhite, but with blue in place of white). All the other
 video4linux programs show the real colors. Sane is also using
 video4linux, so I have hard time understanding why suddenly everything
 goes blue...  Any ideas?
 
 Ludwik Trammer
 Warsaw, Poland
 

I expect some RGB to BGR step is needed, did you try xcam already (does
have a RGB to BGR button)?
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] v4l device and colors

2008-04-29 Thread Ludwik
  I expect some RGB to BGR step is needed, did you try xcam already (does
  have a RGB to BGR button)?

This helped, thank you :)

Ludwik