Minor point that you appear to be running on a Pi0-4 as it's using a camera on i2c0mux, whilst the OP is saying they are on Pi5.I'm now running motion with libcamerify.
I needed to install libcamera-v4l2 to get rid of an errorbut yours looks like a different issue. Something is already using the camera. Have you got something still running with it?Code:
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libcamera/v4l2-compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
This is what I got on my final tryand I can see the stream from the camera on port 8081Code:
rpdom@cam4:~ $ sudo libcamerify 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)[198:35:01.776388501] [16649] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found[198:35:01.776576835] [16649] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info[198:35:01.777219232] [16649] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e[198:35:01.939367160] [16650] WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[198:35:01.946347795] [16650] INFO RPI vc4.cpp:444 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media1 and ISP device /dev/media0[198:35:01.949748529] [16649] INFO Camera camera.cpp:1183 configuring streams: (0) 640x480-YUV420[198:35:01.950471134] [16650] INFO RPI vc4.cpp:608 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA[198:35:01.953599055] [16649] INFO Camera camera.cpp:1183 configuring streams: (0) 640x480-YUV420[198:35:01.954235722] [16650] INFO RPI vc4.cpp:608 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
Statistics: Posted by 6by9 — Mon Jul 22, 2024 1:10 pm