public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* How to begin v4l2 application development??
@ 2010-07-16 19:40 Bryan Nations
  2010-07-16 21:48 ` Andy Walls
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Nations @ 2010-07-16 19:40 UTC (permalink / raw)
  To: linux-media

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?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to begin v4l2 application development??
  2010-07-16 19:40 How to begin v4l2 application development?? Bryan Nations
@ 2010-07-16 21:48 ` Andy Walls
  2010-07-16 21:49   ` Andy Walls
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Walls @ 2010-07-16 21:48 UTC (permalink / raw)
  To: Bryan Nations; +Cc: linux-media

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to begin v4l2 application development??
  2010-07-16 21:48 ` Andy Walls
@ 2010-07-16 21:49   ` Andy Walls
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Walls @ 2010-07-16 21:49 UTC (permalink / raw)
  To: Bryan Nations; +Cc: linux-media

On Fri, 2010-07-16 at 17:48 -0400, Andy Walls wrote:
> 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.

Oops, forgot the link:

http://linuxtv.org/downloads/v4l-dvb-apis/

> 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
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-16 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 19:40 How to begin v4l2 application development?? Bryan Nations
2010-07-16 21:48 ` Andy Walls
2010-07-16 21:49   ` Andy Walls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox