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:
parent
6a89d1f5df
commit
cbc9a7a686
10 changed files with 145 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue