2013-12-25 03:07:11 -0600 | received badge | ● Editor (source) |
2013-12-25 02:50:08 -0600 | asked a question | Video playback application exits instantly Hi, I am just beginning to work with OpenCV. I am using OpenCV 2.4.7 with Qt 5.2.0 on Windows 7. As far as I can see I set up everything correctly, the code I used before (all related to "still" images, no videos) compiled and executed as intended. But now I am trying to display a video. Nothing fancy. It compiles, yet when I execute it, no video is displayed and the program exits. After adding Code and screenshot: Edit: So apparently the file can't be opened. I tried cap.isOpened() and the response was 'false'. But like I said before, the path is correct and the video is not damaged either... |