小黑屋|Klipper玩客 ( 桂ICP备13004039号-7 )

GMT+8, 2024-9-8 10:43

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

【求助】KIAUH安装crowsnest后Fluidd前端界面摄像头模块为什么会被折叠

367
17
0
1
yokie LV2
正文
发布时间:2024-06-19
上位机:EAIDK310
主板:MKS GEN_L V1.0

上位机按照流程刷入armbian——换源——update——upgrade——git——kiauh后
开始正常安装klipper、moonraker、fluidd、crowsnest
之后浏览器访问上位机IP,进入设置添加摄像头后,摄像头模块如图所示被折叠
之前的树莓派4b也是同样情况


1.png


回复

 

全部评论 共 17 个

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 16:14 显示全部楼层

这个问题排查起来很难呢。这摄像头驱动安装好了吗?本身是免驱吗?

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 17:12 显示全部楼层

假设你安装没问题的话,可能是crowsnest更新引起的。

你试试这一步:

相机设置,  camera url:

  1. /webcam?action=stream
复制代码


yokie LV2

yokie 发表于 2024-6-19 20:12 显示全部楼层

铜牌杰瑞 发表于 2024-6-19 17:12
假设你安装没问题的话,可能是crowsnest更新引起的。

你试试这一步:

USB免驱摄像头,相机设置如图
1.png


铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 20:31 显示全部楼层

你试试8080端口能不能看到正常的摄像头画面。如果正常就应该只是设置问题。如果看不到摄像头画面,看看crowsnest的log,有没有错误。

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 20:37 显示全部楼层

另外养成习惯不要用国内源。

yokie LV2

yokie 发表于 2024-6-19 20:57 显示全部楼层

因为用的310,刷的马文的镜像文件,在他做的刷机教程里面提到了关于crowsnest安装的一些事项,会不会是这个原因导致的?
2.png


但奇怪的是按照教程更改后问题依旧存在,访问修改的那个地址后发现项目名称已经改变,按照格式再次修改依然无效
询问了下neko说是makefile文件已经不使用了
3.png



但我在实际安装过程中好像并没有遇到相关的报错,反倒是有一个关于验证上位机是否是树莓派后,自行跳过安装的一个串流组件
4.png

5.png


总的来说还是不知道啥原因导致的折叠

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 21:10 显示全部楼层

你看看crowsnest提示错误在哪里。
要是不想折腾,就换官方源重新安装crowsnest.

yokie LV2

yokie 发表于 2024-6-19 21:12 显示全部楼层

铜牌杰瑞 发表于 2024-6-19 20:37
另外养成习惯不要用国内源。

还真就不是国内源
1.png


yokie LV2

yokie 发表于 2024-6-19 21:14 显示全部楼层

铜牌杰瑞 发表于 2024-6-19 21:10
你看看crowsnest提示错误在哪里。
要是不想折腾,就换官方源重新安装crowsnest. ...

现在就是没看到啥错误的提示(?)kiauh装crowsnest的时候是显示安装成功的,叫重启我也重启了

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 21:15 显示全部楼层

yokie 发表于 2024-6-19 21:14
现在就是没看到啥错误的提示(?)kiauh装crowsnest的时候是显示安装成功的,叫重启我也重启了
...

看crowsnest的日志,里面看看有没有错误,没有错误的话,可能是设备号错了。

yokie LV2

yokie 发表于 2024-6-19 21:19 显示全部楼层

铜牌杰瑞 发表于 2024-6-19 21:15
看crowsnest的日志,里面看看有没有错误,没有错误的话,可能是设备号错了。
...

在哪看(

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-19 21:23 显示全部楼层

本帖最后由 铜牌杰瑞 于 2024-6-19 21:29 编辑

配置文件列表的右边是有log列表的吧?找找crowsnest.log


我的机子没用crowsnest,没法截图给你。



对了,正确的设备号在crowsnest.log里面应该会有。

yokie LV2

yokie 发表于 2024-6-20 12:51 显示全部楼层

铜牌杰瑞 发表于 2024-6-19 21:23
配置文件列表的右边是有log列表的吧?找找crowsnest.log

奇怪的是,这里也并没有crowsnest的log,或许压根就没运行起来过

1.png


铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-20 14:58 显示全部楼层

yokie 发表于 2024-6-20 12:51
奇怪的是,这里也并没有crowsnest的log,或许压根就没运行起来过

你这不仅没用crowsnest.log,连crowsnest.conf都没有。

yokie LV2

yokie 发表于 2024-6-20 14:58 显示全部楼层

铜牌杰瑞 发表于 2024-6-20 14:58
你这不仅没用crowsnest.log,连crowsnest.conf都没有。

所以现在该咋弄 ORZ

yokie LV2

yokie 发表于 2024-6-20 14:59 显示全部楼层

铜牌杰瑞 发表于 2024-6-20 14:58
你这不仅没用crowsnest.log,连crowsnest.conf都没有。

是因为缺少了crowsnest.conf吗

铜牌杰瑞 LV8

铜牌杰瑞 发表于 2024-6-20 15:18 显示全部楼层

yokie 发表于 2024-6-20 14:59
是因为缺少了crowsnest.conf吗

log都没有,说明就没装上嘛。。。



你试试conf


  1. #### crowsnest.conf
  2. #### This is a typical default config.
  3. #### Also used as default in mainsail / MainsailOS
  4. #### See:
  5. #### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
  6. #### for details to configure to your needs.


  7. #####################################################################
  8. ####                                                            #####
  9. ####      Information about ports and according URL's           #####
  10. ####                                                            #####
  11. #####################################################################
  12. ####                                                            #####
  13. ####    Port 8080 equals /webcam/?action=[stream/snapshot]      #####
  14. ####    Port 8081 equals /webcam2/?action=[stream/snapshot]     #####
  15. ####    Port 8082 equals /webcam3/?action=[stream/snapshot]     #####
  16. ####    Port 8083 equals /webcam4/?action=[stream/snapshot]     #####
  17. ####                                                            #####
  18. ####    Note: These ports are default for most Mainsail         #####
  19. ####    installations. To use any other port would involve      #####
  20. ####    changing the proxy configuration or using directly      #####
  21. ####    http://<ip>:<port>/?action=[stream/snapshot]            #####
  22. ####                                                            #####
  23. #####################################################################
  24. ####    RTSP Stream URL: ( if enabled and supported )           #####
  25. ####    rtsp://<ip>:<rtsp_port>/stream.h264                     #####
  26. #####################################################################


  27. [crowsnest]
  28. log_path: %LOGPATH%
  29. log_level: verbose                      # Valid Options are quiet/verbose/debug
  30. delete_log: false                       # Deletes log on every restart, if set to true
  31. no_proxy: false

  32. [cam 1]
  33. mode: ustreamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
  34.                                         # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
  35. enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
  36. rtsp_port: 8554                         # Set different ports for each device!
  37. port: 8080                              # HTTP/MJPG Stream/Snapshot Port
  38. device: /dev/video0                     # See Log for available ...
  39. resolution: 640x480                     # widthxheight format
  40. max_fps: 15                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
  41. #custom_flags:                          # You can run the Stream Services with custom flags.
  42. #v4l2ctl:                               # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
复制代码


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表