Closed vlachoudis closed 1 year ago
Thank you for your report. Would you be able to provide a few more details please:
On start it works ok for several hours and at a random moment it freezes the image, while the application still "runs" with no any error message.
When you say freezes the image, do you mean the application still takes captures, but the images are not updated? Or do captures completely stop? After approximately how many hours does this happen?
Are you able to run with the -v 2
command line argument and post us the output log when the application freezes?
The application seems to run (it shows on top, ps). I don't know if it takes images or not. However the file is not updated at all. Most of the time It takes around ~1h to happen. It happens everytime I run, however it is totally random.
I am going to add the option you recommended and send you the output once I see that the image is not updated any more.
@naushir running with the -v 2 and redirection to a file the camera didn't crash. I have the feeling that the problem is not coming from the libcamera-still but rather from the calling process from home assistant that was not consuming the output of libcamera. So maybe the buffer to filled up and the process stalled.
Maybe I should close the issue for the moment to investigate a bit further
Thanks for getting back. Sure, feel free to close this issue if you suspect something else is not consuming the data correctly. Please do reopen this or a new issue if you find that libcamera-apps is not doing the right thing!
Indeed after redirecting the output to null it runs happily for more about at day now
Describe the bug I am using the libcamera-still with time lapse through home assistant., which on a motion event it sends the last captured image. On start it works ok for several hours and at a random moment it freezes the image, while the application still "runs" with no any error message.
Command:
/usr/bin/libcamera-still --nopreview -o /home/bnv/.homeassistant/camera/rpi_camera.jpg -t 0 --width 800 --height 600 --timelapse 1000 -q 75 --rotation 0
on a RPI 3B+ with a camera V1.2 (ov5647)
I am recording the images on a ramdisk, to avoid writing on the SD card
Bug report Please use the
camera-bug-report
tool to create a bug report, and upload it here.Additional context Add any other context about the problem here.