1 | initial version |
I got this error before I installed Cygwin's gstreamer and some plugins such as the "good" and "nice" codecs -- it seems they should have been automatically installed as dependencies. Now I can use VideoCapture() to acquire an MJPEG stream from an IP camera however I have not succeeded with an avi file. The important part of a long error message is "error: (-2) GStreamer: your gstreamer installation is missing a required plugin" which I think is for lack of an MPEG4 decoder. It is not worth it to me to spend a lot of time on this since OpenCV in native Windows fills my needs.