[gst-devel] FM radio using v4lsrc
thiagossantos at gmail.com
thiagossantos at gmail.com
Fri Feb 12 12:04:05 CET 2010
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
>
>
--
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100212/f1f35c6b/attachment.htm>
More information about the gstreamer-devel
mailing list