ok thank you
i made a second script that relays the first and run it with a second
instance of liquidsoap
#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/tmp/giss_relay.log")

url = "http://localhost:8000/kenitarem_radio.mp3";
relay = mksafe(input.http(url))

output.icecast.lame(
  restart=true, restart_delay=3, restart_on_crash=true,
  host="giss.tv",port=8000, user="source", password="****",
mount="kenitarem_radio.mp3",
  genre="Various_and_Mysterious", url="http://kenitarem.dontexist.com";,
  description="A radio station that stream copyleft and creative commons
music. Mostly ambient and experimental music.",
  name="[Kenitarem_Radio]", bitrate = 96, relay)

but the problem is that the output rencodes the local stream and the cpu
usage is about 10% higher(On pentium4 1.7).
Is there a way to not rencode the localstream and stream it as it is; If
there is not, rencode a stream to the same bitrate has an impact to
quality;

On Wed, May 16, 2012 at 1:08 AM, Peter Walter <[email protected]> wrote:

> **
> hi kostas,
>
> having faced a similar problem i decided to start a second liquidsoap
> process (this is possible) which grabs the output on localhost. in your
> case its input would look like:
>
> url = 
> "http://localhost:8000/kenitarem_radio.mp3";<http://localhost:8000/kenitarem_radio.mp3>
> radio = mksafe(input.http(url))
>
> regards
> peter
>
>
>
>
>
> On 05/15/12 23:13, kostas mitro wrote:
>
> Hi from greece
>
> I'm running liquidsoap 0.9.2 on debian squeeze and my outputs
> configuration is listed bellow
>
> 1 output.icecast.lame(
> 2  restart=true, restart_delay=3,
> 3  restart_on_crash=true,
> 4  host="localhost",port=8000, user="source", password="*****",
> mount="kenitarem_radio.mp3",
> 5  genre="Various_and_Mysterious", url="http://kenitarem.dontexist.com";,
> 6  description="A radio station that streams copyleft and creative commons
> music. Mostly ambient and experimental music.",
> 7  name="[Kenitarem_Radio]", bitrate=96, source)
> 8
> 9 output.icecast.lame(
> 10  restart=true, restart_delay=3, restart_on_crash=true,
> 11  host="giss.tv",port=8000, user="source", password="*****",
> mount="kenitarem_radio.mp3",
> 12  genre="Various_and_Mysterious", url="http://kenitarem.dontexist.com";,
> 13  description="A radio station that stream copyleft and creative commons
> music. Mostly ambient and experimental music.",
> 14  name="[Kenitarem_Radio]", bitrate=96, source)
>
> The second output to giss.tv host it is not very stable and sometimes i
> get cry socket error.
> When the disconnection occur the  first output to localhost also restarts
> but i dont want this. i tried to remove the 2,3 lines but the output to
> localhost
> don't restart at all(of course), if the connection to giss.tv is lost
> temporary.
>
> How can i change the configuration so the output to localhost never
> restart;
> Is necessary to run two different instances of liquidsoap; (if this is
> possible)
>
> Thank you in advance
>
> And also thank you for your beautiful work in stream media name
> LIQUIDSOAP!!!!!!!!!!!!!!!!!!!
>
> p.s Sorry about my english.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Savonet-users mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to