From: Angel C. <ac...@te...> - 2007-01-19 00:45:05
|
El vie, 19-01-2007 a las 01:21 +0100, Dietmar Lippold escribi=C3=B3: > Hi Angel, Hi Dietmar, > Am Donnerstag, 18. Januar 2007 01:32 schrieb Angel Carpintero: > > btw i have a big patch that maybe i'll commit to svn with some new > > features like MJPEG support for webcam ( not yet for network cameras > > ) and i still need to verify that V4L2_PIX_FMT_SBGGR8 ( bayer ) and > > V4L2_PIX_FMT_SN9C10X works , because are totally untested. > > > > I would like to get some feedback , because i have no any V4L2 device > > with these palettes. >=20 > I have donwoaded revision 161 and did "./compile" and "make" and didn't=20 > get any error. :-) Then I was also able to use motion with my webcam=20 > (using palette BA81 with V4L2) without problems. Great ! ;-)=20 So BA81 works , but i guess that the conversion from bayer to yuv420p could be improved. When motion starts it shows all palettes that support your camera,=20 Could you give us this information ?=20 I guess that your camera supports : V4L2_PIX_FMT_SBGGR8 V4L2_PIX_FMT_SN9C10X You will make me a great favor if you can test also V4L2_PIX_FMT_SN9C10X, you just need to change the order of palettes in video2.c:302 , so it should be like this : static const u32 supported_formats[] =3D { /* higher index means better chance to be used */ V4L2_PIX_FMT_SBGGR8, V4L2_PIX_FMT_SN9C10X, then just rebuild motion and test. Could you are your webcam in this Twiki topic ? http://www.lavrsen.dk/twiki/bin/view/Motion/WorkingDevices Thanks a lot :) > I am fully satisfied. Thank you very much. >=20 > Dietmar >=20 Cheers, --=20 Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint =3D 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe;=20 no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply.=20 Willing is not enough; we must do" Johann Wolfgang von Goethe |