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

My goal is to stream my webcam over https. Any recommendations beyond webcam-server and cvlc are welcome.

From VLC, I can say

Media -> Open Capture Device

and leave the video 4 linux 2 capture mode selected. If I then select any of

  • /dev/video0
  • /dev/v4l/by-path/pci-0000:00:1d.7-usb-0:2:1.0-video-index0
  • /dev/v4l/by-id/usb-Dynex_Dynex_1.3MP_Webcam-video-index0

for a video source and press "Play", I see my video. If I try to include


in the audio, I get the error

Your input can't be opened:
VLC is unable to open the MRL 'alsa:///dev/snd/by-id/usb-Dynex_Dynex_1.3MP_Webcam-02'.  Check the log for details.

Using alternative versions of the microphone gives the same error. e.g.

$ pwd
$ ls                                     
$ file usb\-Dynex_Dynex_1.3MP_Webcam\-02 
usb-Dynex_Dynex_1.3MP_Webcam-02: symbolic link to `../controlC1'

suggests I should use /dev/snd/controlC1, but that yields the same MRL...alsa:/// error. Also, I don't see any log file in $HOME/.local/share/vlc

share|improve this question
Go to the messages window there's a more descriptive error message. (CTRL + M) – flo May 24 '12 at 11:36

Your Answer


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

Browse other questions tagged or ask your own question.