locate mjpg-streamer plugins path hopefully...

workspace
Brendan Howell 8 years ago
parent c21307b965
commit bad4c9ee18

@ -70,7 +70,7 @@ class Photography(Bureau):
cmd = mjpg.split() + ["-i", "'input_uvc.so -r 3264x2448 -n'", "-o", "'output_file.so -f /tmp/webcam -d 500 -s 1'"]
print(cmd)
proc = subprocess.Popen(cmd, env={"LD_LIBRARY_PATH": mjpg_dir})
proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir})
# copy last image to the tmpfile
filelist = os.listdir()

Loading…
Cancel
Save