switch back to 8MP camera

workspace
Brendan Howell 8 years ago
parent 3bd7e4b44c
commit 582cfa1d49

@ -91,7 +91,7 @@ class Photography(Bureau):
mjpg = os.path.join(modpath, "..", "..", "lib", "mjpg-streamer", mjpg = os.path.join(modpath, "..", "..", "lib", "mjpg-streamer",
"mjpg-streamer-experimental", "run.sh") "mjpg-streamer-experimental", "run.sh")
mjpg_dir = os.path.dirname(mjpg) 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) print(cmd)
#proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir}) #proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir})

Loading…
Cancel
Save