这个问题以前有人问过,但解决办法并没有解决我的问题。
当我将Pi摄像机连接到我的Raspberry并使用命令:raspistill -o image.jpg。
这就产生了一个错误:
mmal:没有从传感器接收数据。检查所有连接,包括相机板上的Sunny连接。
所有的联系都很好。我试着用两个不同的Raspberry Pis上的Pi相机,但它仍然给出相同的错误。当我使用raspistill命令时,相机的红灯就会亮起来,我还通过sudo raspi-config在Pi上启用了相机。
请帮帮忙。
发布于 2016-08-14 14:50:06
我也有过这个问题。我不知道静电是否损坏了这个装置,或者它是否发生在船运中。我已经看到了我购买的5MP版本的几种行为。首先是把它放错了港口。取决于您的模型,您可能只是在错误的端口。有些人声称,把另一个端口放进另一个端口可能会烧坏摄像机。我不能证实或否认这种情况的发生。
我同样会运行这个命令,并得到类似于:mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't be enabled mmal: main: Failed to create camera component mmal: Failed to run camera app. Please check for firmware updates或您收到的消息的消息。
我试图逃跑:
我甚至调整了模块和黑名单,看看是怎么回事。
pi@raspberrypi:~ $ raspistill -v -o image.jpg
raspistill Camera App v1.3.8
Width 2592, Height 1944, quality 85, filename image.jpg
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled no
Full resolution preview No
Capture method : Single capture
Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Opening output file image.jpg
Enabling encoder output port
Starting capture 0
mmal: No data received from sensor. Check all connections, including the Sunny one on the camera boardsudo raspi-config将允许您确保启用相机,或使用菜单、首选项来查看是否已启用。除此之外,红灯似乎没有任何意义,它可能需要更换。我刚点了一个8MP的,看看它是否有效。
我还检查了以下命令:
pi@raspberrypi:~ $ vcgencmd get_camera
supported=1 detected=1更新
我把我的8MP摄像头放进去了,它成功了。我开始觉得我的5MP相机出了点问题。很少有关于我自己的行为的笔记。-如果执行sudo mod probe bcm2835-v412,它似乎会将摄像机挂载到/dev/video0 0。此时,如果不获得我所得到的ENOSPC错误,就不能再使用raspistill/vid了。我加了一个动作,这样我就可以从网络上流出来了。
我现在已经有了几个项目,但在实现过程中没有发现太多joy,但至少raspistill命令起作用了,而且我确实让运动工作,但是我不想要mjpeg,仍然需要解决是否h264是一种选择。
https://stackoverflow.com/questions/33757846
复制相似问题