motioneye
motioneye copied to clipboard
working on a libcamera workarround
I'm trying to get some cameras working that only support libcamera. I thought I'd create a stream with libcamera-vid and add a network camera under motion eye. I've managed to create a network stream that's accessible under vlc. The command I'm using the create the stream is: libcamera-vid -t 0 --width 1920 --height 1080 --inline --listen -o tcp://0.0.0.0:8888
while this stream works fine in vlc it doesn't work in motioneye
FYI this is the URL used to connect to the camera in VLC tcp/h264://192.168.0.228:8888
On another note, the libcamera stream is working incredibly well. No dropped frames and CPU utilisation is low too. PI 3A
EDIT: So motion looks like it can run if it's called using libcamerafy. Is there any way this can be integrated into motioneyes?
Libcamera support is still "under construction", and that applies to the yet unreleased ME 0.43 with Python3 support. The topic has been discussed here: #2425 (and here: #2683).
As far as I've understood things correctly, there are some workarounds mentioned in #2683, but no complete solution yet. There is a PR (https://github.com/motioneye-project/motioneye/pull/2765) linked to the other issue and it is waiting for testing, with some instructions on how that could be done (but I admit they might not be good instructions in case one is not that tech-savvy).