I'm sure this is a quick one if you know it but I'm stuck been searching around for a long while now.
All AUDIO works mic/Spkers/Skype etc… which is great.
What I am trying to do is get the mic to stream via VLC but for that I need to know the device as in /dev/video0
(webcam) but what is the same for the Mic In on the sound card and how do i find that out ?
Under Sound Preferences >> Input its listed under Internal Audio Analogue Stereo (Rear Microphone)
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9ffc000 irq 44
1 [HD5001 ]: USB-Audio - Microsoft® LifeCam HD-5001
Microsoft Microsoft® LifeCam HD-5001 at usb-0000:00:1d.7-6.2.4,high speed
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Best Answer
Here's the settings I used in VLC's "Open Capture Device" dialog on my MacBook 2,1 running Ubuntu 11.04:
Video for Linux 2
/dev/video0
plughw
If you're doing a desktop capture or something like that and would like to add microphone audio to it, you'll have to check "show more options" -> "play another media file synchronously" and enter the entire URI which is:
alsa://plughw