when i tried to work with a video file i can't seem to open the file when i test on isOpen() it gives me thats it did not open
what did i already check:
- videofile working and in correct path
- rebooting
- reinstalling ffmpeg (with diferent configurations)
my code:
VideoCapture readVideo;
readVideo.open(argv[1]);
Mat frame;
if(!readVideo.isOpened()){
fprintf(stderr,"video niet geladen 0 \n");
return 2;
}
Example of the file i give in argv[1]: out.avi (mpeg4 codex) it works on someone elses setup so i know its not the code