Quote:
Hi,
I'm using StereoTool since one year in the community radio where I work, but it's the first time I post here.
I'm stuck with a streaming/VLC related problem and I hope you can help me :
I'm trying to setup a (headless) PC with Debian 10 as an all-in-one encoder (process/stream/STL) like this :
soundcard > StereoTool > liquidsoap > icecast > ...
ST feeding liquidsoap via the streaming output to the liquidsoap harbor
But the streaming output section doesnt appear in the gui.
I noticed VLC is required to use the streaming ouput an dVLC 3.0.12 x64 is installed.
I use ST 9.70 x64 gui (alsa).
Thanks !
Yann
streaming.liq : (Ubuntu 20.04)
#!/usr/share/liquidsoap//bin/liquidsoap
%include "/usr/share/liquidsoap/libs/utils.liq"
set("log.file.path","/tmp/stream.log")
set("frame.audio.size", 2048)
# Lees audiokaart ingang en stuur deze door naar de processing
radio = input.pulseaudio(clock_safe=false)
# Stereotool verzorgt de processing
radio = pipe(process='/usr/bin/stereo_tool_cmd_64 - - -s /opt/optimod8100.sts -q -k "<3faxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxee>"', radio)
# Normaliseer het geprocessed geluid
radio = normalize(radio)
# Het geprocesst geluid naar de stream server
output.icecast(
%mp3(bitrate = 192),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/live",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mksafe(radio)
)
output.icecast(
%mp3(bitrate=24, samplerate=22050, mono=true),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/nokia",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mean(mksafe(radio))
)
# Sla een opname op zoals deze is uitgezonden
output.file(%mp3(bitrate=192),"/home/lrt/opname/opname-%H.mp3", reopen_when={0m0s},mksafe(radio))
streaming.liq : (Debian 10)
#!/usr/bin/liquidsoap
set("log.file.path","/tmp/stream.log")
set("frame.audio.size", 2048)
# Lees audiokaart ingang en stuur deze door naar de processing
radio = input.pulseaudio(clock_safe=false)
# Stereotool verzorgt de processing
radio = pipe(process='/usr/bin/stereo_tool_cmd_64 - - -s /opt/optimod8100.sts -q -k "<3faxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxee>"', radio)
# Normaliseer het geprocessed geluid
radio = normalize(radio)
# Het geprocesst geluid naar de stream server
output.icecast(
%mp3(bitrate = 192),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/live",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mksafe(radio)
)
output.icecast(
%mp3(bitrate=24, samplerate=22050, mono=true),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/nokia",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mean(mksafe(radio))
)
# Sla een opname op zoals deze is uitgezonden
output.file(%mp3(bitrate=192),"/home/lrt/opname/opname-%H.mp3", reopen_when={0m0s},mksafe(radio))
For example radio automation with stereotool (key not included !), see
https://linuxradio.tools
We use it in Wageningen, Radio station RTV Rijnstreek
HARBOUR EXAMPLE:
#!/usr/share/liquidsoap//bin/liquidsoap
%include "/usr/share/liquidsoap/libs/utils.liq"
%include "/usr/share/liquidsoap/libs/gstreamer.liq"
set("log.file.path","/tmp/stream.log")
set("frame.audio.size", 2048)
# Lees audiokaart ingang en stuur deze door naar de processing
input = input.pulseaudio(clock_safe=false)
# /mount (webcast client at
https://dj.progressieverock.nl)
live = input.harbor("mount",port=9000,password="Wehkhhkgljl%")
# You may insert a jingle transition here...
radio = fallback(track_sensitive=false, [live,input])
# Stereotool verzorgt de processing
radio = pipe(process='/usr/bin/stereo_tool_cmd_64 - - -s /opt/optimod8100.sts -q -k "<3faxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxee>"', radio)
# Normaliseer het geprocessed geluid
radio = normalize(radio)
# Het geprocesst geluid naar de stream server
output.icecast(
%mp3(bitrate = 192),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/live",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mksafe(radio)
)
output.icecast(
%mp3(bitrate=24, samplerate=22050, mono=true),
host = "server6.radio-streams.net",
user = "source",
port = 8033,
password = "xxxxx",
mount = "/nokia",
icy_metadata="true",
genre = "Prog Rock",
name = "Progressieve Rock",
url = "
https://progressieverock.nl",
description = "Progressieve Rock",
mean(mksafe(radio))
)