![](/img/trans.png)
[英]Read RTSP Stream from UDP sink using Python OpenCV and GStreamer
[英]Distorted frame when using rtsp stream from IP with opencv camera in python
信誉来自: RTSP流和OpenCV(Python)
您可能需要将opencv_ffmpeg.dll放入工作目录中。 然后像这样编辑代码:
video_capture = cv.VideoCapture("rtsp://ip_address/onvif1/out.h264")
while(1):
ret, frame = video_capture.read()
cv.imshow('VIDEO', frame)
cv.waitKey(1)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.