Problem combining uridecodebin, synesthesia and autoaudiosink on Mac

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem combining uridecodebin, synesthesia and autoaudiosink on Mac

Francis Rammeloo
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?

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem combining uridecodebin, synesthesia and autoaudiosink on Mac

Francis Rammeloo
Note: I forgot that osxvideosink doesn't work from gst-launch.
However, the the pipeline it also doesn't work if I parse it with
gst_parse_launch.

2010/2/12 Francis Rammeloo <[hidden email]>:

> 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?
>
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem combining uridecodebin, synesthesia and autoaudiosink on Mac

Stefan Sauer
In reply to this post by Francis Rammeloo
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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel