2020-02-16 06:38:40 -0600 | received badge | ● Popular Question (source) |
2016-09-16 17:09:12 -0600 | commented answer | Segmentation fault OpenCV cap.read() udp stream Python My OpenCV is built with GStreamer enabled. I added the cv2.CAP_GSTREAMER as suggested, but it's still throwing the same error. What do you think might be wrong with the URL? It works in gstreamer, so I would think that it would work here too. I did test "udpsrc uri=udp://0.0.0.0:5600" but it still has the same error. |
2016-09-15 10:47:01 -0600 | commented question | Segmentation fault OpenCV cap.read() udp stream Python Thanks but that didn't fix it, still the same error. I updated the code to reflect the changes. |
2016-09-15 10:46:25 -0600 | received badge | ● Editor (source) |
2016-09-15 10:35:59 -0600 | asked a question | Segmentation fault OpenCV cap.read() udp stream Python I'm new to using OpenCV, and I'm trying to write a program to access a video stream on a UDP port. However, the code keeps giving a segmentation fault when I run it. The program is just intended to display each frame as it is read in by OpenCV, and it works on files on my computer. If you could point out what I'm doing wrong, I would appreciate it. The output is: loop ret, frame gray imshow loop Segmentation fault (core dumped) Running: in the terminal works just fine, so I'm not sure what to look at next. Thanks for your help. |