[Lazarus] Capture video in linux

Henry Vermaak henry.vermaak at gmail.com
Wed Aug 13 17:54:11 CEST 2008


On 13/08/2008, Alejandro PĂ©rez <alex at esolva.com> wrote:
> Hello all,
>
> Does anyone know how to capture a video or a single frame of a webcam
> with Lazarus in Linux? I have the webcam working and know I would like
> that my application capture frames or a video.

if your webcam has a video4linux driver, then you can use the v4l api.
 look here:

http://linuxtv.org/v4lwiki/index.php/Main_Page

>
> There is a simple example to start with?
>

there are examples in the spec.  they are in c, so not hard to translate.

henry




More information about the Lazarus mailing list