[gst-devel] Problem combining uridecodebin, synesthesia and autoaudiosink on Mac

Stefan Kost ensonic at hora-obscura.de
Wed Feb 17 15:30:16 CET 2010


Francis Rammeloo wrote:
> Hi,
>
> I'm experimenting a bit with the audio and synesthesia element on Mac.
>
> This works:
>
> gst-launch uridecodebin uri=http://81.88.37.2:8030 ! audioconvert !
> audioresample ! autoaudiosink
>
>
> This does not:
>
> gst-launch uridecodebin uri=http://81.88.37.2:8030 ! audioconvert !
> audioresample ! tee name=t ! autoaudiosink t. ! queue ! synaesthesia !
> ffmpegcolorspace ! osxvideosink
>
> Output:
> (gst-launch-0.10:21959): GLib-WARNING **: g_set_prgname() called multiple times
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element
> /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: Could not
> initialize supporting library.
> Additional debug info:
> gstautoaudiosink.c(381): gst_auto_audio_sink_detect ():
> /GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0:
> Failed to set target pad
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> I've been able to make it work on Windows using dshowvideosink, and
> dshowaudiosink. I wonder what I'm doing wrong on Mac?
>   

could it be that synaesthesia and your mac audio sink do not share any
compatible format. You have converters before tee. So gst tries to find
a common format for both. Does this work:

gst-launch uridecodebin uri=http://81.88.37.2:8030 ! audioconvert !
audioresample ! tee name=t ! autoaudiosink t. ! queue ! audioconvert !
synaesthesia ! ffmpegcolorspace ! osxvideosink

Stefan
> Grts,
> Francis
>
> ------------------------------------------------------------------------------
> 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