2020-12-18 15:25:23 -0600 | received badge | ● Famous Question (source) |
2019-05-12 13:25:54 -0600 | received badge | ● Notable Question (source) |
2018-07-28 06:19:01 -0600 | received badge | ● Popular Question (source) |
2017-07-26 02:55:32 -0600 | received badge | ● Enthusiast |
2017-03-29 07:29:36 -0600 | commented question | network stream udp @LBerger it was answered in the github opencv issues. Opencv forces a tcp connection. So i changed the server to an http stream. Thanks for the help |
2017-03-29 01:36:04 -0600 | commented question | network stream udp @LBerger i ve tried this solution, but it has the same behavior with the "udp://192.168.55.151:8554/" link. Is it possible that the problem is from the server? |
2017-03-27 09:41:04 -0600 | commented question | network stream udp @LBerger but i get the same exact error from the ffmpeg when i try to connect with tcp. If i change to udp in the ffmpeg command, the decoding is successful. So i guess that i need to tell opencv to use ffmpeg with udp instead of tcp, right? |
2017-03-27 04:49:05 -0600 | asked a question | network stream udp I want to process and display a network rtsp stream that is created from a raspberry camera. I have this code: When the stream is not live, the execution of this results in: Which means that the stream tries to connect with tcp. When the stream is live, the execution results in: From internet research i found that the problem may be that the stream uses udp. If i change the URL to: Then the execution freezes in the Edit 1: VLC is able to open the stream. Edit 2: As i am given to understand, ffmpeg is used to decode the stream. When i run: the stream decoding and saving is successful. So how can i specify the lower level protocol to be udp? Edit 3: If i use the ffmpeg command with tcp instead of udp, i get the same error with the c++ code, 461 client error |
2017-03-20 07:42:22 -0600 | marked best answer | Saving and retrieving Mat data I want to save Mat data to a float array, process them, and then save them back to Mat. I don't want to use .at function, cause processing code is already written and uses some temp arrays. I have this piece of code: The imshow of the resulting image in the imshow(b) has nothing to do with original, its this one: Furthermore, the init_data_image_32 has some lines of output from the if clause: What am i doing wrong? |