Hi,

If you set("log.level", 5) you will see more debug messages, amongst
whose the precise pipeline used by Liquidsoap. In particular, you can
see that it takes of adding the sink by itself, so nothing to do here:

2013/02/11 08:41:10 [io.gstreamer:5] GStreamer pipeline:  playbin
uri=mms://live1.rte.ie/wmtencoder/lyric.wma ! decodebin ! audioconvert
! audioresample ! appsink max-buffers=10 drop=false sync=false
name="audio_sink"
caps="audio/x-raw,format=S16LE,layout=interleaved,channels=2,rate=44100"

However, your problem comes from the fact that you are using the wrong
operator de decode audio: playbin will construct a whole pipeline to
play the file, including a sink to the audio card (so it does not make
sense to connect it to something else, thus the error you see). What
you want is more uridecodebin which constructs only the decoding part
of the pipeline. And actually the following should work:

gst = input.gstreamer.audio(pipeline="uridecodebin
uri=mms://live1.rte.ie/wmtencoder/lyric.wma")

Cheers,

Samuel.

On Sun, Feb 10, 2013 at 11:13 PM, Rob Canning <[email protected]> wrote:
> hi,
>
> playing with input.gstreamer to try and get access to dirty streams
> (.wma, .ra etc) instead of input.external / input mplayer as i was
> having problems with that. not sure what sort of sink i should have ...
> any pointers welcome!
> thanks
> rob
>
> #!/usr/local/bin/liquidsoap
> set("log.file.path","gst.log")
> set("log.stdout",true)
>
> gst = input.gstreamer.audio(pipeline="playbin
> uri=mms://live1.rte.ie/wmtencoder/lyric.wma")
>
> output.icecast(%opus(),
>    host = "localhost",port = 8800,password = "xxxxx", mount = "gst.ogg",
> fallible=true,
>    gst)
>
> 2013/02/11 01:59:12 [threads:3] Created thread "wallclock_gstreamer" (1
> total).
> 2013/02/11 01:59:12 [clock.wallclock_gstreamer:3] Streaming loop starts,
> synchronized by active sources.
> 2013/02/11 01:59:12 [clock.wallclock_gstreamer:2] Source
> input.gstreamer.audio_video_6033 failed while streaming:
> Gstreamer.Failure_msg("could not link playbin0 to decodebin0")!
> 2013/02/11 01:59:12 [clock.wallclock_gstreamer:3] Raised by primitive
> operation at file "", line 0, characters 0-0
> 2013/02/11 01:59:12 [clock.wallclock_gstreamer:2] Source gst(dot)ogg
> failed while streaming: Gstreamer.Failure_msg("could not link playbin1
> to decodebin1")!
> 2013/02/11 01:59:12 [clock.wallclock_gstreamer:3] Raised by primitive
> operation at file "", line 0, characters 0-0
> 2013/02/11 01:59:12 [gst(dot)ogg:3] Closing connection...
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to