roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
835 stars 110 forks source link

Snapshot taken at the beginning of each video recording. #444

Closed twosheds closed 2 months ago

twosheds commented 2 years ago

I have a 1080p Dome camera (BFUS) which I use to record a video when it detects motion. It has now started to take a snapshot at the beginingof each video that it records. I've checked all my settings and can't see any setting that might cause this. Is this a bug or is there a way of stopping this behaviour ?

Thanks for any advice that anyone might give.

roleoroleo commented 2 years ago

There is a new feature starting from 0.4.5 that creates thumbnails of all mp4 files. It doesn't take a snapshot, simply it extracts the 1st frame from the video. You probably mean this.

twosheds commented 2 years ago

Thanks for the info. Can this feature be switched off ?

roleoroleo commented 2 years ago

Officially it is not possible. But you could use startup.sh to change crond configuration:

killall crond
cat /var/spool/cron/crontabs/root | grep -v thumb.sh > /tmp/cron_root
mv /tmp/cron_root /var/spool/cron/crontabs/root
/usr/sbin/crond -c /var/spool/cron/crontabs/
github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.