Implemented a video reader and writer with OpenCV.

The program now works as a video cat or converter :
./prpa -c MP42 -o /tmp/bar.avi /tmp/foo.flv
-c specify a 4-letter codec to be used for the output file and follow a strict
code defined on this page : http://www.fourcc.org/codecs.php
The file output extension *does* matter and must match the selected output
codec.
This commit is contained in:
Delalande Ivan 2012-07-12 10:42:38 +02:00
commit cbc9a7a686
10 changed files with 145 additions and 2 deletions

View file

@ -27,4 +27,7 @@ prpa_SOURCES = src/main.cc
prpa_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(BOOST_PROGRAM_OPTIONS_LIB)
$(BOOST_PROGRAM_OPTIONS_LIB) \
-ltbb \
$(DEPS_CFLAGS) \
$(DEPS_LIBS)