Sorry, it's me again.
I have looked at it a little bit more and found another thing.
streams=[("mp3/128k","http://ice.kdks.eu:8000/radio"),("vorbis/128k","http://ice.kdks.eu:8000/radio.ogg")],
means that you output the vorbis stream in quality 0.4. The default for
vorbis tends to be 0.3, which would
be a 96k stream like
("vorbis/96k","http://ice.kdks.eu:8000/radio.ogg")
The section
output.icecast(%vorbis,
host="localhost",
port=8000,password="******",
mount="radio.ogg",
full
)
# Output the stream without live in OGG
output.icecast(%vorbis,
host="localhost",
port=8000,password="******",
mount="radio_nolive.ogg",
radio
)
could need modification,
like
output.icecast(%vorbis(samplerate=48000, channels=2, quality=0.4)
host="localhost",
port=8000,password="******",
mount="radio.ogg",
full
)
# Output the stream without live in OGG
output.icecast(%vorbis(samplerate=48000, channels=2, quality=0.4)
host="localhost",
port=8000,password="******",
mount="radio_nolive.ogg",
radio
)
Maybe you need 44100 instead of 48000 as sample rate
I have had too much coffee now, so this should just be considered "just
in case pointers".
If you want to be on the safe side, wait for better replies on the
mailing list.
Regards,
Per Gunnarsson
On 2015-11-13 10:51, [email protected] wrote:
> Hi,
>
> I just started using Liquidsoap with Icecast2. I'm trying to get flows
> operational, but I'm having a problem with
> 'stream' parameter and my webradio is not listed. I've Debian Jessie
> installed on my server.
>
> This is my script:
>
> #!/usr/bin/liquidsoap
> # Log dir
> set("log.file.path","/var/log/liquidsoap/radio.log")
>
> # Print log messages to the console,
> # can also be done by passing the -v option to liquidsoap.
> set("log.stdout", true)
>
> # Use the telnet server for requests
> set("server.telnet", true)
>
> # Music
> default = single("/home/kurto/music/singles/default.ogg")
> day = playlist("/home/kurto/music/day/day.pls")
> night = playlist("/home/kurto/music/night/night.pls")
>
> # Some jingles
> jingles = playlist("/home/kurto/music/jingles/jingles.pls")
>
> # Play user requests if there are any,
> # otherwise one of our playlists,
> # and the default file if anything goes wrong.
> radio = fallback([ request.queue(id="request"),
> switch([({ 6h-22h }, day),
> ({ 22h-6h }, night)]),
> default])
>
> # If something goes wrong, we'll play this
> security = single("/home/kurto/music/singles/default.ogg")
>
> # Now add some jingles
> radio = random(weights = [1, 4],[jingles, radio])
>
> # And finally the security
> radio = fallback(track_sensitive = false, [radio, security])
>
> # Add the ability to relay live shows
> full =
> fallback(track_sensitive=false,
> [input.http("http://localhost:8000/live.ogg"),
> radio])
>
> radio = register_flow(
> radio="IceRadio",
> website="http://ice.kdks.eu/",
> description="Streaming and Broadcasting Live Music",
> genre="Electronic",
> user="******",
> password="******",
>
> streams=[("mp3/128k","http://ice.kdks.eu:8000/radio"),("vorbis/128k","http://ice.kdks.eu:8000/radio.ogg")],
> radio
> )
>
> # Output the full stream in OGG and MP3
> output.icecast(%mp3,
> host="localhost",
> port=8000,
> password="******",
> mount="radio",
> full
> )
>
> output.icecast(%vorbis,
> host="localhost",
> port=8000,password="******",
> mount="radio.ogg",
> full
> )
>
> # Output the stream without live in OGG
> output.icecast(%vorbis,
> host="localhost",
> port=8000,password="******",
> mount="radio_nolive.ogg",
> radio
> )
>
>
> Thanks,
> Steve
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users