When i execute code:
VideoCapture cap("filename.avi"); // open the default camera
if(!cap.isOpened()) // check if we succeeded
return -1;
i always get error that file is not open. Where i can get type of error, error message string? OS Kubuntu, opencv2