<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>VIDEO(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <h2><a name='sect0' href='#toc0'>Name</a></h2> im_video_v4l1 - various image grabbers <p> <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>#include <vips/vips.h></b> <p> <b>int </b> <b>im_video_v4l1( IMAGE *im, const char *device, int channel, </b> <b>int brightness, int colour, int contrast, int hue,</b> <b>int ngrabs )</b> <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> These functions grab single video frames from various devices. Which of these functions work depends upon how your VIPS has been configured and compiled, and your platform. As a result, they are far from portable ... you want a layer on top of these functions. <p> <a href='im_video_v4l1.3.html'><b>im_video_v4l1(3)</b></a> grabs a frame using Video4Linux. It grabs a 24-bit RGB colour image, at the maximum resolution your card allows. <p> <b>device</b> should typically be "/dev/video". <b>channel</b> selects the channel to acquire: usually 0 is TV, and 1 is composite video. <b>brightness,</b> <b>colour,</b> <b>contrast </b> and <b>hue </b> set grab parameters. Each should be in the range (0 - 32768). 32768 is usually the value you want. <b>ngrabs</b> sets the number of frames the card should average. Higher values are slower, but typically less noisy (and slightly softer). <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> All functions return 0 on success and -1 on error. <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>Return Value</a></li> </ul> </body> </html>