motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.85k stars 647 forks source link

Motion 4.2.2 not recording pictures or video #1857

Open davidducic opened 3 years ago

davidducic commented 3 years ago

Hi everyone,

I've been using MotionEyeOS for about a year and it's worked perfectly until now. I used the setup from this video (https://www.youtube.com/watch?v=Qe-xs7Aqzt8), using a Raspberry Pi 4 with a Logitech webcam. I had to change my WiFi password yesterday, and when I did I decided to install the latest Motion Version and essentially do a clean install. Unfortunately, my ability to capture pictures and videos doesn't seem to be working now. I can take a snapshot and it will save on the MicroSD card installed in the Raspberry Pi, but that's it. I tried changing .mp4 to .avi but no joy with that, either.

Below are my settings - thanks in advance for your help:

Video Device

File Storage

Video Streaming

Still Images

Movies

Motion Detection

zagrim commented 3 years ago

Any errors in the logs? Do you see enough changed pixels to match the 1% threshold? What if you add emulate_motion on in "Extra Motion Options", does that trigger video/picture capture?

nickmartin1ee7 commented 3 years ago

I just upgraded to this version, and I'm experiencing the same issue. My recording is set to continuous recording, and it rarely outputs any video files at all. This is for two separate devices

icurnow commented 3 years ago

Same issue here after upgrade. I can click to take a pic this get correctly saved and sent to google. Motion shown by red frame results in nothing though.... Used to work fine.

hipitihop commented 3 years ago

I have 2 cameras recording as expected, however a third, never records regardless of my motion settings. Not sure this is related.

starbasessd commented 3 years ago

@hipitihop you don't give much info. Are your 3 cameras USB? If so, there's an inherent limit in Linux to 2 USB cameras per USB controller. Are they IP? WiFi or Ethernet connected? CSI Cable? Mix? What mix? What SBC or PC are you using? Pi, (1,2,3B,3B+, 4B -1GB, -2GB, -4GB, -8GB, Zero, ZeroW) or one of a dozen clones, or PC? Which OS are you running it on? Which install instruction set? This is why it's a bad thing(TM) to hijack an existing issue. Better to mention the existing issue in a new one.

starbasessd commented 3 years ago

@nickmartin1ee7 @icurnow Ditto to you, and at least answer @zagrim 's questions... I use motion 4.2.2 for my production system (i5, Ubuntu 20.04, etc) and no issues with 5 cameras (1 USB Webcam, 3 d-Link DCS-5020-Ls, and a Foscam 9900 RTSP mode).

blgo commented 2 years ago

I also had this issue on v0.42.1 and fixed it by changing the movie format to Matroska video .mkv

starbasessd commented 2 years ago

Motion, not motionEye. Motion version should now be 4.3.2 (4.4.0 has issues) motionEye should be 0.42.1.

starbasessd commented 2 years ago

Be careful if upgrading to Bullseye, also. They took out PiCamera, the raspivid and raspistill apps, and converted a lot of things to libcamera, which breaks things like motion. They also removed python camera too, breaking even more things.