ONVIF support

asked 2017-04-05 13:25:11 -0600

cedricverst gravatar image

Hey there,

I can connect my OpenCV program with RTSP streams, except with the ones that ends with onvif1. E.g. rtsp://192.168.88.130:554/onvif1

Does anyone knows why this might not work as expected?

Cédric

edit retag flag offensive close merge delete

Comments

I have some additional information.

The URL rtsp://192.168.88.130:554/onvif1 will open in VLC.

Opening the camera in an ONVIF utility (on my android phone), I receive the following:

Network Video Transmitter (NVT) name: IPC_778939
NVT type: ONVIF
Model: IPC
Address/URL: 192.168.88.130:5000
Media Profile: MainStream
Resolution: 1280x720
Encoding: H264
H.264: Baseline Profile Level: 3.1
Transport protocol: RTP/RTSP/TCP
RTP packets received: 2634
RTP packets lost: 0
Frame rate (fps): 12.5
Audio: G.711 A-Law
ONVIF port: 5000
RTSP port: 554
Data Rate (Mbit/s): 2.698
1491413267411:1491413267411
JeremyB gravatar imageJeremyB ( 2017-04-05 13:56:11 -0600 )edit

The onvif protocol is simply not supported by OpenCV. So if you want that, you will have to programm the capture of the stream yourself using a designed package to do just that, then pass the data to OpenCV.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-04-07 04:53:39 -0600 )edit

Hey Steven, do you know how to write a program to capture the onvif stream? Or can you give me some hints where to begin? I'm just started to program (Python).

Wardje gravatar imageWardje ( 2018-01-09 13:20:47 -0600 )edit

@Wardje nope, you will have to figure that out on your own terms

StevenPuttemans gravatar imageStevenPuttemans ( 2018-01-10 02:21:55 -0600 )edit