diff --git a/debian/control b/debian/control index 9f65b8d..efb16a1 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Vcs-Git: https://github.com/boltgolt/howdy Package: howdy Homepage: https://github.com/boltgolt/howdy Architecture: all -Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, ffmpeg +Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, fswebcam, libopencv-dev, cmake, fswebcam Recommends: libatlas-base-dev | libopenblas-dev | liblapack-dev Suggests: nvidia-cuda-dev (>= 7.5) Description: Howdy: Windows Hello style authentication for Linux. diff --git a/debian/preinst b/debian/preinst index 3a5ce2c..8430d4a 100755 --- a/debian/preinst +++ b/debian/preinst @@ -74,7 +74,7 @@ for dev in devices: # Let fswebcam keep the camera open in the background sub = subprocess.Popen( - "ffmpeg -f v4l2 -framerate 25 -video_size 640_480 -i /dev/v4l/by-path/%s -f null -loglevel -8 /dev/null" % dev, + "fswebcam -l 1 -d /dev/v4l/by-path/%s" % dev, shell=True, preexec_fn=os.setsid, stdout=subprocess.PIPE,