LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2013, 11:32 AM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
VLC: how to choose audio device?


I'm trying to use the VLC player with my web cam.I have the video working, but don't know what to put for the audio device name when I use 'media > open capture device'
Here is a list of /dev
Quote:
root@Squeeze:~# ls /dev
agpgart hpet net sda2 snd tty18 tty33 tty49 tty7 vcsa
block initctl network_latency sda4 sndstat tty19 tty34 tty5 tty8 vcsa1
bsg input network_throughput sda5 sr0 tty2 tty35 tty50 tty9 vcsa2
bus kmsg null sda6 stderr tty20 tty36 tty51 ttyS0 vcsa3
cdrom log parport0 sda7 stdin tty21 tty37 tty52 ttyS1 vcsa4
cdrw loop0 port sdb stdout tty22 tty38 tty53 ttyS2 vcsa5
char loop1 ppp sdb1 tty tty23 tty39 tty54 ttyS3 vcsa6
console loop2 psaux sdc tty0 tty24 tty4 tty55 urandom vcsa7
core loop3 ptmx sdd tty1 tty25 tty40 tty56 v4l vga_arbiter
cpu_dma_latency loop4 pts sdd1 tty10 tty26 tty41 tty57 vcs video0
disk loop5 random sg0 tty11 tty27 tty42 tty58 vcs1 xconsole
dvd loop6 root sg1 tty12 tty28 tty43 tty59 vcs2 zero
dvdrw loop7 rtc sg2 tty13 tty29 tty44 tty6 vcs3
fd lp0 rtc0 sg3 tty14 tty3 tty45 tty60 vcs4
full MAKEDEV scd0 sg4 tty15 tty30 tty46 tty61 vcs5
fuse mcelog sda shm tty16 tty31 tty47 tty62 vcs6
hidraw0 mem sda1 snapshot tty17 tty32 tty48 tty63 vcs7
I'd like to find the sound device for the built in mike for the web cam as well as the external mike.

Using Debian Squeeze

I don't know if this will help, but here is the choices of sound cards in alsa: attached file. I press F6 to choose the USB, and press Enter, but not sure if that is how to select it.


Thanks for help
Attached Thumbnails
Click image for larger version

Name:	iceweasle1.png
Views:	55
Size:	72.0 KB
ID:	12818  
 
Old 07-01-2013, 01:06 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Use the 0 Intel choice in alsa mixer which is the Intel. On mine, it- VLC, shows hw:0.0 with the drop down arrow in the sound device in vlc preferences.

Code:
$ inxi -A
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.25
Quote:
with the drop down arrow.
It will not show in /dev (hw:0.0) With my bad eyes, I am not sure if that is hw:0period0 or hw:0comma0 that vlc shows me when the drop down arrow is pressed in sound preferences. So, here is a copy and paste

Code:
hw:0,0
Code:
$ cd /dev
 /dev $ ls
agpgart          loop6               rtc0      tty24  tty56      ttyS29
alarm            loop7               sda       tty25  tty57      ttyS3
ashmem           loop-control        sda1      tty26  tty58      ttyS30
autofs           mapper              sda2      tty27  tty59      ttyS31
binder           mcelog              sda3      tty28  tty6       ttyS4
block            mem                 sda5      tty29  tty60      ttyS5
bsg              net                 sda6      tty3   tty61      ttyS6
btrfs-control    network_latency     sda7      tty30  tty62      ttyS7
bus              network_throughput  sg0       tty31  tty63      ttyS8
cdrom            null                sg1       tty32  tty7       ttyS9
cdrw             oldmem              shm       tty33  tty8       uinput
char             port                snapshot  tty34  tty9       urandom
console          ppp                 snd       tty35  ttyprintk  v4l
core             psaux               sr0       tty36  ttyS0      vcs
cpu              ptmx                stderr    tty37  ttyS1      vcs1
cpu_dma_latency  pts                 stdin     tty38  ttyS10     vcs2
disk             ram0                stdout    tty39  ttyS11     vcs3
dri              ram1                tty       tty4   ttyS12     vcs4
dvd              ram10               tty0      tty40  ttyS13     vcs5
dvdrw            ram11               tty1      tty41  ttyS14     vcs6
ecryptfs         ram12               tty10     tty42  ttyS15     vcs8
fb0              ram13               tty11     tty43  ttyS16     vcsa
fd               ram14               tty12     tty44  ttyS17     vcsa1
full             ram15               tty13     tty45  ttyS18     vcsa2
fuse             ram2                tty14     tty46  ttyS19     vcsa3
hpet             ram3                tty15     tty47  ttyS2      vcsa4
input            ram4                tty16     tty48  ttyS20     vcsa5
kmsg             ram5                tty17     tty49  ttyS21     vcsa6
log              ram6                tty18     tty5   ttyS22     vcsa8
loop0            ram7                tty19     tty50  ttyS23     vga_arbiter
loop1            ram8                tty2      tty51  ttyS24     vhost-net
loop2            ram9                tty20     tty52  ttyS25     video0
loop3            random              tty21     tty53  ttyS26     zero
loop4            rfkill              tty22     tty54  ttyS27
loop5            rtc                 tty23     tty55  ttyS28
But will kinda show in

Code:
$  cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc500000 irq 46
 $ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.25.
I know, clear as mud.

Last edited by rokytnji; 07-01-2013 at 01:09 AM.
 
Old 07-02-2013, 02:41 PM   #3
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
Thanks. I had to go into alsa and it gave me the choice of mikes to chose from: picked USB Camera. In VLC used hw:1,0 for the web cam mike.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snd_pcm_open() - how to choose device name. lvprabhu Linux - Hardware 0 08-26-2011 12:10 PM
VLC specifying audio capture device pbhat Linux - Software 0 06-02-2011 12:48 AM
Release audio device after capturing with vlc ralfbutler Linux - Software 0 01-23-2010 02:54 PM
Linux Audio Players - which to choose? Tom Nyskelo Linux - Software 3 01-31-2007 12:34 PM
Choose audio driver mashed Linux - Software 4 05-02-2006 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration