Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working on a libcamera workarround #2684

Open
GenerallyClumsy opened this issue Jan 12, 2023 · 1 comment
Open

working on a libcamera workarround #2684

GenerallyClumsy opened this issue Jan 12, 2023 · 1 comment

Comments

@GenerallyClumsy
Copy link

GenerallyClumsy commented Jan 12, 2023

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?

@zagrim
Copy link
Collaborator

zagrim commented Aug 23, 2023

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 (#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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants