I'm trying to stream a video from my PC to another I started with a basic example, this one https://stackoverflow.com/a/51543002/9492711 I configured the udpsink host properly to map to my pc, but I'm getting this message constantly
VideoCapture or VideoWriter not opened
VideoCapture not opened
I have MacOS and I installed openCV 4.1.0 and gstreamer 1.16.0 with Python3.
Opencv 4.1.0 and gstreamer1.16.0 are installed using brew, and also I installed the the package file (1.16.0 runtime instller) from this link https://gstreamer.freedesktop.org/download/
The problem is that gstreamer is not properly built with opencv and I'm new to this dev. env and I need some guidance.
Here is what I'm getting when I run print(cv2.getBuildInformation())
Gstreamer support in OpenCV
I tried to uninstall opencv and gstreamer and reinstalling them, but this did not work at all and still getting the same result
Gstreamer: NO
I also have the following configs. and info:
Platform:
Timestamp: 2019-04-11T22:18:08Z
Host: Darwin 16.7.0 x86_64
CMake: 3.9.4
CMake generator: Unix Makefiles
CMake build tool: /usr/bin/make
Configuration: Release
I'm using Mac OS Mojave version 10.14.4 and trying to run the code using VSCode. Any guidance or help how to make OpenCV recognize Gstreamer?