Photo capture fails.
Posted: Thu Jun 03, 2021 10:18 pm
Dear forum members,
I have the following issue: I can make videos via pressing the record button on the WebUI or even by pressing the preconfigured GPIO button on a display HAT (strangely this only works while also the WebUI is displayed). However I cannot make photo snapshots. If I click on the WebUI's make photo button, I get a failed text on the bottom left. If I click this text (it's a link actually), a new tab opens in the browser with [IP address of Pi]/dl.php?file=failed and there the only text is: Wrong file. If I press the GPIO button preconfigured for taking photos, nothing happens. I can make photos via SSH by starting e.g. sudo raspistill -o photo-210603.jpg while I'm in /mnt/DCIM. Now I use SLP 2 image, v 0.8.19 and I cannot find the file /var/www/html/make_photo.php (that existed under SLP 0.2.3), so I cannot check what is trying to be run when I press the photo button on the WebUI. Maybe it tries to save to a different folder than /mnt/DCIM ? How can I check this ? On the admin panel MicroSDcard is set, so I believe photos should be stored in this folder. The video files are there at least, but no photos.
Could someone please help?
Further details: StereoPI 1 board with 2 Pi v2 camera modules, CM 3+ Lite and microSD card, Waveshare 1.3" TFT HAT with 4 buttons
I have the following issue: I can make videos via pressing the record button on the WebUI or even by pressing the preconfigured GPIO button on a display HAT (strangely this only works while also the WebUI is displayed). However I cannot make photo snapshots. If I click on the WebUI's make photo button, I get a failed text on the bottom left. If I click this text (it's a link actually), a new tab opens in the browser with [IP address of Pi]/dl.php?file=failed and there the only text is: Wrong file. If I press the GPIO button preconfigured for taking photos, nothing happens. I can make photos via SSH by starting e.g. sudo raspistill -o photo-210603.jpg while I'm in /mnt/DCIM. Now I use SLP 2 image, v 0.8.19 and I cannot find the file /var/www/html/make_photo.php (that existed under SLP 0.2.3), so I cannot check what is trying to be run when I press the photo button on the WebUI. Maybe it tries to save to a different folder than /mnt/DCIM ? How can I check this ? On the admin panel MicroSDcard is set, so I believe photos should be stored in this folder. The video files are there at least, but no photos.
Could someone please help?
Further details: StereoPI 1 board with 2 Pi v2 camera modules, CM 3+ Lite and microSD card, Waveshare 1.3" TFT HAT with 4 buttons