server_webcam

prise d'image périodique

http://popey.com/blog/2010/12/20/my-ubuntu-webcam-setup/
http://blog.mymediasystem.net/uncategorized/setting-up-webcam-on-linux/
apt-get install webcam v4l-conf


v4l-info | grep name
la première ligne nous donne le nom de l'input à renseigner dans la config.


recopier la config depuis le man webcam :
man webcam > ~/.webcamrc
changer : vim ~/.webcamrc
##[grab]
#text = %Y-%m-%d %H:%M:%S
infofile = /dev/null
width = 640
height = 480
delay = 10
input = Camera
#norm = pal
quality = 100
archive = /home/laulau/public_html/images/%Y-%m-%d_%H:%M:%S.jpg
[ftp]
dir = public_html/images
local = 1


lancer
webcam## et le laisser tourner … pas besoin de cron

  • server_webcam.txt
  • Dernière modification: 2023/05/08 01:41
  • de 127.0.0.1