|
在RK3399pro 上面编译安装opencv3.4.7和FFmpeg4.1,在调用VideoCapture函数打开本地视频文件时,一直报错,报错信息如下:
- librga:RGA_GET_VERSION:3.02,3.020000
- ctx=0x5574a74e90,ctx->rgaFd=3
- Rga built version:version:+2017-09-28 10:12:42
- This system has 6 processor(s).
- Bind NPU process(1) to CPU 5
- Bind VideoCapture process to CPU 2
- Bind NPU process(0) to CPU 4
- Bind Display process to CPU 3
- [mpeg4_v4l2m2m @ 0x7f90002750] Could not find a valid device
- [mpeg4_v4l2m2m @ 0x7f90002750] can't configure decoder
- [ WARN:0] OpenCV | GStreamer warning: GStreamer: pipeline have not been created
- [ERROR:0] VIDEOIO(createGStreamerCapture(filename)): raised OpenCV exception:
- OpenCV(3.4.7) /home/firefly/Downloads/opencv-3.4.7/modules/videoio/src/cap_gstreamer.cpp:160: error: (-215:Assertion failed) ptr in function 'get'
- VIDIOC_REQBUFS: Inappropriate ioctl for device
- Fail to open test1_405.mp4
- D RKNNAPI: ==============================================
- D RKNNAPI: RKNN VERSION:
- D RKNNAPI: API: 1.4.0 (bbe0dfc build: 2020-09-14 14:06:05)
- D RKNNAPI: DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
- D RKNNAPI: ==============================================
- D RKNNAPI: ==============================================
- D RKNNAPI: RKNN VERSION:
- D RKNNAPI: API: 1.4.0 (bbe0dfc build: 2020-09-14 14:06:05)
- D RKNNAPI: DRV: 1.6.0 (159d2d3 build: 2021-01-12 15:23:09)
- D RKNNAPI: ==============================================
- The initialization of NPU Process 0 has been completed.
- The initialization of NPU Process 1 has been completed.
请问各位也遇到这样的问题了吗?
|
|