Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Capturing rtsp on MacOS

Schotanus__Hans
Beginner
631 Views

I have a python script, based on https://www.pyimagesearch.com/2019/04/08/openvino-opencv-and-movidius-ncs-on-the-raspberry-pi/, modified to run on my iMac instead of an Rpi (since I don't have one). I have OpenVINO 2019 installed on my iMac. The scipt works when using the iMac's built-in camera, and also on an mp4 file created by one of my surveillance cameras. 

However, I would like to run this on an rtsp live stream from said camera. But, when I change the cv2.VideoCapture to use the rtsp stream instead of the mp4, or device 0, I get this:

OpenCV: Couldn't read video stream from file "rtsp://user:pw@192.168.17.24/live/h264" (slightly modified ofc.)

I have an Ubuntu Docker image with OpenVino, run the exact same script, and it is able to read frames from the exact same stream. I have Xcode and command line utilities installed. FFMpeg should be available then, and is used for reading rtsp streams I guess. Is it not possible to read rtsp streams with OpenVINO on MacOS?

0 Kudos
1 Reply
Shubha_R_Intel
Employee
631 Views

Dear Schotanus, Hans,

OpenCV is outside of the purview of this forum, which focuses on Model Optimizer and Inference Engine.  Please see my answers to these forum posters who also asked an OpenCV question:

https://software.intel.com/en-us/forums/computer-vision/topic/807397

https://software.intel.com/en-us/forums/computer-vision/topic/806937

Thanks for using OpenVino !

Shubha

 

0 Kudos
Reply