Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Camera board • Getting rpiz2w working with motion

$
0
0
Hi all,

I'm trying to setup RPI Zero 2 w to record video when it detects motion.

I've installed motion

I tested my camera with rpicam-still and it works fine.

Code:

 rpicam-still[2:22:24.970591345] [2659]  INFO Camera camera_manager.cpp:340 libcamera v0.6.0+rpt202512                                                                                 02[2:22:25.106659141] [2664]  INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/                                                                                 libcamera/ipa/rpi/vc4/ov5647.json[2:22:25.129672330] [2664]  INFO Camera camera_manager.cpp:223 Adding camera '/base/soc/i                                                                                 2c0mux/i2c@1/ov5647@36' for pipeline handler rpi/vc4[2:22:25.129850870] [2664]  INFO RPI vc4.cpp:445 Registered camera /base/soc/i2c0mux/i2c@                                                                                 1/ov5647@36 to Unicam device /dev/media1 and ISP device /dev/media0[2:22:25.129970556] [2664]  INFO RPI pipeline_base.cpp:1111 Using configuration file '/us                                                                                 r/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'Made DRM preview windowPreview window unavailableMode selection for 1296:972:12:P    SGBRG10_CSI2P,640x480/0 - Score: 3296    SGBRG10_CSI2P,1296x972/0 - Score: 1000    SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67    SGBRG10_CSI2P,2592x1944/0 - Score: 1567Stream configuration adjusted[2:22:25.143217214] [2659]  INFO Camera camera.cpp:1215 configuring streams: (0) 1296x972                                                                                 -YUV420/sYCC (1) 1296x972-SGBRG10_CSI2P/RAW[2:22:25.144061894] [2664]  INFO RPI vc4.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@3                                                                                 6 - Selected sensor format: 1296x972-SGBRG10_1X10/RAW - Selected unicam format: 1296x972-                                                                                 pGAA/RAW#10 (0.00 fps) exp 33239.00 ag 8.00 dg 1.00#11 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#12 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#13 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#14 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#15 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#16 (30.00 fps) exp 33239.00 ag 8.00 dg 1.00#17 (30.00 fps) exp 33239.00 ag 8.00 dg 1.00#18 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#19 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00#20 (30.01 fps) exp 33239.00 ag 8.00 dg 1.00
I've found a few threads online about " bcm2835-v4l2 " but... none of that advice worked.

Is there a way to get motion to work with the rpi and camera ?

Statistics: Posted by remus — Tue Dec 16, 2025 3:53 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles