Ilya Dogolazky
2015-04-15 13:14:44 UTC
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?
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?