Hey Alex,
Thanks for the fast reply! I got the current setup to work :)

url = "http://host:8000/mp3_high.mp3";
source = input.http(url)

output.icecast(
  %mp3(bitrate=32, samplerate=22050, stereo=false),
  fallible=true,
  mount="/mp3_very_low.mp3",
  host="host", port=8000, password="foo",
  genre="experimental", public=false,
  url="host:8000/mp3_very_low.mp3",
  mean(source))

output.icecast(
  %mp3(bitrate=64),
  fallible=true,
  mount="/mp3_low.mp3",
  host="host", port=8000, password="foo",
  genre="experimental", public=false,
  url="host:8000/mp3_low.mp3",
  source)

Liquidsoap looks promising, I think we can use it well for our needs! Thanks a 
lot!

Have a nice weekend,
Bernd

On 09.08.2013, at 12:19, Alexander Dal Farra wrote:

> Hi Bernd,
> 
> the problem with your script is the "mksafe" operator that makes the
> source 'available' for the outputs at all times, even when there is an
> error on it. This is not a bug, it's a great feature that shall make the
> transcoded mountpoints available even when something is wrong on the
> source.
> 
> However, if you want to get rid of the mountpoints on the icecast server,
> simply leave the mksafe away, like this:
> 
> # A HTTP input
> s = input.http("http://sourceserver/mountpoint";)
> 
> 
> Good luck!
> Alex


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to