Closed learnermaxRL closed 5 years ago
@learnermaxRL You need to use some kind of RTSP client for this. The potocol described in RFC2326 and its generic impl is hard. Also RTSP negotiation requeres a lot of overhead data processing, so it suits only for continuos video & audio recieving because of big "click-to-live" delay (for negotiation processes)
The best way is to use ready-for-use RTSP lib. Also can be useful for some tasks cli-based video players like ffplay, vlc or others. Anyway, you could implement you own version of simple (TCP-only or UDP-only) client using Twisted framework.
But if you need to recieve only one video frame, i recommend to use JPEG snapshot feautures (Hikvision ISAPI provides this feauture)
@learnermaxRL Please close issue if your problem is resolved
Havent tested out the feature,I used cv2.Videocapture, and kepp creatinng new connections everytime error occurs,working for me at the moment,I really appreciate your comment and would get back to you in case i need help
@krom9ra Could you help him? I think you know answer :-)