Hi, V4L2 interfaces work. Make sure that your software doesn't try to use V4L, though. I have written a library directly controlling the FM radio chip in the N800 via the V4L2 kernel interface and it worked as expected.
Regards, Martin 2009/1/10, Shu Shi <[email protected]>: > Actually, I am using opencv to run some eye tracking app in Nokia > N800. So I try to use the camera capture interface in opencv rather > than writing a new one with gstreamer (instructed in the menual) by > myself. > > The camera capture code in opencv does try to set the camera's > resolution. By crossing out that code, now it works! > > Thanks for the help! > > Best, > Shu > > On Fri, Jan 9, 2009 at 5:12 PM, Kees Jongenburger > <[email protected]> wrote: >> Hello Shu, >> >> On Fri, Jan 9, 2009 at 11:20 PM, Shu Shi <[email protected]> wrote: >>> Hi everyone, >>> >>> I am working on a N800/OS2008 application which captures and video and >>> analyzes the content. I need to write or re-use some codes to capture >>> the video through camera. According to the documentation, it says that >>> V4L2 is supported in kernel but the whole system is based on Gstreamer >>> framework. I also tried some open source software using V4L/V4L2 to >>> control camera, such as opencv, spcaview, but all failed. >> >> It can be hard to request the right resolution etc. >> >>> >>> My questions are: >>> 1. Can I use V4L2 interface to control camera directly in N800/OS2008? >>> Or everything is controled by Gstreamer? >> You can use the interface directly. just like gstreamer does >> >>> 2. If V4L2 can be used, is there anything special in this platform I >>> need to pay attention to? >>> 3. If everything is controlled by Gstreamer, is there any sample codes >>> to control camera I could reference? >> >> The Maemo reference manual has a nice section about this called >> "Camera Manipulation in C Language " >> see >> http://maemo.org/maemo_release_documentation/maemo4.1.x/node9.html#SECTION00930000000000000000 >> >> >> greetings >> > > > > -- > Shu Shi > System Research Group > Department of Computer Science > University of Illinois at Urbana-Champaign > > Zsa Zsa Gabor - "I'm a great housekeeper. I get divorced. I keep the > house." > _______________________________________________ > maemo-developers mailing list > [email protected] > https://lists.maemo.org/mailman/listinfo/maemo-developers > _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
