How to stream video via UDP & arducam 64mp camera?

  1. Where did you get the camera module(s)?
    brand new arducam site

  2. Model number of the product(s)?
    64mp

  3. What hardware/platform were you working on?
    RPI4b+
    Linux 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

  4. Instructions you have followed. (link/manual/etc.)
    Install guide was great after a fresh 64bit PiOS install.

  5. Problems you were having?

libcamera-vid -t 0 --inline  -o udp://100.69.217.10:3333
Made DRM preview window
[1:27:22.111678382] [1202]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[1:27:22.117517423] [1204]  WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for 'arducam_64mp'
[1:27:22.117565052] [1204]  WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[1:27:22.117854142] [1204] ERROR CameraSensor camera_sensor.cpp:591 'arducam_64mp 10-001a': Camera sensor does not support test pattern modes.
Open i2c bus error: No such file or directory
[1:27:22.132318828] [1204]  WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[1:27:22.132916211] [1204] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[1:27:22.133107932] [1204]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media0 and ISP device /dev/media3
[1:27:22.133754519] [1202]  INFO Camera camera.cpp:1029 configuring streams: (0) 640x480-YUV420
[1:27:22.134146608] [1204]  INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 1280x720-SBGGR10_1X10 - Selected unicam format: 1280x720-pBAA


 dmesg | grep cam
[    7.244370] arducam_64mp 10-001a: Device found Arducam 64MP.
[    7.247920] arducam_64mp 10-001a: Consider updating driver arducam_64mp to match on endpoints
[   33.759597] cam-dummy-reg: disabling


  1. Troubleshooting attempts you’ve made?
    I think I need to tell it the resolution? Can’t figure out how.

  2. What help do you need?
    I think I need to tell it the resolution? Can’t figure out how.

@edward

use the --width and --height arguments to libcamera-vid

Do you know what the max W and H is on the 64mp? Thanks.

hi, @phar

You can use the following command to view the camera details:

libcamera-still --list-cameras

Is the bottom line video or camera or both? How can you tell what are video modes? Or do you just wing it?

libcamera-still --list-cameras
[8:37:09.448770454] [1546]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[8:37:09.454826285] [1547]  WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for 'arducam_64mp'
[8:37:09.454910858] [1547]  WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[8:37:09.455331151] [1547] ERROR CameraSensor camera_sensor.cpp:591 'arducam_64mp 10-001a': Camera sensor does not support test pattern modes.
Open i2c bus error: No such file or directory
[8:37:09.470568561] [1547]  WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[8:37:09.471303313] [1547] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[8:37:09.471575126] [1547]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media0 and ISP device /dev/media3
Available cameras
-----------------
0 : arducam_64mp [9248x6944] (/base/soc/i2c0mux/[email protected]/[email protected])
    Modes: 'SRGGB10_CSI2P' : 1280x720 1920x1080 2312x1736 3840x2160 4624x3472 9152x6944 


libcamera-vid -t 0 --inline  --height 1280 --width 720 -o udp://remoteipaddress:3333
Made DRM preview window
[8:47:05.139995626] [1593]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[8:47:05.145839093] [1595]  WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for 'arducam_64mp'
[8:47:05.145886500] [1595]  WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[8:47:05.146178220] [1595] ERROR CameraSensor camera_sensor.cpp:591 'arducam_64mp 10-001a': Camera sensor does not support test pattern modes.
Open i2c bus error: No such file or directory
[8:47:05.160745740] [1595]  WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[8:47:05.161437975] [1595] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[8:47:05.161821619] [1595]  INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media0 and ISP device /dev/media3
[8:47:05.173833533] [1593]  INFO Camera camera.cpp:1029 configuring streams: (0) 720x1280-YUV420
[8:47:05.174251214] [1595]  INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 2312x1736-SBGGR10_1X10 - Selected unicam format: 2312x1736-pBAA

Do you mean that you want the preview to be the same resolution as the actual save?

–viewfinder-width and --viewfinder-height:Set preview resolution
–width and --height:set save resolution

libcamera-vid -t 0 --inline --viewfinder-width 1280 --viewfinder-height 720 --width 1280 --height 720 -o udp://remoteipaddress:3333

No, but thank you. I had the width and height backwards.

sending computer:
libcamera-vid -t 0 --inline --height 720 --width 1280 -o udp://receivingipaddress:3333
and receiving computer
vlc udp://@:3333 :demux=h264

Thanks.