在IP摄像机中使用RTSP URL流式传输时遇到一系列错误

问题描述

我正在使用opencv-python通过RTSP获取IP摄像机的实时流。获取一系列错误包括视频解码错误。有没有一种方法可以消除这些错误并在将实时流转换为图像而没有任何错误的情况下提供一些启发

error while decoding MB <some digit>,bytestream -<some no.>
A non-intra slice in an IDR NAL unit. decode_slice_header error. no frame
reference picture missing during reorder. Missing reference picture,default is 65634
non-existing PPS 1 referenced. Invalid NAL unit 1,skipping.
[rtsp @ 0x41e10e0] Undefined type (30)
SEI type 157 size 1464 truncated at 307

注意:我使用Hikvision 2cd123p-i3模型,并将此URL用于流rtsp://username:pwd@ip_address:554/Streaming/Channels/101/

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)