Ask Your Question

blacksailer's profile - activity

2015-12-10 03:10:49 -0600 commented answer Opencv 3.0.0 build winder Windows 8 with Gstreamer1.0 support

i can't understand where i shoud enter part

if defined(WIN32)
define strcasecmp _stricmp
define strncasecmp _strnicmp
endif

...
if defined(WIN32)

_fullpath(uri, filename, _MAX_PATH);
else

uri = realpath(filename, NULL);
endif

and after using cmake there is an error: cant find pkgconifg

2015-12-03 09:18:10 -0600 received badge  Editor (source)
2015-12-03 05:38:26 -0600 asked a question VideoCapture segmentation fault

Hello everyone!

i am trying to deploy application with opencv from ubuntu to windows.

I have database of cameras with http url to connect them. Some of these Urls is NOT valid. On Ubuntu 15.10 videocapture with unvalid url just doesn't opening stream and videocapture.isOpened() returning false. On Windows 7 x32 during opening HTTP url with videocapture, app is crashing (Segmantation fault).

Where is an error?

backtrace:

  0 cvCreateFileCapture_Images(const char *)            0x6bb8e010  
1   cv::VideoCapture::open(cv::String const&)           0x6bb9721e  
2   cv::VideoCapture::VideoCapture(cv::String const&)           0x6bb9784b  
3   ??          0x41ca6d    
4   ??          0x4123e7    
5   ??          0x40f6ab