Stereo Tool https://forums.stereotool.com/ |
|
Streaming output section on Linux https://forums.stereotool.com/viewtopic.php?f=2&t=30688 |
Page 1 of 1 |
Author: | yannprim [ Mon May 31, 2021 6:18 pm ] |
Post subject: | Streaming output section on Linux |
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 |
Author: | sverrips [ Fri Sep 03, 2021 10:05 pm ] |
Post subject: | Re: Streaming output section on Linux |
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)) ) |
Author: | yannprim [ Tue Sep 07, 2021 9:41 am ] |
Post subject: | Re: Streaming output section on Linux |
Hi sverrips, thanks for your reply. I also tried to do this with pipe() in LS as you suggest but it's not working. My question was about Stereo Tool outputing audio via "streaming output", that i can catch it with a harbor in LS. but I did'nt find how to enable straming output on linux... My workaround was to use Jack between ST and LS. It's running since with no problem or drops. |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |