[maemo-developers] V4L2 and Gstreamer

From: Shu Shi shushi2 at illinois.edu
Date: Sat Jan 10 07:29:30 EET 2009
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
<kees.jongenburger at gmail.com> wrote:
> Hello Shu,
>
> On Fri, Jan 9, 2009 at 11:20 PM, Shu Shi <shushi2 at illinois.edu> 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."

More information about the maemo-developers mailing list