Unable to capture audio from a tv tuner
edhoari
edhoari.s at gmail.com
Fri Mar 1 09:43:15 PST 2013
Hi all,
I'm fairly new with Gstreamer and trying to build a application to digitize
analog video. I'm using Avermedia Volar Go M as capture device for composite
input.
My problem is that I cannot get any audio from it. I can capture video
without problem with the following command
gst-launch-0.10 v4l2src device=/dev/video1 !
'video/x-raw-yuv,width=640,height=480' ! ffmpegcolorspace ! xvimagesink
And here is the command to capture audio
gst-launch -e alsasrc device=hw:2,0 ! audioconvert ! lamemp3enc target=1
bitrate=128 cbr=true ! filesink location=audio.mp3
But I get nothing from audio input. I can confirm that the card is working
just fine because the following command can capture video and audio without
problem.
mplayer -tv
driver=v4l2:input=1:device=/dev/video1:alsa=1:adevice=hw.1:immediatemode=0
tv:// -ao sdl
This is audio capture card list in my system:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Cx231xxAudio [Cx231xx Audio], device 0: Cx231xx Audio [Conexant
cx231xx Capture]
Subdevices: 1/1
Subdevice #0: subdevice #0
Any help would be appreciated.
Regards
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Unable-to-capture-audio-from-a-tv-tuner-tp4658837.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list