OpenCV and GoPro - empty frames in VideoCapture stream
I have a GoPro Hero 3+ (Black) which is connected to a video capture card (AverMedia Game Broadcaster HD). I simply want to get the video stream in OpenCV. With a Logitech Webcam there are no problems. The used code is below. VideoCapture cap; cap.open(0); waitKey(300); //cap.set(CV_CAP_PROP_FRAME_WIDTH, 1280); //cap.set(CV_CAP_PROP_FRAME_HEIGHT, 720); if (cap.isOpened()){ cout << "Cam identified" << endl; } namedWindow("dst", 1); while (1){ Mat frame; if (!cap.read(frame)) { std::cout << "Unable to read frame from video stream" << std::endl; continue; } imshow("dst", frame); [...] } With the