SkillAgentSearch skills...

RtspHardDecoding

rockchip_rtsp可以获取rtsp视频流并调用硬件VPU自动解码

Install / Use

/learn @RenLuXi/RtspHardDecoding
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Created by lucy on 2020/11/02

Rtsp库c++API封装

封装成python可直接导入的动态链接库;
rockchip_rtsp可以获取rtsp视频流并调用硬件VPU自动解码;
rtsp更多资料 http://t.rock-chips.com/forum.php?mod=viewthread&tid=749&highlight=rtsp

操作流程

编译 make

运行示例`python3 rtsp.py`

make clean

问题&解决

1.报错 mpp_log: decode_get_frame failed, return -8.

解决:先验证摄像头是否能拉去到视频流,如果在你的PC上可以,但是代码依然报错,
那么在板子上用cv2.VideoCapture尝试能否拉到视频流,如果报错method DESCRIBE failed: 401 Unauthorized
就重启摄像头即可
View on GitHub
GitHub Stars11
CategoryDevelopment
Updated1y ago
Forks6

Languages

C++

Security Score

60/100

Audited on May 12, 2024

No findings