# Start building the feed with music
radio = random([music1])
radio = random(weights = [1, 6],[music2, radio])
radio = random(weights = [1,12],[music3, radio])
# Add the security, requests and smart crossfade
radio = fallback(track_sensitive = false, [smart_crossfade(fallback([nrj(request.queue(id="request")),radio])),security])
# Now add some jingles
radio = random(weights = [1, 7],[jingles, radio])
...
#Add support for live streams.
securelive = nrj(audio_to_stereo(input.harbor.ssl("live",port=8081,password="hackme",buffer=1.0)))
live = nrj(audio_to_stereo(input.harbor("live",port=8080,password="hackme",buffer=1.0)))
...
full = fallback(track_sensitive=false,
[securelive,live,lenny,radio])
# Stream it out
output.icecast(%mp3.vbr,
host = "localhost", port = 8000,
password = "hackme", mount = "music.mp3",
name="MYSTATION Music Service", description="This is the MYSTATION music stream. It is a stability fallback for the main stream (in case I'm streaming on a low-bandwidth connection and don't want to drop listeners), but it can certainly just be listened to independently.",
radio)
output.icecast(%vorbis,
host = "localhost", port = 8000,
password = "hackme", mount = "music.ogg",
name="MYSTATION Music Service", description="This is the MYSTATION music stream. It is a stability fallback for the main stream (in case I'm streaming on a low-bandwidth connection and don't want to drop listeners), but it can certainly just be listened to independently.",
radio)
output.icecast(%opus(vbr="unconstrained",bitrate=60),
host = "localhost", port = 8000,
password = "hackme", mount = "music.opus",
name="MYSTATION Music Service", description="This is the MYSTATION music stream. It is a stability fallback for the main stream (in case I'm streaming on a low-bandwidth connection and don't want to drop listeners), but it can certainly just be listened to independently.",
radio)
output.icecast(%mp3.vbr,
host = "localhost", port = 8000,
password = "hackme", mount = "stream.mp3",
name="MYSTATION Main Stream", description="The MyStation.io main stream.",
full)
output.icecast(%vorbis,
host="localhost",port=8000,password="hackme",
mount="stream.ogg",
name="MYSTATION Main Stream", description="The MyStation main stream.",
full)
Thanks,
Bill
Hi,
Liquidsoap should be able to perform the required conversions. Perhaps you have an extract from your script that we can have a look at to help you?
Romain
Hello,
I’m trying to set up an input.harbor with Liquidsoap 1.3.0 that accepts Vorbis or Opus and streams it to my mp3, Vorbis and Opus mount points.
However, when I try to stream in Opus, no audio is relayed.
I think the problem is that most Opus sources stream in 48KHZ but my mount points are 44.1KHZ.
How do I tell Liquidsoap to perform the necessary resampling?
Thanks,
Bill
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Savonet-users mailing list
https://lists.sourceforge.net/lists/listinfo/savonet-users