Hi, I have a question, is it possible to make control for PTZ camera via common onvif protocol ? I realize that the question may not be about the codesys environment, I didn’t know where to write it.
Hello Tomas,
I tried to show RTSP stream from camera. You have to use ffmpeg library somehow (you can find nodejs, python versions). There are some docker containers like GitHub - bhaney/rtsp-simple-server: ready-to-use RTSP / RTMP / LL-HLS server and proxy that allows to read, publish and proxy video and audio streams.
aler9/rtsp-simple-server - Docker Image | Docker Hub
Now I would give a try to Node.js + ffmpeg + WebSocket. Few years ago I tried to do this, but I stuck with ffmpeg resource consumption problems, but I think it is possible!
Am I right to understand that there is no way to integrate with codesys?
Do I need Docker + NodeRed = getting an image?
you can’t just stream RTSP on the wizu, there is a chance that your camera has secondary mjpeg which is possible to show directly, but its not displayed smoothly, rather like changing photos
What about the video stream then?
It should be possible to control the PTZ camera with ONVIF using some HTTP library but the simplest way is probably using some python library and doing an interface between python and the codesys applicaiton.
Do you have some sort of similar example? Or do you know how to implement? I’d be happy to see any of the options.