[maemo-developers] V4L2 and Gstreamer

From: Kees Jongenburger kees.jongenburger at gmail.com
Date: Sat Jan 10 01:12:50 EET 2009
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

More information about the maemo-developers mailing list