motioneye-project / motioneye

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

Problème enregisterment MotionEye #2936

Open FrThib opened 7 months ago

FrThib commented 7 months ago

Bonjour, J'utilise MotionEye sur mon Raspberry Pi4 4gb permettant la détection et l'enregistrement de vidéo capturée avec une caméra Avidsen ( mon réseau est constitué du Raspberry sur box en Ethernet, caméra en wifi sur box ) . Globalement cela fonctionne bien (lecture, détection et enregistrement). Je suis néanmoins confronté à un problème que je ne comprends pas, il me manque des images et la progression dans le temps n'est pas cohérente. Par exemple sur un test simple ou je présente devant la caméra ma main qui va décompter avec les doigts le temps ( 5 secondes ) la détection se fait correctement. Cependant lorsque je visualise le film je vois que partiellement le film et juste un passage furtif de ma main
Capture2 Capture3 Capture4

Avez-vous une idée pour ce problème et avez-vous comment le régler ? Merci de votre retour François

FrThib commented 6 months ago

Hi evrybody Nobody seems to be confronted to the similar problem I have, but maybe is due to the french language included in my message above. I therefore reiterate my request in English I use MotionEye on my Raspberry Pi4 4gb allowing the detection and recording of video captured with an Avidsen camera (my network consists of the Raspberry on box over Ethernet, camera over wifi on box). Overall it works well (reading, detection and recording). However, I am faced with a problem that I do not understand, I am missing images and the progression over time is not consistent. For example, on a simple test where I present my hand in front of the camera which will count down the time with my fingers (5 seconds), the detection is done correctly. However when I view the film saved I only see partially the film and just a furtive passage of my hand Do you have any idea for this problem and how to fix it? thank you for your comeback Francois

zagrim commented 6 months ago

You seem to have noise level ("Niveau de bruit") set quite high, and unless your camera operates in very low light, I suspect that the high noise level will cause some parts for video stream with lesser motion to be disregarded. So, I recommend lowering the noise level to 1% or lower and see if that helps.

I also recommend enabling "Show Frame Changes" ("Afficher les modifications d'image") so you can better see how the motion detection settings work. There will be a number on the top right corner showing the number of changed pixels in each frame. There's no need to raise noise level setting unless there are changed pixels even when there is no actual movement.

"Détection des changements de lumière" might also affect in a situation where most of the frame might change due to motion (I assume your hand might be close to the camera during the test). Having this set to 50% means that if more than 50% of frame pixels change, it might be interpreted as light conditions changing, and thus disregarded in motion detection. However, I'm not quite sure how that setting actually works in Motion so I might also be wrong here. It might however be helpful to either set that to 0% (disabling the feature) or closer to 100% to see if that affects your testing.

FrThib commented 6 months ago

Many thanks zagrim for your help . Indeed your settings impact my recording, however I have not yet managed to find the right setting to achieve the expected result. I will continue my investigations tomorrow. I also use “Show Frame Changes” as you asked, this allows me to better locate and understand the trigger zones. thanks again François