I am trying to build a remote monitor. and I used motion library. However, I face the problem that of "unable to open video device" when i input the ip address online. I looked at this forum questionhttps://forums.raspberrypi.com/viewtopic.php?t=375652. It gives me some inspiration. I run the test . Here is what I got:
Code:
libcamerify motionHere is what I got for codeERROR: ld.so: object '/usr/lib/aarch64-linux-gnu/libcamera/v4l2-compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [ERR] [ALL] myfopen: Error opening file /var/log/motion/motion.log with mode ae: Permission denied
[0:motion] [EMG] [ALL] motion_startup: Exit motion, cannot create log file /var/log/motion/motion.log: Permission denied
Code:
sudo motion[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion/motion.log)
Statistics: Posted by ricky2777 — Tue Apr 29, 2025 3:22 pm