0.debian6对罗技C270无驱摄像头(带MIC)的支持
0.1视频
0.1.1设备节点
/dev/video0
0.1.2驱动框架
V2L或V4L2
0.2音频
0.2.0准备工具
gome-volume-control:gnome桌面环境下的小喇叭
g
nome-sound-recorder:gnome桌面环境下的音频录制工具,缺点是:不区分麦克风
ffmpeg 视频采集工具
0.2.1状态信息
cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux debian 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC 2011 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel at 0xf9ff8000 irq 22
USB Device 0x46d:0x825 at usb-0000:00:1d.0-1.7, high speed
HDA NVidia at 0xfbc00000 irq 16
Audio devices: NOT ENABLED IN CONFIG
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
31: system timer
Mixers: NOT ENABLED IN CONFIG
0.2.2 cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9ff8000 irq 22
1 [U0x46d0x825 ]: USB-Audio - USB Device 0x46d:0x825
USB Device 0x46d:0x825 at usb-0000:00:1a.0-1.1, high speed
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfbc00000 irq 16
HDA Intel at 0xf9ff8000 irq 22
1 [U0x46d0x825 ]: USB-Audio - USB Device 0x46d:0x825
USB Device 0x46d:0x825 at usb-0000:00:1a.0-1.1, high speed
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfbc00000 irq 16
1.MIC音频输入配置
如图选中C270,调整输入音量,如果有音乐播放,可看到输入等级在不断变化
2.录音gnome-sound-recorder
就可以播放了。
2.视频采集ffmpef
ffmpeg -f v4l2 -i /dev/video0 shuyong.asf