树莓派安装IMX385的驱动失败
-
我按照官网文件http://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi/zh
配置IMX385,在安装驱动时运行脚本
sudo ./install_driver.sh veyecam2m
安装驱动失败,报错内容:
install : cannot stat './driver_bin/4.19.75-v7l+/veyecam2m.ko': No such file or derectory
install : cannot stat './driver_bin/4.19.75-v7l+/veyecam2m.dtbo': No such file or derectory
我在解压缩的文件包内raspberrypi_v4l2/release/driver_bin路径下确实没有发现4.19.75-v7l+该文件夹,只有5.4 5.10 5.15的版本,怎么解决该问题,谢谢 -
@maynight
你的树莓派的版本太老太老了,建议你先更新一下pios的版本。
我们提供了驱动源码,也可以比较方便的编译,但是都是5.0以上的版本。估计你直接从源码编译会遇到问题。
建议还是先升级pios版本。
http://wiki.veye.cc/index.php/Build_drivers_from_source_for_rpi -
This post is deleted! -
@veye_xumm 谢谢回答,驱动已经安装好了
但是遇到新问题,麻烦解答下- 按照说明文档中 7.11 h.264编码并保存为mp4文件(VEYE-MIPI-X,CS-MIPI-IMX307 @1080p mode)下的代码运行后,可以得到10秒的 video.mp4文件,但是使用vlc打开视频文件后没有图像,一直是黑色,抓怕图片和视频预览都正常,为什么保存后的视频是黑的?
- 使用opencv获取图片,按照给的例程运行,报错
open VIDEO0(v4l2:/dev/video0):can not open camera by index
could not open video device
看到 /dev/目录下有video0,为什么打不开呢?
-
@maynight
换个播放器试一下,比如potplayer。我觉得录像文件本身应该是没问题的。
python这个我现在没有环境,回头搭建一个试试。你也可以先简单分析一下代码,这个代码挺简单的。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login