Hi,

Artur Skupienski - DJ wrote:
> Hi, thanks for your help, but really need more, what exactly do you suggest 
> to change on icecast.xml?

nothing

> I try to replace 127.0.0.1 for my IP adress, and also I restarted icecast 
> from Centova Panel, after than I try to run my script on liquidsoap without 
> results. 
> What about my code? I fair, it is not right or I doing something wrong....

Check this out...

> #!/usr/bin/liquidsoap
> set("log.file.path","/usr/local/var/log/liquidsoap/test.log")
> set("frame.size",4704)
> set("log.stdout",true)
> ################
> # Sources
> s = mksafe(input.http("http://94.23.207.106:8000/stream";))

You are using a stream that possibly does not exist yet to be the safe 
source, try something else... you can try a wav file from the system if 
you want, they might be in /usr/share/sounds

> #################
> # ICECAST MOUNTS
> output.icecast.aacplusenc(s,mount="aacplusenc.aac",password="hackme",host="http://94.23.207.106:8001/stream";)
> #################

and here stream on port 8000...

just to be sure try:

#!/usr/bin/liquidsoap
set("log.file.path","/tmp/test.log")
# I usually put /tmp/test.log since I don't need to keep log over reboot
set("frame.size",4704)
set("log.stdout",true)
s = mksafe(single("/usr/share/sounds/alsa/Rear_Center.wav"))

output.icecast.aacplusenc(start=true, restart=true, restart_delay=5, 
host="THEHOST", port=8000, user="source", password="hackme", 
genre="test", url="test", description="test", public=true, 
mount="aacplusenc.aac", name="test", bitrate=48, s)

works, tested with icecast2 and icecast2 kh branch.

You need to specify some stuff, as you can see from the documentation of 
the latest stable trunk:

output.icecast.aacplusenc

(?id:string, ?start:bool, ?restart:bool,
  ?restart_delay:int, ?host:string, ?port:int,
  ?user:string, ?password:string, ?genre:string,
  ?url:string, ?description:string, ?public:bool,
  ?dumpfile:string, ?mount:string, ?name:string,
  ?protocol:string, ?aacplusenc:string, ?bitrate:int,
  ?restart_on_crash:bool, ?restart_on_new_track:bool,
  ?restart_encoder_delay:int,
  ?headers:[(string*string)], source)->source

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to