I \'m having troubles trying to capture a live stream from my new GoPro Hero 4 camera and do some image processing on it using openCV.
Here is my trial (nothing shows up
This is because you are not choosing a literal stream to capture video from. Your ip from the videocapture object must contain an extension on the end, whether it's .jpg or .mpeg (I'd prefer using this), or a few others listed in the documentation. If you use a literal video stream (such as the .mpeg instead of a picture), you should do cv.grab then cv.retrieve. this goes for all ip cameras. Hope this helped :)