Skip to contentSkip to conversation

grabing audio from capture card

DISCUSSION [email protected] 2 participants 2 messages Oct 16, 2008 – Oct 17, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello!

I have have a capture card (Prolink Pixelview) and i'm currently trying to grab audio samples from it. It has an "audio input" and an "audio output"

I tested audio using xawtv (Included a "p2 to rca adaptor" to plug a digital camcorder in audio input.) and it worked well using the loopback cable that conects "audio out" from tv card to the sound card "line in" but did not work without using this loopback cable...

My device generates the following output:

cap.driver: bttv
cap.card: BT878 video (Prolink Pixelview
cap.bus_info: PCI:0000:05:01.0
cap.version: 2321

Printing /dev/video0 capabilities

V4L2_CAP_VIDEO_CAPTURE
V4L2_CAP_VIDEO_OVERLAY
V4L2_CAP_VBI_CAPTURE
V4L2_CAP_TUNER
V4L2_CAP_READWRITE
V4L2_CAP_STREAMING

What device should i use to grab audio samples (videox ?) ? The usage of the v4l api is the same to grab audio ? (memory mapping etc?)

I observed that xawtv did not playback any audio without the loopback cable, so it seems that it is not possible to capture audio using v4l without this cable, is it true ???

Please help !
Thank you
Daniel

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

I don't know all that much about the subject, but I just answered a similar query a few days ago. You may have some luck reading the v4l
wiki: http://www.linuxtv.org/v4lwiki/index.php/Main_Page . In particular, I think the driver you will want to load is "snd-bt87x" for your audio. See "http://www.linuxtv.org/v4lwiki/index.php/Snd-bt87x_(alsa_bt878_driver)" for that. Although, it's not specifically about your card, you might find the commands at the bottom section of this page to be mainly what you need (maybe with device-name customizations for your system) too:
"http://www.linuxtv.org/v4lwiki/index.php/Saa7134-alsa". After you've loaded your ALSA driver, you may want to cat /proc/asound/cards to get an idea about the order your cards are in for their device names. I like the low-latency "sox" command at the bottom of the saa7134-alsa page with my card, such as: "
sox -q -c 2 -s -r 32000 -t ossdsp /dev/dsp1 -t ossdsp -r 32000 /dev/dsp", although it hogs all output to the soundcard. (Note:
/dev/dsp1 and /dev/dsp should reflect the device names for your capture card, and soundcard, respectively.)

Good luck,

Lucas

Quoted 46 lines · On Thu, Oct 16, 2008 at 2:27 PM, <[email protected]> wrote:

Hello!

I have have a capture card (Prolink Pixelview) and i'm currently trying to grab audio samples from it. It has an "audio input" and an "audio output"

I tested audio using xawtv (Included a "p2 to rca adaptor" to plug a digital camcorder in audio input.) and it worked well using the loopback cable that conects "audio out" from tv card to the sound card "line in" but did not work without using this loopback cable...

My device generates the following output:

cap.driver: bttv
cap.card: BT878 video (Prolink Pixelview
cap.bus_info: PCI:0000:05:01.0
cap.version: 2321

Printing /dev/video0 capabilities

V4L2_CAP_VIDEO_CAPTURE
V4L2_CAP_VIDEO_OVERLAY
V4L2_CAP_VBI_CAPTURE
V4L2_CAP_TUNER
V4L2_CAP_READWRITE
V4L2_CAP_STREAMING

What device should i use to grab audio samples (videox ?) ? The usage of the v4l api is the same to grab audio ? (memory mapping etc?)

I observed that xawtv did not playback any audio without the loopback cable, so it seems that it is not possible to capture audio using v4l without this cable, is it true ???

Please help !
Thank you
Daniel

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

Signature · 9 lines
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
On a related note, also see BadVista.org: Stopping Vista adoption by
promoting free software

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list