|
| 1 | +luvcview: SDL-based video grabber |
| 2 | +================================= |
| 3 | + |
| 4 | +Copyright and license |
| 5 | +--------------------- |
| 6 | + |
| 7 | +Copyright (C) 2005-2008 Michel Xhaard |
| 8 | + |
| 9 | +This program is free software; you can redistribute it and/or modify |
| 10 | +it under the terms of the GNU General Public License as published by |
| 11 | +the Free Software Foundation; either version 2 of the License, or |
| 12 | +(at your option) any later version. |
| 13 | + |
| 14 | +This program is distributed in the hope that it will be useful, |
| 15 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | +GNU General Public License for more details. |
| 18 | + |
| 19 | +You should have received a copy of the GNU General Public License |
| 20 | +along with this program; if not, write to the Free Software |
| 21 | +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 22 | + |
| 23 | + |
| 24 | +Credits |
| 25 | +------- |
| 26 | + |
| 27 | +Original code from spcaview: Copyright (C) 2003-2006 Michel Xhaard |
| 28 | +AVI writing code from Avilib: Copyright (C) 1999 Rainer Johanni |
| 29 | +SDL (Simple DirectMedia Layer) |
| 30 | + |
| 31 | +Contributions by: |
| 32 | + Laurent Pinchart, Linux UVC driver (http://linux-uvc.berlios.de/) |
| 33 | + Martin Rubli, Logitech (http://www.quickcamteam.net/) |
| 34 | + ... and many others whose names are in the ChangeLog. |
| 35 | + |
| 36 | + |
| 37 | +Download and support |
| 38 | +-------------------- |
| 39 | + |
| 40 | +Currently luvcview does not have an official website but the preferred way of |
| 41 | +posting questions and feedback is through the QuickCam Team forums: |
| 42 | + http://forums.quickcamteam.net/forumdisplay.php?fid=6 |
| 43 | + |
| 44 | +The latest version can be found in the Subversion repository at: |
| 45 | + http://svn.quickcamteam.net/svn/luvcview/ |
| 46 | + |
| 47 | +The current maintainer of luvcview is Michel Xhaard < [email protected]>. |
| 48 | + |
| 49 | + |
| 50 | +Disclaimer |
| 51 | +---------- |
| 52 | + |
| 53 | +Use this program as you see fit. We are not liable for damages or illegal use |
| 54 | +of it whatsoever. You are on your own. Use of this code is at your own risk. |
| 55 | +There is absolutely no warranty. Have fun with it! |
| 56 | + |
| 57 | + |
| 58 | +Building |
| 59 | +-------- |
| 60 | + |
| 61 | +Required libraries: |
| 62 | +- SDL (from http://www.libsdl.org/ or e.g. the libsdl1.2 Debian package) |
| 63 | + |
| 64 | +Required header files: |
| 65 | +- SDL (from http://www.libsdl.org/ or e.g. the libsdl1.2-dev Debian package) |
| 66 | +- uvcvideo (Linux UVC driver) |
| 67 | +- uvcdynctrl (part of libwebcam) |
| 68 | + |
| 69 | +The JPEG encoder and decoder are now part of the package to allow for a small |
| 70 | +footprint on embedded devices. libsdl provides the necessary layers to run on |
| 71 | +the Linux framebuffer or an X server. |
| 72 | + |
| 73 | +Important notes on the uvcvideo and uvcdynctrl dependencies: |
| 74 | + |
| 75 | + Compiling the luvcview sources requires three source files to be present. |
| 76 | + If you already have these projects on your system, you can link them, e.g. |
| 77 | + using the following commands: |
| 78 | + |
| 79 | + ln -s ~/uvcvideo/trunk/uvcvideo.h |
| 80 | + ln -s ~/uvcvideo/trunk/uvc_compat.h |
| 81 | + ln -s ~/libwebcam/Common/include/dynctrl-logitech.h |
| 82 | + |
| 83 | + Alternatively, the latest versions can be downloaded directly from the |
| 84 | + corresponding source code repositories: |
| 85 | + |
| 86 | + wget http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvcvideo.h |
| 87 | + wget http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvc_compat.h |
| 88 | + wget http://svn.quickcamteam.net/svn/qct/Linux/Common/include/dynctrl-logitech.h |
| 89 | + |
| 90 | +Once you have the SDL headers installed and the three above header files in the |
| 91 | +luvcview source directory you can continue as normal. |
| 92 | + |
| 93 | +To compile luvcview simply type: |
| 94 | + |
| 95 | +make |
| 96 | + |
| 97 | +To install it in /usr/local/bin type (as root): |
| 98 | + |
| 99 | +make install |
| 100 | + |
| 101 | + |
| 102 | +Usage |
| 103 | +----- |
| 104 | + |
| 105 | +Run luvcview with the -h or --help command line options to get a list of |
| 106 | +supported command line options. |
| 107 | + |
| 108 | +In the GUI the following keys are supported: |
| 109 | + {SDLK_n, A_BRIGHTNESS_UP}, |
| 110 | + {SDLK_b, A_BRIGHTNESS_DOWN}, |
| 111 | + {SDLK_x, A_CONTRAST_UP}, |
| 112 | + {SDLK_w, A_CONTRAST_DOWN}, |
| 113 | + {SDLK_c, A_SATURATION_UP}, |
| 114 | + {SDLK_v, A_SATURATION_DOWN}, |
| 115 | + {SDLK_z, A_GAIN_UP}, |
| 116 | + {SDLK_a, A_GAIN_DOWN}, |
| 117 | + {SDLK_r, A_SHARPNESS_UP}, |
| 118 | + {SDLK_e, A_SHARPNESS_DOWN}, |
| 119 | + {SDLK_y, A_CUSTOM_A}, |
| 120 | + {SDLK_t, A_CUSTOM_B}, |
| 121 | + {SDLK_f, A_SWITCH_LIGHTFREQFILT}, |
| 122 | + {SDLK_s, A_SCREENSHOT}, |
| 123 | + {SDLK_p, A_RECORD_TOGGLE}, |
| 124 | + {SDLK_l, A_RESET}, |
| 125 | + {SDLK_q, A_QUIT}, |
| 126 | + {SDLK_F1, A_SAVE}, // save configuration |
| 127 | + {SDLK_F2, A_LOAD}, // restore configuration |
| 128 | + |
0 commit comments