raspicam icon indicating copy to clipboard operation
raspicam copied to clipboard

ENOSPC fails on stream example

Open wlwatkins opened this issue 5 years ago • 0 comments

Hi, I installed your library without a problem and using your first example to get a still everything works, however when i try the stream example i get

pi@amos:~/dev $ go run main.go
2020/06/12 20:21:06 Listening on 0.0.0.0:6666
2020/06/12 20:21:11 Accepted connection from: 192.168.2.27:62173
2020/06/12 20:21:11 Capturing image...
2020/06/12 20:21:16 Done
2020/06/12 20:21:17 Accepted connection from: 192.168.2.27:62174
2020/06/12 20:21:17 Capturing image...
readfrom tcp 192.168.2.51:8081->192.168.2.27:62174: write tcp 192.168.2.51:8081->192.168.2.27:62174: write: broken pipe
2020/06/12 20:21:30 Accepted connection from: 192.168.2.27:62184
2020/06/12 20:21:30 Capturing image...
raspistill: mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
raspistill: mmal: camera component couldn't be enabled
raspistill: mmal: main: Failed to create camera component
raspistill: mmal: Failed to run camera app. Please check for firmware updates

any clues? rpi-update is not an option as it crsahes other parts of my programs (mainly the connection to my arduino due)

wlwatkins avatar Jun 12 '20 19:06 wlwatkins