You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.
root@firefly:~# cd /usr/local/bin/
root@firefly:/usr/local/bin# ./test_opencv_rkisp.sh
Start RKISP Camera Preview!
media get entity by name: lens is null
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
XCAM ERROR rkiq_handler.cpp:1199: ISP control device is null
[ 42.676722] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.710039] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.743363] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.776730] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.810006] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.843330] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.876752] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.910016] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.943338] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.976639] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.009965] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.043288] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.076612] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.109940] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.143260] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.176585] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.209911] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.243260] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.276581] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.309903] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.343230] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.376533] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.409879] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.443199] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.476525] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.509852] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.543271] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.576494] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.609823] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.643143] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.676468] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.709795] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.743115] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.776438] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.809766] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.843086] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.876412] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.909738] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.943058] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.976382] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.009710] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.043032] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.076337] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.109649] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.142983] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.176307] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.209633] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.242957] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.276280] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.309602] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.342928] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.376270] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.376756] rkisp1: Too many isp error, stop isp!
^C
Session terminated, terminating shell...
(python3:1103): GStreamer-CRITICAL **: 23:59:01.329:
Trying to dispose element capsfilter0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:1103): GStreamer-CRITICAL **: 23:59:01.332:
Trying to dispose element pipeline0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
root@firefly:~# cd /usr/local/bin/
root@firefly:/usr/local/bin# ./test_opencv_rkisp.sh
Start RKISP Camera Preview!
media get entity by name: lens is null
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR v4l2_device.cpp:253: VIDIOC_QUERYCAP returned: -1 (Inappropriate ioctl for device)
XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
XCAM ERROR rkiq_handler.cpp:1199: ISP control device is null
[ 42.676722] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.710039] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.743363] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.776730] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.810006] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.843330] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.876752] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.910016] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.943338] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 42.976639] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.009965] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.043288] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.076612] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.109940] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.143260] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.176585] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.209911] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.243260] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.276581] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.309903] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.343230] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.376533] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.409879] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.443199] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.476525] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.509852] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.543271] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.576494] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.609823] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.643143] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.676468] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.709795] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.743115] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.776438] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.809766] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.843086] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.876412] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.909738] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.943058] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 43.976382] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.009710] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.043032] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.076337] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.109649] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.142983] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.176307] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.209633] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.242957] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.276280] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.309602] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.342928] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.376270] rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)
[ 44.376756] rkisp1: Too many isp error, stop isp!
^C
Session terminated, terminating shell...
(python3:1103): GStreamer-CRITICAL **: 23:59:01.329:
Trying to dispose element capsfilter0, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:1103): GStreamer-CRITICAL **: 23:59:01.332:
Trying to dispose element pipeline0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:1103): GStreamer-CRITICAL **: 23:59:01.334: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
Traceback (most recent call last):
File "/usr/local/bin/camera.py", line 4, in
cap = cv2.VideoCapture("rkisp device=/dev/video0 io-mode=1 analyzer=1 enable-3a=1 path-iqf=/etc/cam_iq.xml ! video/x-raw,format=NV12,width=640,height=480, framerate=30/1 ! videoconvert ! appsink", cv2
.CAP_GSTREAMER)
KeyboardInterrupt
...terminated.
The text was updated successfully, but these errors were encountered: