mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
Rpi HQ camera not working - I'm unable to choose the right resolution #2612
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#2612
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Reperdix on GitHub (Feb 17, 2025).
Hello!
I have been trying to set up motioneye on a Raspberry Pi 4 (4 GB ram) with a Raspberry Pi HQ camera.
(Operating system: Linux raspberrypi 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64
motionEye Version | 0.43.1b2
Motion Version | 4.7.0)
The camera has to choose one of these specific resolutions:
And when motioneye tries to get some other resolution I get this error:
The problem is that when I change the resolution in motioneye it does not change it to exactly what I wrote.
This is from the motion.log in /var/log/motioneye
It adds padding to the resolution. Sometimes it seems to want a multiple of 8, other times 16 or - as in this case - the stride(2176) (whatever that means).
Since the camera only seems to output specific resolutions I have to make MotionEye accept one of those. But I can't.
I don't see any other way out of this. The camera works fine for taking photos and video with the
rpicamcommands (and when doing so it's fine with whatever resolution I ask for), but in motioneye I get theUNABLE TO OPEN VIDEO DEVICEerror.I would be very greatful for any help!
@xandark commented on GitHub (Feb 25, 2025):
Just a thought, but can you edit the actual config files motioneye is generating under the hood with the proper padded resolution that you need?