I have made such a program. (attached as piclib.tar.gz)
Its porpuse it to comminicate with the OpenCV library from Intel.
Read the source. It should give you the basics. Maybee you can copy/paste
a lot off it. it communicate via the bttv.o and videodev.o modules.
Anders Gnistrup
Michelle Zaller wrote:
> Dear V4L Gurus,
>
> I would like to grab a single frame at a time of composite video to my
> Linux PC, and would greatly welcome any advice on the best way to do
> this. Sorry if this is off-topic here, please let me know where I should
> be posting instead if I am off base(:-)).
> 1. Are there any frame grabber cards that work "out-of-the-box" under any
> Linux kernel version that could accomplish this simple feat? (If one
> worked under the RH7.0 that I have already installed, that would be even
> better!)
> 2. Can anyone point to software that works with the v4l interface, which
> can easily accomplish this task, or should I just use the v4l API? I don't
> need any video compression, if that matters.
> 3. Any recommendations for frame grabbing devices that could be used with
> a laptop running Linux, to grab a composite video frame (speed is not an
> issue, so I assume I could even use a USB port). I can't use a webcam, the
> signal is coming from an existing camera. The Iomega Buz looks attractive,
> but I see from Iomega's website, that they are no longer available from Iomega?
> 4. Do I need to patch a 2.2.x kernel with the big_physarea patch for a
> DC-10+ or LML-33 board? I have been mucking about with a LML-33 board with
> RH7.0, as well as a DC-10+ under a vanilla 2.2.19 kernel for an alpha, and
> they seem to work without the patch.
>
> Any comments, criticisms, things to try, things to avoid, etc. would be
> very much appreciated.
> Thanks in advance!
>
> -MZ
>
>-------------------------------------------------------------------------------------------------------------------
> [EMAIL PROTECTED]
>
> _______________________________________________
> Video4linux-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/video4linux-list
piclib.tar.gz