Discussion:
[M560x-driver-devel] Skype and Ekiga result with m5602-gspca [s5k83a sensor]
Jos
2008-11-23 18:11:32 UTC
Permalink
Hi there,

I've got some strange results with skype and the s5k83a sensor (gspca).
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype

With gspca one, I've got this result with skype:
Loading Image...
With some kind of luminosity, I can see in background the webcam image,
but there's a lot of green lines disturbing all. Sometimes, all is green
like in capture

With gspca and Ekiga, the image looks nice, but very dark
Loading Image...

Is those results "normal" for you? Can I do something to help you to
better support this?

Thanks,
Jos
Lukáš Karas
2008-11-23 18:47:13 UTC
Permalink
Post by Jos
Hi there,
I've got some strange results with skype and the s5k83a sensor (gspca).
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype
http://etbuddies.free.fr/skype.png
With some kind of luminosity, I can see in background the webcam image,
but there's a lot of green lines disturbing all. Sometimes, all is green
like in capture
Hi Jos

Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer)! This
combination produce your green screen. You have to use libv4l with Skype.
For more information see these wiki pages:

http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid

By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Post by Jos
With gspca and Ekiga, the image looks nice, but very dark
http://etbuddies.free.fr/Capture-Ekiga.png
You have to set gain and brightness to highter values in darkness. Own driver
don't support auto brightness correction.
You can use my utility v4lctrl for this.
http://www.karry.wz.cz/download/v4lctrl-0.2.3.tar.gz

Regards, Lukas
Erik Andrén
2008-11-23 18:52:31 UTC
Permalink
Post by Lukáš Karas
Post by Jos
Hi there,
I've got some strange results with skype and the s5k83a sensor (gspca)=
=2E
Post by Lukáš Karas
Post by Jos
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype
http://etbuddies.free.fr/skype.png
With some kind of luminosity, I can see in background the webcam image=
,
Post by Lukáš Karas
Post by Jos
but there's a lot of green lines disturbing all. Sometimes, all is gre=
en
Post by Lukáš Karas
Post by Jos
like in capture
=20
Hi Jos
=20
Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer=
)! This=20
Post by Lukáš Karas
combination produce your green screen. You have to use libv4l with Skyp=
e.=20
Post by Lukáš Karas
For more information see these wiki pages:=20
=20
http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid
=20
By the way, how do you made screenshot of Skype? I know neither tool fo=
r=20
Post by Lukáš Karas
create screenshot of Xvideo applications...
=20
Post by Jos
With gspca and Ekiga, the image looks nice, but very dark
http://etbuddies.free.fr/Capture-Ekiga.png
=20
You have to set gain and brightness to highter values in darkness. Own =
driver=20
Post by Lukáš Karas
don't support auto brightness correction.
You can use my utility v4lctrl for this.
http://www.karry.wz.cz/download/v4lctrl-0.2.3.tar.gz
=20
Regards, Lukas
What about bumping the default brightness or is it too lighting
dependent to really matter?

Regards,
Erik
Post by Lukáš Karas
=20
=20
=20
-----------------------------------------------------------------------=
--
Post by Lukáš Karas
This SF.Net email is sponsored by the Moblin Your Move Developer's chal=
lenge
Post by Lukáš Karas
Build the coolest Linux based applications with Moblin SDK & win great =
prizes
Post by Lukáš Karas
Grand prize is a trip for two to an Open Source event anywhere in the w=
orld
Post by Lukáš Karas
http://moblin-contest.org/redirect.php?banner_id=3D100&url=3D/
_______________________________________________
M560x-driver-devel mailing list
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
=20
Lukáš Karas
2008-11-23 19:03:43 UTC
Permalink
Post by Erik Andrén
Post by Lukáš Karas
Post by Jos
Hi there,
I've got some strange results with skype and the s5k83a sensor (gspca).
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype
http://etbuddies.free.fr/skype.png
With some kind of luminosity, I can see in background the webcam image,
but there's a lot of green lines disturbing all. Sometimes, all is green
like in capture
Hi Jos
Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer)!
This combination produce your green screen. You have to use libv4l with
http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid
By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Post by Jos
With gspca and Ekiga, the image looks nice, but very dark
http://etbuddies.free.fr/Capture-Ekiga.png
You have to set gain and brightness to highter values in darkness. Own
driver don't support auto brightness correction.
You can use my utility v4lctrl for this.
http://www.karry.wz.cz/download/v4lctrl-0.2.3.tar.gz
Regards, Lukas
What about bumping the default brightness or is it too lighting
dependent to really matter?
Regards,
Erik
Hi
Yes, it depend on lighting. Default values are fine for me in normal day
light.
Jos
2008-11-23 19:40:44 UTC
Permalink
Post by Erik Andrén
Post by Lukáš Karas
Hi Jos
Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer)! This
combination produce your green screen. You have to use libv4l with Skype.
http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid
By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Thanks, I'm gonna check that now. For the screenshot, I simply used the
gnome (or Ubuntu) default behavior, the print screen key.
Post by Erik Andrén
What about bumping the default brightness or is it too lighting
dependent to really matter?
With 0xE8 as default brightness and 0x7F as default withness I get a
pretty good result with Ekiga:
Loading Image...
Post by Erik Andrén
Are you using 32 or 64 bit linux?
I'm using 32 bit linux

Regards,
Jos
Jos
2008-11-23 19:59:06 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Lukáš Karas
Hi Jos
Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer)! This
combination produce your green screen. You have to use libv4l with Skype.
http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid
By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Nice, with libv4l-0.5.5 I've got a pretty good result with skype, thank
you Erik and Lukáš :)
Here's the result:
Loading Image...

This is with the same values of brightness and whitness than my previous
mail (0xE8 as default brightness and 0x7F as default withness)

Last small question: what value do I need to set in S5K83A_FLIP_MASK to
mirror horizontally? (in order to behiave like a real mirror)

Regards,
Jos
Lukáš Karas
2008-11-23 20:56:19 UTC
Permalink
Post by Jos
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Lukáš Karas
Hi Jos
Skype has bug in S_FMT ioctl and don't support m5602 pixelformat
(bayer)! This combination produce your green screen. You have to use
http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid
By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Nice, with libv4l-0.5.5 I've got a pretty good result with skype, thank
you Erik and Lukáš :)
http://etbuddies.free.fr/skype2.png
This is with the same values of brightness and whitness than my previous
mail (0xE8 as default brightness and 0x7F as default withness)
Last small question: what value do I need to set in S5K83A_FLIP_MASK to
mirror horizontally? (in order to behiave like a real mirror)
Regards,
Jos
For information how to set horizontall flip in driver see function
s5k83a_set_hflip in file m5602_s5k83a.c . But for users is better use command

v4lctrl -s 9963797 -v 1

before run program. BTW, Skype mirror image in preview window inside program.
Josselin Bardet
2008-11-25 11:51:19 UTC
Permalink
Hi,
Post by Lukáš Karas
But for users is better use command
v4lctrl -s 9963797 -v 1
I used your program like you said, and its just work ;)
Thanks all for your time and for your great job on this driver

BTW, I modified my brigthness and whitness values to :
#define S5K83A_DEFAULT_BRIGHTNESS 0xcf
#define S5K83A_DEFAULT_WHITENESS 0x7e

Regards,
Jos

Erik Andrén
2008-11-23 18:50:37 UTC
Permalink
Hi,
Post by Jos
Hi there,
I've got some strange results with skype and the s5k83a sensor (gspca).
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype
http://etbuddies.free.fr/skype.png
With some kind of luminosity, I can see in background the webcam image,
but there's a lot of green lines disturbing all. Sometimes, all is green
like in capture
Thanks for your feedback, what version of libv4l are you using?
Please test skype with the latest one.

Regards,
Erik
Post by Jos
With gspca and Ekiga, the image looks nice, but very dark
http://etbuddies.free.fr/Capture-Ekiga.png
Is those results "normal" for you? Can I do something to help you to
better support this?
Thanks,
Jos
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
Jos
2008-11-23 18:59:33 UTC
Permalink
Hi,
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Thanks for your feedback, what version of libv4l are you using?
Please test skype with the latest one.
Regards,
Erik
Thanks for your quick answer. I'm using libv4l from Intrepid Ibex, I
don't know exactly the version.
Could you please remind me where I can download the latest libv4l in
order to test?

Regards,
Jos
Erik Andrén
2008-11-23 19:07:23 UTC
Permalink
Post by Jos
Hi,
=20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Thanks for your feedback, what version of libv4l are you using?
Please test skype with the latest one.
Regards,
Erik
Thanks for your quick answer. I'm using libv4l from Intrepid Ibex, I
don't know exactly the version.
Could you please remind me where I can download the latest libv4l in
order to test?
Sure,

http://people.atrpms.net/~hdegoede/libv4l-0.5.6.tar.gz

Are you using 32 or 64 bit linux?

Regards,
Erik
Post by Jos
Regards,
Jos
=20
Lukáš Karas
2008-11-23 18:33:41 UTC
Permalink
Post by Jos
Hi there,
I've got some strange results with skype and the s5k83a sensor (gspca).
With non gspca driver and livecam, image looks good but in black and
white, and don't work with skype
http://etbuddies.free.fr/skype.png
With some kind of luminosity, I can see in background the webcam image,
but there's a lot of green lines disturbing all. Sometimes, all is green
like in capture
Hi Jos

Skype has bug in S_FMT ioctl and don't support m5602 pixelformat (bayer)! This
combination produce your green screen. You have to use libv4l with Skype.
For more information see these wiki pages:

http://m560x-driver.wiki.sourceforge.net/libv4l
http://m560x-driver.wiki.sourceforge.net/libv4l+Ubuntu+Intrepid

By the way, how do you made screenshot of Skype? I know neither tool for
create screenshot of Xvideo applications...
Post by Jos
With gspca and Ekiga, the image looks nice, but very dark
http://etbuddies.free.fr/Capture-Ekiga.png
You have to set gain and brightness to highter values in darkness. Own driver
don't support auto brightness correction.
You can use my utility v4lctrl for this.
http://www.karry.wz.cz/download/v4lctrl-0.2.3.tar.gz

Regards, Lukas
Loading...