[gst-devel] FM radio using v4lsrc

Stefan Kost ensonic at hora-obscura.de
Tue Feb 16 16:54:40 CET 2010


hi,

4ernov wrote:
> Hello,
> we develop an application receiving FM radio based on GStreamer. But I
> can't understand how to create a pipeline with v4lsrc or v4l2src only
> for radio signal (without video). I tried
>
> gst-launch -vvv v4l2src device=/dev/radio0 ! decodebin ! pulsesink

this cannot work. v4l2cards don't capture audio - they simple have an
analog connection to your sound card. You can only use the tuner
interface on v4l2 to tune the station. And you could capture from
alsasrc (need to set the right capture device).

Stefan

>
> in command line at first, but it fails:
>
> (gst-launch-0.10:2489): GLib-WARNING **: g_set_prgname() called
> multiple times
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device
> '/dev/radio0' is not a capture device.
> Additional debug info:
> v4l2_calls.c(504): gst_v4l2_open ():
> /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Capabilities: 0x50400
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> Could anybody suggest me the right pipeline for FM radio signal
> processing or maybe the right parameters for v4lsrc or v4l2src sources?
>
> Thank you very much in advance,
> Alexey Chernov
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list