This C++ library is designed to be easy to use and portable for fast video saving, loading and display. It supports OpenGL and X Windows. It is released under the LGPL License.
Video for Linux 2 devices
Firewire over USB cameras produced by PointGrey - see http://www.ptgrey.com/products/fireflymv/index.asp
Use DVBuffer3 for that and make sure to set an image resolution
Colorspace conversions on images and video streams
LibCVD will compile on any reasonable unixy environment, with a reasonable C++ compiler (e.g. gcc version >= 3.1) and GNU Make. Additionally, libCVD supports both normal and cross compilers. It is known to work on:
-Well tested (current):
-Has worked on (current status unknown):
The normal system works:
./configure make make install
libCVD fully supports parallel builds (make -j2
for instance).
There are a few known library bugs which prevent the libraries working with libCVD
There are a few known compiler bugs which affect libCVD on various platforms.
cvd_src/videosource.o
from Makefile
and use --disable-jpeg
For Win32 systems, the build
directory contains project files for different versions of Visual Studio. Currently the vc2008 solutin is supported and should work out of the box. There are two projects, one for compiling libcvd and one for installing it into a common directory tree. Both projects assume the existence of three environment variables describing the location of header, library and binary files (for DLLs).
INCLUDEDIR
contains the header files. libcvd headers will be copied into %INCLUDEDIR%\
LIBDIR
contains library files. libcvd static libraries (debug and release verions) will be copied into %LIBDIR%
BINDIR
is not used for libcvd, but would be the default directory for DLLslibCVD requires at least two libraries to compile:
Both libraries should be moved into the directory tree described by INCLUDEDIR
, LIBDIR
and BINDIR
where the libCVD project files will expect them.
libCVD compiles to static libraries for simpler linking and to avoid the _dllexport/_dllimport statements throughout the code.
Configuration of features is manual through a default config file in build/vc2005/config.h
. Edit this file to change your configuration, for example to support other image formats such as PNG.