Jan 8 21:58:04 debian kernel: usb 1-1: new high speed USB device using orion-ehci and address 2 Jan 8 21:58:04 debian kernel: usb 1-1: configuration #1 chosen from 1 choice Jan 8 21:58:04 debian kernel: Linux video capture interface: v2.00 Jan 8 21:58:04 debian kernel: uvcvideo: Found UVC 1.00 device Venus USB2.0 Camera (0ac8:c500) Jan 8 21:58:04 debian kernel: input: Venus USB2.0 Camera as /devices/platform/orion-ehci.0/usb1/1-1/1-1:1.0/input/input0 Jan 8 21:58:04 debian kernel: usbcore: registered new interface driver uvcvideo Jan 8 21:58:04 debian kernel: USB Video Class driver (v0.1.0) Jan 8 21:58:04 debian kernel: usbcore: registered new interface driver snd-usb-audio予想外。ちゃんと UVC device って認識した。
ちなみに、カーネルは先日入れ換えている
root@debian:~# uname -a Linux debian 2.6.32.2 #1 PREEMPT Fri Dec 18 22:54:28 MST 2009 armv5tel GNU/Linux root@debian:~#
root@debian:~# apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libasound2 libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49 libdc1394-22 libdirectfb-1.0-0 libgsm1 libogg0 liboil0.3 libpostproc51 libraw1394-8 libschroedinger-1.0-0 libsdl1.2debian libsdl1.2debian-alsa libspeex1 libswscale0 libsysfs2 libtheora0 libts-0.0-0 libvorbis0a libvorbisenc2 libxext6 x11-common Suggested packages: libasound2-plugins libraw1394-doc speex The following NEW packages will be installed: ffmpeg libasound2 libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49 libdc1394-22 libdirectfb-1.0-0 libgsm1 libogg0 liboil0.3 libpostproc51 libraw1394-8 libschroedinger-1.0-0 libsdl1.2debian libsdl1.2debian-alsa libspeex1 libswscale0 libsysfs2 libtheora0 libts-0.0-0 libvorbis0a libvorbisenc2 libxext6 x11-common 0 upgraded, 26 newly installed, 0 to remove and 9 not upgraded. Need to get 8465kB of archives. After this operation, 21.4MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ports.ubuntu.com jaunty/main x11-common 1:7.4~5ubuntu18 [366kB] (略) Setting up ffmpeg (3:0.svn20090303-1ubuntu6) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place root@debian:~#
root@debian:~# ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 /tmp/100108.flv FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Apr 10 2009 23:56:29, gcc: 4.3.3 [video4linux2 @ 0x30bb0][3]Capabilities: 4000001 Input #0, video4linux2, from '/dev/video0': Duration: N/A, start: 1262957295.301762, bitrate: N/A Stream #0.0: Video: rawvideo, yuyv422, 640x480, 1000k tbr, 1000k tbn, 1000k tbc Output #0, flv, to '/tmp/100108.flv': Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 1000k tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 48 fps= 5 q=31.0 Lsize= 182kB time=9.65 bitrate= 154.8kbits/s video:181kB audio:0kB global headers:0kB muxing overhead 0.514248% root@debian:~#
うぉーっ!映ってるぅ!!
サーバラックをストリーミングで流してみようか(笑
「DDOS 攻撃が来たら LED が派手に光る」ぐらいの変化しかないけど、、、
←(前のページ) samba がインストールされているけど動いていない |
当月のハックの記録 SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ |
(次のページ)→ ntpd のインストール |