Page 1 of 1

Capturing from a Soundblaster Audigy

Posted: 06 Oct 2009 11:12
by stees
Hi,

I'm trying to capture video & audio with VLC. I can get to the video stream via my capture card on /dev/video0 but I'm having trouble getting anything from my sound card.

For info, lspci shows:

Code: Select all

06:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
I'm running Fedora 10 with a pretty basic setup. When I run the Gnome Sound Recorder, I can record the audio and play it back so the sound card is working properly. I ran lsof while the sound recorder was capturing to try and work out what device the soundblaster was showing up as:

Code: Select all

mixer_app 3076 insitetv 21u CHR 116,13 0t0 6243 /dev/snd/controlC0 pulseaudi 4855 insitetv mem CHR 116,12 6220 /dev/snd/pcmC0D0c pulseaudi 4855 insitetv 19u CHR 116,13 0t0 6243 /dev/snd/controlC0 pulseaudi 4855 insitetv 25u CHR 116,13 0t0 6243 /dev/snd/controlC0 pulseaudi 4855 insitetv 26u CHR 116,12 0t0 6220 /dev/snd/pcmC0D0c
So, basically, when I use /dev/snd/pcmC0D0c as the audio device in VLC, I get nothing even though I get audio from other programs. When I run VLC with both audio & video devices, lsof only shows the video device being used by VLC, it shows nothing to do with audio at all.

Can anyone suggest what I should do? I'd be grateful for any help!

Thanks,
Steve

Re: Capturing from a Soundblaster Audigy

Posted: 06 Oct 2009 12:03
by xtophe
What vlc version do you use?

For me it looks like you use pulseaudio on top of ALSA and so should use the alsa:// module in 1.0.x or the v4l2 module in 0.9.x

Re: Capturing from a Soundblaster Audigy

Posted: 06 Oct 2009 13:17
by stees
Thanks, I was using v4l2 in 0.9.x, but just updated to 1.0.2

Would you be able to tell me the device string to enter for the audio device name as I'm unfamiliar with using anything other than things in /dev/

Sorry for my ignorance, but I've never really dealt with audio in Linux very much!