VideoCapture get error message when open file
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
is
filename.avi
exist in your working directory?Of course there is.