motioneye icon indicating copy to clipboard operation
motioneye copied to clipboard

Movie starts too early for Doorbird with Movie Passthrough

Open salzrat opened this issue 2 years ago • 5 comments

This is a separate issue for the third item mentioned here:

https://github.com/motioneye-project/motioneye/issues/2368

I have the MotionEye addon (0.17.0) installed in Homeassistant, which is running in a Virtualbox on a Macbook Air connected via LAN.

The camera is a Doorbird D101s also connected via LAN.

When I have movie passthrough enabled, the movie starts 5-10 seconds before the actual motion. So it seems somehow the timestamps of the captured video may not be interpreted correctly or something? This does not occur when disabling passthrough, here the movie starts correctly with the detected motion. The relevant settings are 30/1/60/5 for motion gap, captured before/after and minimum motion frames.

I would like to use passthrough because the video files from the camera are much smaller.

I have managed to ssh into the motioneye docker image in Homeassistant, so I can hack around there as well if it helps...

Please let me know what further information I can provide to debug this... Thanks!

salzrat avatar Mar 19 '22 15:03 salzrat

Would be interesting to know whether this happens the same way with a native installation of the current motionEye dev branch: https://github.com/motioneye-project/motioneye/blob/fcf1b1f/README.md#installation

Not sure when I find time to test the HA addon.

MichaIng avatar Mar 19 '22 15:03 MichaIng

I don't think I have a device where I can easily do that. But I don't think HA plays a role here, this rather seems an issue with how motion handles the video stream it gets from doorbird...

salzrat avatar Mar 19 '22 15:03 salzrat

@salzrat Did you already mention the version of Motion you have? That might be relevant, at least if its pretty old. I'm not sure of the HA addon setup if Motion could be upgraded easily if necessary.

zagrim avatar Mar 20 '22 05:03 zagrim

Hi, according to %{ver} on the text overlay the version is 4.3.2. I can try to upgrade the plugin and see whether it comes with 4.4.0... (edit: nope, just updated to newest addon version, still at 4.3.2) (edit2: the addon maintainer just replied that Motion 4.4.0 has configuration problems with MotionEye and therefore can't be upgraded yet...)

salzrat avatar Mar 20 '22 10:03 salzrat

Yep, 4.3.2 should be fine.

zagrim avatar Mar 20 '22 13:03 zagrim