Debian GNU/Linux 上で Qcam で web カメラして遊ぼう ・Qcam Express QV-31 http://www.logicool.jp/products/videocamera/qv_31.html ・計算機 CASSIOPEIA FIVA 206VL ・参考 Linux MAGAZINE 2002/11 連載 「 USB カメラと Linuxで作るお手軽ライブカメラシステム 」 ZDNet デベロッパー Linux Tips ライブカムページを作りたい http://www.zdnet.co.jp/help/tips/linux/l0415.html Welcom to Webcam ( USB カメラを使おう!!) http://keiren-web.hp.infoseek.co.jp/webcam.html ・作業ユーザ デバイスは以下のようになっている。 maaya:/home/rin# ls -l /dev/video0 crw-rw---- 1 root video 81, 0 5月 2 20:08 /dev/video0 グループにユーザ rin を追加する rin@maaya[~]% grep video /etc/group video:x:44:rin ・webcam apt-get install webcam しておく ・設定ファイル 以下のように設定 読まれないように chmod 700 .webcamrc しておくこと rin@maaya[~]% cat .webcamrc [ftp] host = mariko user = rin pass = xxxxxxxxxx passive = 0 dir= /home/rin/public_html/cam file = licam.jpg tmp= uploading.jpg auto = 0 local = 0 ssh = 0 [grab] device = /dev/video0 text = "%Y-%m-%d %H:%M:%S" ##infofile = filename width = 320 height = 240 delay = 15 #input = composite1 rotate = 0 top = 0 left = 0 bottom = -1 right = -1 quality = 65 trigger = 0 once = 0 rin@maaya[~]% ・起動 rin@maaya[~]% webcam .webcamrc 2> /dev/null