From 582cfa1d49a41ebf6808cef62c22c26a6111a46c Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sat, 10 Jun 2017 13:43:51 +0200 Subject: [PATCH] switch back to 8MP camera --- screenless/bureau/photography/photography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 707e225..a5b054a 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -91,7 +91,7 @@ class Photography(Bureau): mjpg = os.path.join(modpath, "..", "..", "lib", "mjpg-streamer", "mjpg-streamer-experimental", "run.sh") mjpg_dir = os.path.dirname(mjpg) - cmd = mjpg.split() + ["-i", "input_uvc.so -r 1920x1080 -n", "-o", "output_file.so -f /tmp/webcam -d 500 -s 2"] + cmd = mjpg.split() + ["-i", "input_uvc.so -r 3264x2448 -n", "-o", "output_file.so -f /tmp/webcam -d 500 -s 2"] print(cmd) #proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir})