I have been trying to get my AGX Orin to capture a webcam stream and then turn it around and sent it out as a RTSP stream. But I keep getting and error that the cv2.VideoWriter is not open. No matter what kind of configuration I use the Videowriter will not open.
I have compiled Open CV with Gstreamer on.
I know that the cv2.Videowriter works because I can write to a file.
It says its gstreamer is OFF
What’s odd is When I ran that command
after compiling OpenCV with Gstreamer=ON it said gstreamer was ON .
But now its off.
I am going to try removing OPencv and reinstall.
Got any suggestions for the best route to install OpenCV on AGX Orin?
There are many scripts that would be ok I think, such as
although you may have to remove v4l2ucp at line 40 of install_opencv4.6.0_Jetson.sh if running JP5.
Be aware that, AFAIK, the opencv install step would only install python2 OR python3. So be sure about the one you want to install opencv in, and configure your opencv build accordingly. (the link above configures for python3)
In python, pip may also install dependencies that might result in other opencv versions to be installed.