Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question

Here's the settings I used in VLC's "Open Capture Device" dialog on my MacBook 2,1 running Ubuntu 11.04:

  • Capture mode: Video for Linux 2
  • Video: /dev/video0
  • Audio: 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

share|improve this answer
Thank you!!!!!!! I have been trying for a long while to get this to work =)) – Richard Jun 16 '11 at 10:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.