From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from proofpoint-cluster.metrocast.net ([65.175.128.136]:5966 "EHLO proofpoint-cluster.metrocast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754771Ab0GPVrf (ORCPT ); Fri, 16 Jul 2010 17:47:35 -0400 Subject: Re: How to begin v4l2 application development?? From: Andy Walls To: Bryan Nations Cc: linux-media@vger.kernel.org In-Reply-To: <4C40B598.20705@streamvenue.com> References: <4C40B598.20705@streamvenue.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 16 Jul 2010 17:48:09 -0400 Message-ID: <1279316889.2446.6.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On Fri, 2010-07-16 at 14:40 -0500, Bryan Nations wrote: > I am new to video for linux and would like to know what resources are > available to assist me in programming a simple webcam application with > c++ in a *nix environment. My main goal right now is to just view the > webcam in a small window. I have found lots of info on driver > development, but I am interested in the application side. Are there any > c++ examples or references that will help me get started? Read the V4L2 API documentation. Everything an app programmer can call is there. I susggest playing around with the v4l2-ctl utility with your device to get a feel for what many of the miscellaneous ioctl()'s support. You may want to look at svv.c here: http://moinejf.free.fr/ as a simple test viewer application. Regards, Andy