Open cook32 opened 5 years ago
I'm seeing the same behavior.
RPI 3 B+ motionEye Version | 0.42 Motion Version | 4.2.2 OS Version | Raspbian 10 SVPRO 1080p Full Hd USB Camera Module (https://www.amazon.com/gp/product/B07C2RL8PB)
I have two of those devices with the same specs (including same camera) and they both experience the same issue. As noted by cook32, resolutions above 800x600 become almost completely washed out. However, I have another RPI 3 B+ running MotionEyeOS with a stock camera module that doesn't experience this issue. Its specs:
RPI 3 B+ motionEye Version | 0.38 Motion Version | 4.1.1 OS Version | motionEyeOS 20180101
I had the same problem with pi camera. found this problem reported multiple time in different issues
. as i understand this is outside of motioneye / motion scope to fix it. here's work around for it
I restart motioneye every 20min, restart script considers if motion detection triggered recently, and waits
$ crontab -l
*/20 * * * * sudo /var/lib/motioneye/restart-motioneye.sh
$ cat /var/lib/motioneye/restart-motioneye.sh
#!/bin/bash
MD_FILE="/var/lib/motioneye/motion-detected"
LR_FILE="/var/lib/motioneye/last_restarted"
meye_restart () {
echo "restarting ..."
sudo systemctl restart motioneye.service
/usr/bin/date "+%Y-%m-%d %H:%M" >> $LR_FILE
/usr/bin/tail -50 $LR_FILE > $LR_FILE.tmp
mv $LR_FILE.tmp $LR_FILE
}
if [ ! -f "$MD_FILE" ]
then
meye_restart
exit
fi
for i in {1..4}
do
if test `find "$MD_FILE" -mmin +4`
then
meye_restart
exit
else
echo "> try $i"
echo "motion detection in progress, waiting ..."
sleep 120
fi
done
this script need to have a line like this
touch /var/lib/motioneye/motion-detected
or this could be the actual command
When I am using a resolution upper than 800x600, the picture become really bright and do not return to a normal brightness after seconds.
My config is :
RPI 3 OS Buster GPU 256 Motioneye 0.40 Motion 4.1.1 Camera Pi V2 V4L2 camera mmal service
Any idea ?
thanks and regards