You can use any of the Raspberry Pi Camera Modules, depending on the resolution and features you want. Make sure it has the correct cable for the Pi Zero or Pi 5 (the Pi 5 uses the same Camera connections as the Zeros)
The current OS uses libcamera rather than v4l2, and does make use of ffmpeg if needed. That can use the hardware encoding on a Zero 2W.
You can use the Python Picamera2 library to create scripts which will output h264 to a file, or can be streamed. There is a lot of good documentation and also many examples on github.
You can find details about the cameras here with links to the libcamera and Picamera2 documentation.
The current OS uses libcamera rather than v4l2, and does make use of ffmpeg if needed. That can use the hardware encoding on a Zero 2W.
You can use the Python Picamera2 library to create scripts which will output h264 to a file, or can be streamed. There is a lot of good documentation and also many examples on github.
You can find details about the cameras here with links to the libcamera and Picamera2 documentation.
Statistics: Posted by rpdom — Sun Jul 14, 2024 8:43 am