coolpi 4b support ov5647 camera module
-
OV5647模块适用于Cool Pi 4b
Use buildroot system image for test camera ov5647.
离线刷机镜像
在线刷机镜像
-
Great job!
Which OS? (armbian or ubuntu?)
Does it work with v4l2 or gstreamer?
Any updates on PI HQ camera?
Thanks! -
@大法师 ubuntu 20.04 下如何挂载?安装上了但是加载不出来
-
-
@大法师 没有。dev 下无vido 。dmesg 运行无响应。
-
@bg8wj 需要更新内核驱动
-
@大法师 刷入提供的最新的ubuntu20.04 执行dmesg
10.083104] ov5647 8-0036: Unsupported clock frequency: 24000000
[ 10.089129] ov5647: probe of 8-0036 failed with error -22如何配置?
另最新的20.04 ros2 opencv miniconda 安装正常了 -
@bg8wj github已更新内核驱动代码。二进制执行文件明天测试好再上传
root@coolpi:/home/coolpi# ls -l /dev/video* crw-rw----+ 1 root video 81, 0 Jan 27 23:26 /dev/video0 crw-rw----+ 1 root video 81, 1 Jan 27 23:26 /dev/video1 crw-rw----+ 1 root video 81, 10 Jan 27 23:26 /dev/video10 crw-rw----+ 1 root video 81, 11 Jan 27 23:26 /dev/video11 crw-rw----+ 1 root video 81, 12 Jan 27 23:26 /dev/video12 crw-rw----+ 1 root video 81, 13 Jan 27 23:26 /dev/video13 crw-rw----+ 1 root video 81, 14 Jan 27 23:26 /dev/video14 crw-rw----+ 1 root video 81, 15 Jan 27 23:26 /dev/video15 crw-rw----+ 1 root video 81, 16 Jan 27 23:26 /dev/video16 crw-rw----+ 1 root video 81, 17 Jan 27 23:26 /dev/video17 crw-rw----+ 1 root video 81, 18 Jan 27 23:26 /dev/video18 crw-rw----+ 1 root video 81, 19 Jan 27 23:26 /dev/video19 crw-rw----+ 1 root video 81, 2 Jan 27 23:26 /dev/video2 crw-rw----+ 1 root video 81, 3 Jan 27 23:26 /dev/video3 crw-rw----+ 1 root video 81, 4 Jan 27 23:26 /dev/video4 crw-rw----+ 1 root video 81, 5 Jan 27 23:26 /dev/video5 crw-rw----+ 1 root video 81, 6 Jan 27 23:26 /dev/video6 crw-rw----+ 1 root video 81, 7 Jan 27 23:26 /dev/video7 crw-rw----+ 1 root video 81, 8 Jan 27 23:26 /dev/video8 crw-rw----+ 1 root video 81, 9 Jan 27 23:26 /dev/video9 lrwxrwxrwx 1 root root 7 Jan 27 23:26 /dev/video-camera0 -> video11 root@coolpi:/home/coolpi# root@coolpi:/home/coolpi# dmesg | grep ov564 [ 11.285152] ov5648 8-0036: driver version: 00.01.05 [ 11.285181] ov5648 8-0036: Failed to get power-gpios, maybe no use [ 11.285193] ov5648 8-0036: Failed to get reset-gpios, maybe no use [ 11.285205] ov5648 8-0036: Failed to get pwdn-gpios [ 11.285305] ov5648 8-0036: supply dovdd not found, using dummy regulator [ 11.285372] ov5648 8-0036: supply dvdd not found, using dummy regulator [ 11.285409] ov5648 8-0036: lane_num(2) pixel_rate(84000000) [ 11.285416] ov5648 8-0036: could not get default pinstate [ 11.290827] ov5648 8-0036: could not get sleep pinstate [ 11.299689] ov5648 8-0036: Detected OV005647 sensor [ 11.299707] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m01_f_ov5648 8-0036:bus type 5 root@coolpi:/home/coolpi#
-
@大法师 Hi, thanks for your effort!
A suggestion, why not doc your work as a tutorial?
So that everyone can help you debug the code. -
@大法师 非常感谢。麻烦您。如可以给个安装指导。我汇总成教程。coolpi 4b 非常强大,我再学习移植一些 raspbeery 4b的项目到coolpi上。
-
@bg8wj 谢谢!我们验证好了会同步发布出来。这款主板还有很多功能可以挖掘,需要更多的伙伴一起共赢!
-
暂时未重新打包刷机镜像,可以先独立更新内核驱动包。
coolpi@coolpi:~$ sudo dpkg -i coolpi-kernel_1.0.0_aarch64.deb coolpi@coolpi:~$ sync coolpi@coolpi:~$ sudo reboot
重启系统,如有连接ov5647摄像头,可以识别到video设备。
coolpi@coolpi:~$ sudo apt install v4l-utils coolpi@coolpi:~$ v4l2-ctl --list-devices rkisp-statistics (platform: rkisp): /dev/video18 /dev/video19 rkcif (platform:rkcif-mipi-lvds2): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6 /dev/video7 /dev/video8 /dev/video9 /dev/video10 rkisp_mainpath (platform:rkisp0-vir0): /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video17
-
@大法师 谢谢。
-
請問是否有機會支援 VEYE 系列的模組? 像是 IMX462 之類 (http://www.veye.cc/产品/veye-mipi-imx462-2/#tab-id-2)
畢竟 VEYE 也是國產之光,國內也比較容易買得到
-
Hi, I tried the new kernel with two OV5647 camera.
It looks the default configuration is not correct.
The command I usedsudo v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat='NV12' --stream-mmap=4 --set-selection=target=crop,flags=0,top=0,left=0,width=1920,height=1080 --stream-to=out1.yuv ffplay out1.yuv -pixel_format nv12 -video_size 1920x1080
The system message
@Ubuntu:~$ dmesg | grep 'ov5' [ 7.644913] ov5648 8-0036: driver version: 00.01.05 [ 7.644958] ov5648 8-0036: Failed to get power-gpios, maybe no use [ 7.644976] ov5648 8-0036: Failed to get reset-gpios, maybe no use [ 7.644994] ov5648 8-0036: Failed to get pwdn-gpios [ 7.645126] ov5648 8-0036: supply dovdd not found, using dummy regulator [ 7.645216] ov5648 8-0036: supply dvdd not found, using dummy regulator [ 7.645268] ov5648 8-0036: lane_num(2) pixel_rate(84000000) [ 7.645277] ov5648 8-0036: could not get default pinstate [ 7.650710] ov5648 8-0036: could not get sleep pinstate [ 7.660168] ov5648 8-0036: Detected OV005647 sensor [ 7.660205] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m01_f_ov5648 8-0036:bus type 5 [ 123.522013] ov5648 8-0036: ov5648_s_stream(997) enter! [ 123.522018] ov5648 8-0036: stream on!!! [ 123.574530] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9a0901, val:0x1 [ 123.577105] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9f0905, val:0x400 [ 141.109425] ov5648 8-0036: ov5648_s_stream(997) enter! [ 141.109431] ov5648 8-0036: stream off!!! [ 352.460709] ov5648 8-0036: ov5648_s_stream(997) enter! [ 352.460714] ov5648 8-0036: stream on!!! [ 352.506940] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9a0901, val:0x1 [ 352.508804] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9f0905, val:0x400 [ 359.915797] ov5648 8-0036: ov5648_s_stream(997) enter! [ 359.915807] ov5648 8-0036: stream off!!! [ 522.868438] ov5648 8-0036: ov5648_s_stream(997) enter! [ 522.868438] ov5648 8-0036: stream on!!! [ 522.907120] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9a0901, val:0x1 [ 522.908828] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9f0905, val:0x400 [ 527.994503] ov5648 8-0036: ov5648_s_stream(997) enter! [ 527.994509] ov5648 8-0036: stream off!!! [ 567.407434] ov5648 8-0036: ov5648_s_stream(997) enter! [ 567.407435] ov5648 8-0036: stream on!!! [ 567.448267] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9a0901, val:0x1 [ 567.450267] ov5648 8-0036: ov5648_set_ctrl Unhandled id:0x9f0905, val:0x400 [ 572.471164] ov5648 8-0036: ov5648_s_stream(997) enter! [ 572.471167] ov5648 8-0036: stream off!!!
@Ubuntu:~$ sudo v4l2-ctl --list-devices rkisp-statistics (platform: rkisp): /dev/video18 /dev/video19 rkcif-mipi-lvds2 (platform:rkcif): /dev/media0 rkcif (platform:rkcif-mipi-lvds2): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4 /dev/video5 /dev/video6 /dev/video7 /dev/video8 /dev/video9 /dev/video10 rkisp_mainpath (platform:rkisp0-vir0): /dev/video11 /dev/video12 /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video17 /dev/media1
Ubuntu:~$ sudo media-ctl -p -d /dev/media0 Media controller API version 5.10.110 Media device information ------------------------ driver rkcif model rkcif-mipi-lvds2 serial bus info hw revision 0x0 driver version 5.10.110 Device topology - entity 1: stream_cif_mipi_id0 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "rockchip-mipi-csi2":1 [ENABLED] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 5: stream_cif_mipi_id1 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video1 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [ENABLED] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 9: stream_cif_mipi_id2 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video2 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [ENABLED] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 13: stream_cif_mipi_id3 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video3 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [ENABLED] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 17: rkcif_scale_ch0 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video4 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [ENABLED] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 21: rkcif_scale_ch1 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video5 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [ENABLED] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 25: rkcif_scale_ch2 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video6 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [ENABLED] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 29: rkcif_scale_ch3 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video7 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [ENABLED] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 33: rkcif_tools_id0 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video8 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [ENABLED] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [] - entity 37: rkcif_tools_id1 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video9 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [ENABLED] <- "rockchip-mipi-csi2":11 [] - entity 41: rkcif_tools_id2 (1 pad, 11 links) type Node subtype V4L flags 0 device node name /dev/video10 pad0: Sink <- "rockchip-mipi-csi2":1 [] <- "rockchip-mipi-csi2":2 [] <- "rockchip-mipi-csi2":3 [] <- "rockchip-mipi-csi2":4 [] <- "rockchip-mipi-csi2":5 [] <- "rockchip-mipi-csi2":6 [] <- "rockchip-mipi-csi2":7 [] <- "rockchip-mipi-csi2":8 [] <- "rockchip-mipi-csi2":9 [] <- "rockchip-mipi-csi2":10 [] <- "rockchip-mipi-csi2":11 [ENABLED] - entity 45: rockchip-mipi-csi2 (12 pads, 122 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev0 pad0: Sink [fmt:SBGGR10_1X10/2592x1944 field:none crop.bounds:(0,0)/2592x1944 crop:(0,0)/2592x1944] <- "rockchip-csi2-dphy0":1 [ENABLED] pad1: Source -> "stream_cif_mipi_id0":0 [ENABLED] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad2: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [ENABLED] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad3: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [ENABLED] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad4: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [ENABLED] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad5: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [ENABLED] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad6: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [ENABLED] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad7: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [ENABLED] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad8: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [ENABLED] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad9: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [ENABLED] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [] pad10: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [ENABLED] -> "rkcif_tools_id2":0 [] pad11: Source -> "stream_cif_mipi_id0":0 [] -> "stream_cif_mipi_id1":0 [] -> "stream_cif_mipi_id2":0 [] -> "stream_cif_mipi_id3":0 [] -> "rkcif_scale_ch0":0 [] -> "rkcif_scale_ch1":0 [] -> "rkcif_scale_ch2":0 [] -> "rkcif_scale_ch3":0 [] -> "rkcif_tools_id0":0 [] -> "rkcif_tools_id1":0 [] -> "rkcif_tools_id2":0 [ENABLED] - entity 58: rockchip-csi2-dphy0 (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 pad0: Sink [fmt:SBGGR10_1X10/2592x1944@10000/150000 field:none] <- "m01_f_ov5648 8-0036":0 [ENABLED] pad1: Source -> "rockchip-mipi-csi2":0 [ENABLED] - entity 63: m01_f_ov5648 8-0036 (1 pad, 1 link) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev2 pad0: Source [fmt:SBGGR10_1X10/2592x1944@10000/150000 field:none] -> "rockchip-csi2-dphy0":0 [ENABLED]
-
@nickliu
ubuntu or armbian version need verify and then release. -
@大法师 The latest ubuntu22.04 image can already support this camera.
-
20230210-ubuntu-22.04-preinstalled-desktop-arm64-coolpi.rar
-
V4L2-TEST can start the camera by operating the video11 node
-
-
-
摄像头亮度特别暗,202307041916-ubuntu-22.04-server-arm64-cp4b.zip
-
@wangyx server版本应该没有安装camera isp服务。你试下桌面是不是好的
sudo apt install -y camera-engine-rkaiq gstreamer1.0-rockchip gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
-
@大法师 有效,多谢
-
如果遇到这个问题的话:
coolpi@car-c:~$ gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=25/1 ! videoflip method=vertical-flip ! mpph264enc ! rtspclientsink latency=0 location=rtsp://192.168.0.100:554/test Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video11' for reading and writing. Additional debug info: v4l2_calls.c(621): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: system error: Permission denied Setting pipeline to NULL ... Freeing pipeline ...
执行命令前加上sudo,给上权限,摄像头就能用了
-
@gongxing 可以试下把你的用户加入到video组
-
这是我接的CSI的摄像头
用V4L2-TEST无法打开 选的/dev/video11
需要怎么样才能打开 内核是我自己编译的
-
这是用V4L2-TEST打开时demsg打印的