1VIDEO(3)                   Library Functions Manual                   VIDEO(3)
2
3
4

NAME

6       im_video_v4l1 - various image grabbers
7
8

SYNOPSIS

10       #include <vips/vips.h>
11
12       int  im_video_v4l1(  IMAGE  *im,  const  char *device, int channel, int
13       brightness, int colour, int contrast, int hue, int ngrabs )
14
15

DESCRIPTION

17       These functions grab single video frames from various devices. Which of
18       these functions work depends upon how your VIPS has been configured and
19       compiled, and your platform. As a result, they are  far  from  portable
20       ... you want a layer on top of these functions.
21
22       im_video_v4l1(3) grabs a frame using Video4Linux. It grabs a 24-bit RGB
23       colour image, at the maximum resolution your card allows.
24
25       device should typically be "/dev/video".  channel selects  the  channel
26       to  acquire:  usually  0  is TV, and 1 is composite video.  brightness,
27       colour, contrast and hue set grab parameters. Each  should  be  in  the
28       range  (0  -  32768). 32768 is usually the value you want.  ngrabs sets
29       the number of frames the card should average. Higher values are slower,
30       but typically less noisy (and slightly softer).
31
32

RETURN VALUE

34       All functions return 0 on success and -1 on error.
35
36
37
38                                 3 March 2001                         VIDEO(3)
Impressum