Post by Henrik CarlqvistPost by rootIf we use vlc instead of mplayer we can get a picture using media
capture with video device /dev/vide0, but using /dev/usb/hiddev0 for the
audio device does not work.
Is /dev/usb/hiddev0 really an audio device? What audio devices are you
able to choose from with alsamixer?
regards Henrik
Thanks for responding Henrik. I solved the problem using vlc. Clicking
on the arrow in the right of the Media->Capture sound entry
reveals the choices:
hw 0,0
hw 0,2
hw 2,0
which, I suppose, correspond to the output of the command arecord -l:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC889 Alt Analog [ALC889 Alt Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 2: Camera [USB 2.0 Camera], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Now I am trying to reconcile this finding with what I find
as a command to use mplayer to play a webcam:
mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=1280:height=720:fps=30:outfmt=yuy2
Which works without sound. I tried adding audio with:
-a0 alsa:device=plughw=2.0
but I still got no sound.