Hi Rob,

2013/2/18 Rob Canning <r...@spc.org>:
> On 02/18/2013 01:50 AM, Rob Canning wrote:
>> On 02/18/2013 01:10 AM, Romain Beauxis wrote:
>>> Hi Rob,
>>>
>>> Your issue should be fixed now. It'd be nice if you could test and
>>> confirm us that this is the case :-)
>> hi sam and romain,
>>
>>> Romain
>>>
>>> 2013/2/17 Samuel Mimram <smim...@gmail.com>:
>>>> Hi,
>>>>
>>>> Clearly some details need to be polished here. However, the following
>>>> script works:
>>>>
>>>> gst = input.gstreamer.audio(pipeline="uridecodebin
>>>> uri=mms://live1.rte.ie/wmtencoder/lyric.wma")
>>>> gst = buffer(mksafe(gst))
>>>> gst = mksafe(gst)
>> doesnt seem to have fixed it but i will have to try with a clear head
>> tomrrow
>>
>> so if you give it a bad link like this:
>>
>> gst = input.gstreamer.audio(pipeline="uridecodebin
>> uri=mms://live1.rte.ie/wmtencoder/xxxxxxxxxxxxxxxxxxxxlyric.wma")
>> gst = buffer(mksafe(gst))
>> gst = mksafe(gst)
>>
>> it wont hang ? it does here ... in the context of my code though...
>> will strip down my code down to basics tomorrow and test properly
> #!/usr/local/bin/liquidsoap
>
> set("log.file.path","000.log")
> set("log.stdout",true)
> set("log.level", 5)
>
> be = mksafe(sine(1000.))
>
> ie = input.gstreamer.audio(pipeline="uridecodebin
> uri=mms://live1.rte.ie/wmtencoder/lyricXXXXXXXXXXXXXXXXXXXXXXXXX.wma")
> ie = buffer(mksafe(ie))

You don't need to buffer anymore since the recent changes in
input.gstreamer.audio

> ie = mksafe(ie)

If you set fallible=true on the output then you don't need no mksafe at all.

That being said, there was this, hmm, glitch were you had to have two
active_source in the add below. This is also solved with the most
recent code as input.gstreamer.audio is no longer an active_source.

All together, this means the script should work fine with no mksafe
and no buffer at all.


> stereo = add(normalize=true,[ie,be])
> output.icecast(%vorbis(channels=2),
>    host = "localhost",port = 8800,
>    password = "xxx", mount = "000.ogg",
>    fallible=true,
>    stereo)

If you use fallible=true in the final output, you

> ok with the above  basic code this works - will have to investigate why
> it doesnt work in the bigger context.
> but...
> the .liq files hangs when i try to kill it:
>
> ^C2013/02/18 13:33:31 [main:3] Shutdown started!
> 2013/02/18 13:33:31 [main:3] Waiting for threads to terminate...
> 2013/02/18 13:33:31 [000(dot)ogg:4] Activations changed: static=[],
> dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source 000(dot)ogg gets down.
> 2013/02/18 13:33:31 [ogg.muxer:4] 000(dot)ogg: Setting end of track
> 1ad24aab.
> 2013/02/18 13:33:31 [ogg.muxer:4] 000(dot)ogg: Every ogg logical tracks
> have ended: setting end of stream.
> 2013/02/18 13:33:31 [000(dot)ogg:3] Closing connection...
> 2013/02/18 13:33:31 [add_6056:4] Activations changed: static=[], dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source add_6056 gets down.
> 2013/02/18 13:33:31 [mksafe:4] Activations changed: static=[], dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source mksafe gets down.
> 2013/02/18 13:33:31 [warp_prod_6051:4] Activations changed: static=[],
> dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source warp_prod_6051 gets down.
> 2013/02/18 13:33:31 [safe_blank:4] Activations changed:
> static=[mksafe:add_6056:000(dot)ogg:000(dot)ogg], dynamic=[].
> 2013/02/18 13:33:31 [safe_blank:4] Activations changed: static=[],
> dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source safe_blank gets down.
> 2013/02/18 13:33:31 [mksafe:4] Activations changed: static=[], dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source mksafe gets down.
> 2013/02/18 13:33:31 [sine_6039:4] Activations changed:
> static=[mksafe:add_6056:000(dot)ogg:000(dot)ogg], dynamic=[].
> 2013/02/18 13:33:31 [safe_blank:4] Activations changed: static=[],
> dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source safe_blank gets down.
> 2013/02/18 13:33:31 [sine_6039:4] Activations changed: static=[],
> dynamic=[].
> 2013/02/18 13:33:31 [source:4] Source sine_6039 gets down.
> 2013/02/18 13:33:31 [clock.wallclock_main:3] Streaming loop stopped.
> 2013/02/18 13:33:31 [threads:3] Thread "wallclock_main" terminated (1
> remaining).
>
>
> ^C^C^C^C^C^C^C

My gstreamer install here does not support the wma uri but I've been
testing with:
  uri=http://radiopi.org:8080/hiphop
And it seems to work like a charm..

Does it work for you with the uri above instead of yours?

Thanks for your help and patience!
Romain

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to