Hi,

2013/2/4 Rob Canning <[email protected]>:
> On 02/05/2013 01:12 AM, Romain Beauxis wrote:
>>
>> Hi Rob!
>>
>> 2013/2/2 [email protected] <[email protected]>:
>>>
>>> am having some problems with input.external,
>>>
>>> input.mplayer had no -playlist so i made a new def called mplayerpls
>>>
>>> i simply copied input.mplayer and added the playlist flag
>>> now when i listen to the ogg mountpoint it is noisy - sounds like a
>>> combination of raw data and the original stream source getting piped to
>>> the output
>>>
>>> i am guessing i am missing some encoding step and the raw pcm is ending
>>> up inside a ogg container?? dunno..
>>>
>>> any pointers? code below:
>>>
>>> (i am trying to get a bunch of ugly streams in to liquidsoap realaudio
>>> and the like - is the mplayer approach the best way to go?)
>>>
>>> rob
>>> rob@tzara:~$ liquidsoap --version
>>> Liquidsoap 1.0.0+scm (default@8c2ac2194e8c:20120125:093126)
>>> rob@tzara:~$ uname -a
>>> Linux tzara 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64
>>> GNU/Linux
>>>
>>>
>>> #!/usr/local/bin/liquidsoap
>>>
>>> set("log.level",5)
>>> set("log.file.append",true)
>>> set("log.file.path","/var/log/liquidsoap/newrk.log")
>>> set("log.file.perms",384)
>>>
>>> def input.mplayerpls(~id="input.mplayerpls",
>>>           ~restart=true,~restart_on_error=false,
>>>           ~buffer=0.2,~max=10.,s) =
>>>    input.external(id=id,restart=restart,
>>>        restart_on_error=restart_on_error,
>>>        buffer=buffer,max=max,
>>>        "mplayer -really-quiet \
>>>                -ao pcm:file=/dev/stdout \
>>>                -vc null -vo null -playlist #{quote(s)} \
>>>                      2>/dev/null")
>>> end
>>>
>>> ma =
>>>
>>> input.mplayerpls("http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-128k";)
>>
>> What happens if you manually do something like:
>>    mplayer -really-quiet -ao pcm:file=/tmp/bla.wav -vc null -vo null
>> -playlist uri
>>
>> Is the resulting /tmp/bla.wav file ok?
>
>
> sorry - its all good now :/ working like a dream, not sure what changed -
> all i can think is that i had some bad monitoring situation locally - sorry
> about that.

Excellent news, no need to be sorry :-)

> i am about to build latest git source to try out opus and gstreamer stuff -
> i downloaded ubuntu12.10 on my local machine so thats fine - will be a bit
> trickier on debian server to get the gstreamer1.x working maybe - will there
> be a debian package in your own repos for the new upcoming release?

We will provide an official debian package that will only be available
in the experimental distribution, due to unstable being frozen (sic).

Indeed, gstreamer 1.x may be difficult to deploy on a server but it is
always desirable for us to stick to a recent version. By the time a
new distribution is released, it will contain as up to date as
possible software..

In the mean time, you may be able to recompile hand-picked packages,
tho that can be pain in the ass indeed... Another possiblity is to see
with the sourcefabric, they usually provide .deb packages their, tho I
have no idea about their supported distributions and plans for the
upcoming 1.1 release..

Romain

------------------------------------------------------------------------------
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