All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon May 31, 2021 6:18 pm 

Joined: Mon May 31, 2021 6:00 pm
Posts: 2
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


Top
   
PostPosted: Fri Sep 03, 2021 10:05 pm 

Joined: Sun Feb 05, 2017 4:10 pm
Posts: 8
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))
)


Top
   
PostPosted: Tue Sep 07, 2021 9:41 am 

Joined: Mon May 31, 2021 6:00 pm
Posts: 2
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited