![]() camera-allow_dma - Prefer to use DMA access to reduce memory copy. camera-fps=%u - Set the desired capture framerate. camera-nbufs=%u - Set number of capture buffers. camera-format=arg - Set the camera capture format. camera-height=%u - Set the camera capture height. camera-width=%u - Set the camera capture width. camera-path=%s - Chooses the camera to use. Accordingly, "SNAPSHOT" may be provided via -camera-snapshot.options, "STREAM" via -camera-stream.options and "VIDEO" via -camera-video.options.Īdditionally, any of camera-streamer's command line parameters can be provided as well: $ camera-streamer -help That will show you output roughly like this:Īnything listed under "CAMERA" can be provided as a -camera-options setting in OPTIONS, e.g. To learn about the available options of you specific camera, navigate to its /control endpoint, e.g. Available additional options to be included in OPTIONS You can set them using -camera-snapshot.height and -camera-video.height via OPTIONS if so desired, but note that this might require some tinkering on your part, and/or increasing the available GPU memory. VIDEO_HEIGHT and SNAPSHOT_HEIGHT are not offered for USB cameras, since it depends on the camera model whether they will work well or not. Please note that apart from OPTIONS and NBUFS, all of these fields must be set! OPTIONS: Further options to pass to camera-streamer.HEIGHT: Resolution height to set on the camera, defaults to 720.WIDTH: Resolution width to set on the camera, defaults to 1280.FORMAT: Image format to set on the camera, defaults to YUYV.If you want to run multiple USB cameras, you should change this. DEVICE: Device path for the camera, defaults to /dev/v4l/by-id/usb-*-video-index0.Per default, the image ships with a single nf file that will trigger on availability any USB webcam. USB cameras can be configured through individual nf files in /boot/camera-streamer. Please note that apart from OPTIONS and NBUFS, all of these fields must be set! USB camera configuration ![]() Defaults to -camera-options="AfMode=2" -camera-options="AfRange=2" to attempt to enable auto-focus. NBUFS: Number of buffers to use, defaults to 2 if unset.FRAMERATE: Framerate to configure, defaults to 15, so 15fps.SNAPSHOT_HEIGHT: Resolution height to use for the snapshots, defaults to 1080.VIDEO_HEIGHT: Resolution height to use for the video stream, defaults to 720.HEIGHT: Resolution height to request from the camera sensor, defaults to 1080.WIDTH: Resolution width to request from the camera sensor, defaults to 1920.Must be unique among all configured cameras. PORT: The port for the camera-streamer instance to listen on.You have the following configuration options: Libcamera configurationĪ single libcamera device can be configured through /boot/camera-streamer/nf. The path unit starts the service unit as needed. USB cameras are managed by a service unit and a path unit camera-streamer-usb-.path. Libcamera based cameras are managed by camera-streamer-libcamera. The individual cameras have their own service files. The log is accessible via journalctl -u camera-streamer. You can start/stop/restart it via systemctl ( sudo systemctl camera-streamer). ServiceĪ central camera-streamer service is available that takes care of camera control. The setup on the OctoPi image allows easy configuration of camera parameters through configuration files in /boot/camera-streamer (or the camera-streamer on the root of the card if is used as a thumb drive), hot-plugging of USB cameras and also includes multi-cam support. the RPiCam v3 and newer ArduCams, as well as USB cameras. ![]() It will most likely become the default in the future.Ĭamera-streamer supports libcamera based cameras incl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |