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.
6493 Discussions

Access RTSP stream with OpenCV 4.1.0-openvino

Hassan__Naufil
Beginner
2,901 Views

Hi,

 

I'm using openvino toolkit for optimizing my net for Intel platform. 

I have to setup environment for OpenVino using 'setupvars.bat' file. After environment setup the opencv version is '4.1.0-openvino'.

When I try to access rtsp stream using command

[  cv2.VideoCapture('rtsp://username:password@1.1.1.10/cam/realmonitor?channel=1&subtype=0')  ]  , it gives me False flag and None frame is returned.

I can access this rtsp stream from opencv 3.4.5 with same RTSP URL.

 

Please help me solve it.

 

Thankyou

0 Kudos
3 Replies
chen__ives
Beginner
2,901 Views

Hi Nassan,

After OpenVINO installation, you also need to download the opencv_ffmpeg_64.dll to open streaming.

For example, go to "C:\Program Files (x86)\IntelSWTools\openvino\opencv", you can run the ffmpeg-download.ps1 in Windows PowerShell to download the opencv_ffmpeg_64.dll.

Hope this information is helpful:)

0 Kudos
Hassan__Naufil
Beginner
2,901 Views

Thanks a lot. It worked

0 Kudos
leow__chee_siang
Beginner
2,901 Views

Hi, i have the same problem with macOS, how to solve this in macOS?

0 Kudos
Reply