RK3399 opencv rtsp流报错drm prime is not supported as input pixel format
RK3399板子获取rtsp流报错drm prime is not supported as input pixel format不要使用ffmpeg,需要使用gstreamer编译opencv之前,需要安装gstreamer, cap.open时指定CAP_GSTREAMERint opened = cap.open("rtsp://admin:xxxxx@192.168.3.108:554/cam/realmonitor?channel=1&subtype=1",CAP_GSTREAMER
原创
2021-01-27 16:08:30 ·
1073 阅读 ·
2 评论