Page 1 of 1

Compile vlc with opencv filter

Posted: 28 Aug 2007 20:09
by a010728
Did anyone compile vlc with opencv filter success.
When I compile "vlc-snapshot-20070827.tar.bz2" will have a error message "can't not find vlc_decoder.h " , i try to use the 0.86.c's decoder.h to instead vlc_decoder.h.
After the compilation is done,I run VLC,and can see the "OpenCV video filter wrapper" filter ,but it can't work ,It is giving the following error
[00000358]main private error:no video filter2 module match "opencv_wrapper"
[00000348]main video output error:no video filter found(opencv_wrapper)
I guess the error is about the vlc_decoder.h
Please..can someone help me
thanks

Re: Compile vlc with opencv filter

Posted: 30 Aug 2007 14:25
by Jean-Baptiste Kempf
Can you paste your configure ?

Re: Compile vlc with opencv filter

Posted: 31 Aug 2007 06:10
by a010728
My Environment is
Cygwin with all Cygwin packages
vlc-snapshot-20070827.tar.bz2
contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2
OpenCV_1.0.exe

./bootstrap && CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" LDFLAGS=-L/usr/win32/lib PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" ./configure --enable-opencv --with-opencv-tree=/cygdrive/e/OpenCV --host=i686-pc-mingw32 --enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk --enable-nls --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora --with-wx-config-path=/usr/win32/bin --with-freetype-config-path=/usr/win32/bin --with-fribidi-config-path=/usr/win32/bin --enable-live555 --with-live555-tree=/usr/win32/live.com --enable-caca --with-caca-config-path=/usr/win32/bin --with-xml2-config-path=/usr/win32/bin --with-dvdnav-config-path=/usr/win32/bin --disable-cddax --disable-vcdx --enable-goom --enable-twolame --enable-dvdread --disable-gnomevfs --enable-dca --disable-optimizations --enable-debug
thanks

Re: Compile vlc with opencv filter

Posted: 01 Sep 2007 11:56
by Jean-Baptiste Kempf
Trying to do it. But AFAIK, opencv has not been working for ages...