sound card in Linux - vlc audio device name

*nix specific usage questions
popo78
New Cone
New Cone
Posts: 6
Joined: 11 May 2013 22:44

sound card in Linux - vlc audio device name

Postby popo78 » 20 May 2013 17:02

Hi,

What i should set in vlc to capture audio ? i have sound card
cat /proc/asound/cards
0 [Set ]: USB-Audio - C-Media USB Headphone Set
C-Media USB Headphone Set at usb-0000:00:1d.0-1, full spee


input: C-Media USB Headphone Set as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.3/input/input5
generic-usb 0003:0D8C:000C.0001: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set ] on usb-0000:00:1d.0-1/input3
usbcore: registered new interface driver snd-usb-audio


i try to set in vlc audio device name:
/dev/snd/by-id/usb-0d8c_C-Media_USB_Headphone_Set-00
/proc/asound/card0/
/ALSA
/dev/snd/pcmC0D0c
/dev/snd/pcmC1D1c

but nothing works:
main error: open of `alsa:///dev/snd/pcmC1D1c' failed: (null)

thanks for help
pop

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: sound card in Linux - vlc audio device name

Postby Rémi Denis-Courmont » 22 May 2013 17:52

You should specify a valid ALSA capture PCM device string, such as given by 'arecord -L'. See the ALSA documentation for details.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

popo78
New Cone
New Cone
Posts: 6
Joined: 11 May 2013 22:44

Re: sound card in Linux - vlc audio device name

Postby popo78 » 24 May 2013 18:10

this works:
hw:1,0
hw:0,0


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests