Hello !

I have installed OPENCV library from cygwin ports.

The program I'm working on is supposed to read images and video files 
(analyzing frames).

Single image analysis works on Debian GNU/Linux and on Windows/Cygwin now.


As soon as I try to read video, it doesn't work on Cygwin. I think I have to 
install FFMPEG in some form (that was solution for GNU/Linux). But I don't know 
which package to install.


Here is a program example (working fully on GNU/Linux, can be compiled on 
Cygwin, but refuses to open the video file there):


std::string file = "blah.mp4"

cv::VideoCapture in(file);
if (! in.isOpened())
   log_error("can't open video file '%s'", file.c_str());

The "isOpened" method always returns "false" on my Cygwin setup.

Please help me to understand what package do I have to install in order to read 
the file. Or how to fix it otherwise.

Thanks!

-- Ilya Dogolazky?



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to