RK3399 opencv rtsp流报错drm prime is not supported as input pixel format
程序员文章站
2022-05-26 19:00:57
...
RK3399板子获取rtsp流报错drm prime is not supported as input pixel format
不要使用ffmpeg,使用gstreamer
编译opencv之前,需要安装gstreamer依赖, cap.open时指定CAP_GSTREAMER
int opened = cap.open("rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1",CAP_GSTREAMER);