Images Corrupted

63 views
Skip to first unread message

NicDBPhoto

unread,
Jan 14, 2021, 12:27:15 PM1/14/21
to motioneye
Hi All,
I've been using MotionEye for a few years now to keep check on our rabbits in our garden. It's worked beautifully - most of the time and we have captured all sorts of wildlife visiting our rabbits in their hutches including a fox! Luckily we have strong cages.
Recently I have had some corrupt images as per these illustrated.
Camera1_15-36-45.jpgAlso the notifications don't include images even if I set the time span to >5 and even up to 15.  It was working fine with all the same settings that I backed up. Now it won't work the same.
Any ideas what's going on?

TIA
Nic

Kevin Shumaker

unread,
Jan 14, 2021, 12:31:32 PM1/14/21
to NicDBPhoto, motioneye
It would be helpful to know what your setup is. Device (PC, SBC, whatever), OS, version of motion & motionEye, Camera type (http/RTSP, etc) etc.

--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/73dfb1c9-89a9-498b-8092-425312ad83a2n%40googlegroups.com.


--
Thanks

Kevin Shumaker


N38° 19' 56.52"
W85° 45' 8.56"

Semper Gumby
“Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
Ethics are what we do when no one else is looking.
Quis custodiet ipsos custodes?
“There is no end to the good you can do if you don’t care who gets the credit.” - C Powell
You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

Dewey

unread,
Jan 14, 2021, 12:32:23 PM1/14/21
to motioneye

Since you said “for a few years”, my first though is that you camera may be giving up the ghost.  Comparing the top and bottom of the image that you supplied looks like the camera is struggling to go from low light mode to regular/day light mode.  Just my thoughts… would you happen to have another camera that you can substitute just to see if you get the same behavior?

 

Dewey

 

From: moti...@googlegroups.com <moti...@googlegroups.com> On Behalf Of NicDBPhoto
Sent: Thursday, January 14, 2021 12:27
To: motioneye <moti...@googlegroups.com>
Subject: Images Corrupted

 

Hi All,

I've been using MotionEye for a few years now to keep check on our rabbits in our garden. It's worked beautifully - most of the time and we have captured all sorts of wildlife visiting our rabbits in their hutches including a fox! Luckily we have strong cages.

Recently I have had some corrupt images as per these illustrated.

Also the notifications don't include images even if I set the time span to >5 and even up to 15.  It was working fine with all the same settings that I backed up. Now it won't work the same.

Any ideas what's going on?

 

TIA

Nic

--

image001.jpg

Alan McKay

unread,
Jan 14, 2021, 12:36:20 PM1/14/21
to motioneye

Folks please don't re-send the photo in replies - bad enough that this list accepts huge attachments in the first place.

Honestly we should disable that - sending photos to a mailing list is far from best practice.   People should be uploading to IMGUR or similar service and sending a link.

NicDBPhoto

unread,
Jan 14, 2021, 12:39:50 PM1/14/21
to motioneye
Ah, yes of course.

It's a Pi Zero running
motionEye Version
0.40rc2

Motion Version
4.2.2

OS Version
motionEyeOS dev20190311

It's a Pimoroni OctoCam that my daughter got one Christmas so I guess it must be 2 years old at least.  It's been running pretty constantly since then. It's on a 16GB Sandisk card and we just view the photos and videos on the web browser.  Maybe it's just the card getting old after years of read/write cycles?  Most images are fine but just the odd few every day that are corrupted.

Hope this helps?

Dewey

unread,
Jan 14, 2021, 12:52:39 PM1/14/21
to motioneye

Very much agree that it could be the card.  Since that is the least expensive route, it would be the first thing I would check (before the camera) given that have not reported making changes.

 

Dewey

NicDBPhoto

unread,
Jan 14, 2021, 12:58:32 PM1/14/21
to motioneye
Yes, I will try a new card with a more recent image of MotionEye.  I think I stuck with that version in the past as the then newer version was unstable and kept crashing, though this was a few years back.

I was also wondering why it might have stopped sending images in the email notifications?  I get plenty of the emails but no images.

Nic

Dewey

unread,
Jan 14, 2021, 1:10:05 PM1/14/21
to motioneye

I know Kevin will probably chime in here, but I *believe* that emailing the images largely depends upon the speed in which they are accessed.  In cases where there is a large amount of images stored in the directory, MotionEye can timeout will trying to upload the images (this is a setting in the motioneye.conf file).  When the timeout occurs, the email is still sent, just minus some or all of the images.  *If* the card is going bad, it could be slowing down causing the timeout.

 

Dewey

 

From: moti...@googlegroups.com <moti...@googlegroups.com> On Behalf Of NicDBPhoto
Sent: Thursday, January 14, 2021 12:59
To: motioneye <moti...@googlegroups.com>
Subject: Re: Images Corrupted

 

Yes, I will try a new card with a more recent image of MotionEye.  I think I stuck with that version in the past as the then newer version was unstable and kept crashing, though this was a few years back.

Kevin Shumaker

unread,
Jan 14, 2021, 2:05:54 PM1/14/21
to Dewey, motioneye
I agree with @dewey. The more files in the directory tree (not just the 'current' folder) the slower it is (the longer it takes) to find the latest to email. I don't know of a better algorithm, but if it would only look in the current folder it would help (hint, hint, TPTB)
If it were a matter of the age of the card, it could be slowing it down. I doubt it is corrupted by age, as it isn't taking a dump when writing (which most corruption errors show), but you are getting read errored corruption.
If you can try a newer image (20190911 or dev20201026) on a different card, I'd bet you have better results.
You can test the camera on a PC or other linux machine pretty easily, too...

--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages