Last active
February 27, 2016 10:06
-
-
Save svandragt/af43c07d5842c9c429d5 to your computer and use it in GitHub Desktop.
LiquidSoap flow, connecting to http://example.com:8124 transcoding an ice cast stream to a shoutcast server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set("log.file",false) | |
set("log.stdout",true) | |
source_url = "http://localhost:8000/traktor.ogg" | |
output_host = "example.com" | |
output_port = 8124 | |
output_pass = "mypassword" | |
s = input.http(buffer=4.0,source_url) | |
output.shoutcast( | |
%mp3(bitrate=192), | |
host=output_host, | |
port=output_port, | |
password=output_pass, | |
fallible=true, | |
url="http://#{output_host}:#{output_port}", | |
s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment