chore(motion): tweak video_params

This commit is contained in:
arcnmx 2024-07-22 12:23:33 -07:00
parent 07b775665d
commit 702176088f
2 changed files with 8 additions and 7 deletions

View file

@ -9,10 +9,10 @@
in {
services.motion.cameras.kitchencam.settings = mapDefaults {
videodevice = "/dev/kitchencam";
v4l2_palette = 8;
width = 640;
height = 480;
framerate = 5;
video_params = "auto_brightness=2,palette=8"; # MJPG=8, YUYV=15
width = 1280;
height = 720;
framerate = 2;
camera_id = 1;
text_left = "kitchen";
};

View file

@ -9,9 +9,10 @@
in {
services.motion.cameras.printercam.settings = mapDefaults {
videodevice = "/dev/printercam";
width = 1280;
height = 720;
framerate = 5;
video_params = "auto_brightness=1,palette=8"; # MJPG=8, YUYV=15
width = 1920;
height = 1080;
framerate = 2;
camera_id = 2;
text_left = "";
#text_right = "";