[gst-devel] FM radio using v4lsrc

Alexey Chernov 4ernov at gmail.com
Tue Feb 16 21:35:24 CET 2010


Thank you, Thiago, today I tried your friend's element and it seems to work 
just fine for me, but I also want to try to get the same result using only 
v4l2src for tuning and aux pipeline for audio transmitting, as Stefan pointed 
out. But anyway, thank you for working solution!

> On Thu, Feb 11, 2010 at 12:47 PM, 4ernov <4ernov at gmail.com> 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
> >
> > 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?
> 
> By looking at v4l2src output caps, it doesn't seem to support radio
> reception (there are only video formats). Maybe you could try adding
>  support to it or writing a separate element for audio (in case the
>  calls/interface is really different).
> 
> Btw, a friend of mine had developed an element for radio playback, it
>  worked for his purposes. You can take a look at it:
> http://gforge.embedded.ufcg.edu.br/projects/gstradiobin/
> 
> > 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