Browse Source

Скрипт для снимков с помощью веб-камеры

master
Maxim Lihachev 11 years ago
parent
commit
33bff13ebf
  1. 9
      camshot

9
camshot

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
#!/bin/bash
#Создан: Вс 30 мар 2014 15:40:48
#Изменён: Вс 30 мар 2014 15:42:59
#http://www.commandlinefu.com/commands/view/11774/press-enter-and-take-a-webcam-picture.
read && ffmpeg -y -r 1 -t 3 -f video4linux2 -vframes 1 -s sxga -i /dev/video0 ${1:-~}/webcam-$(\date +%Y-%m-%d_%H:%M).jpeg
Loading…
Cancel
Save