From c619490dad59eb8b9a0236c29821b59aeffc7502 Mon Sep 17 00:00:00 2001 From: Scott Gibb Date: Sat, 18 Nov 2023 12:53:28 +0000 Subject: [PATCH] Adding camera config --- PrusaPrint/libcamera.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 PrusaPrint/libcamera.conf diff --git a/PrusaPrint/libcamera.conf b/PrusaPrint/libcamera.conf new file mode 100644 index 0000000..06e08ee --- /dev/null +++ b/PrusaPrint/libcamera.conf @@ -0,0 +1,34 @@ +### Options for libcamera based cameras (PiCam, Arducam, ...) + +# The port on which the webcam server for the camera should listen on. If you have only +# one camera, leave at 8080. If you have more, change to 8081, 8082, etc. The primary +# camera will be considered the one with 8080. +PORT=8080 + +# The resolution to request on the camera sensor. Defaults to 1280x720. +#WIDTH=1920 +#HEIGHT=1080 + +WIDTH=3840 +HEIGHT=2160 + + +# The height to use for the video stream. Defaults to 720. +#VIDEO_HEIGHT=720 + +VIDEO_HEIGHT=2160 + +# The height to use for the snapshots. Defaults to 1080. +#SNAPSHOT_HEIGHT=1080 + +SNAPSHOT_HEIGHT=2160 + +# The framerate to set on the camera. Defaults to 15fps. +FRAMERATE=15 + +# Additional options. By default enables continuous auto focus (if possible). +#OPTIONS='--camera-options="AfMode=2" --camera-options="AfRange=2"' +OPTIONS='--camera-options="AfMode=0" --camera-options="LensPosition=1" + + +