I have a very simple setup Liquidsoap => IceCast server. When I run
liquidsoap it loads the config, then terminates with no errors.
Linux hostname 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
Versions 1.1.1 installed in /usr/local/bin - Compiled by hand
Versions 1.2.0 installed in ~/.opam/4.02.1/bin/liquidsoap - Installed using
OPAM.
I have tried everything from changing the mountpoint to changing the
encoding to vorbis, mp3, and back again.
I can stream using ogg to this icecast server with the credentials located
in the config file from another machine, but not locally.
It's not firewall related, I see LS connecting to icecast, and it registers
as a source but it just stops right away.
I have also modified the Liquidsoap config to play 1 mp3 instead of a play
list but it didnt help.
The thing that confuses me is it plays from other sources.
Any help would be greatly appreciated. Cheers,
Rick
** Please note I have removed identifying IPs from log and config files **
Liquidsoap Logs;
[lsd@drumbase configs]$ ./radio2.cfg
2016/04/26 11:05:05 >>> LOG START
2016/04/26 11:05:05 [protocols.external:3] Found
"/home/lsd/.opam/system/lib/liquidsoap/lib/liquidsoap/1.2.0/liquidget".
2016/04/26 11:05:05 [main:3] Liquidsoap 1.2.0
2016/04/26 11:05:05 [main:3] Using: bytes=[OCaml strictly before 4.02]
pcre=6.2.5 dtools=0.3.2 duppy=0.5.0 cry=0.3.0 mm=0.3.0 ogg=0.5.0
vorbis=0.6.2 mad=0.4.5 dynlink=[distributed with Ocaml] lame=0.3.3
aacplus=0.2.2 fdkaac=0.2.1 taglib=0.3.2 camomile=0.8.5
2016/04/26 11:05:05 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2016/04/26 11:05:05 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2016/04/26 11:05:05 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2016/04/26 11:05:05 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2016/04/26 11:05:05 [threads:3] Created thread "generic queue #1".
2016/04/26 11:05:05 [threads:3] Created thread "generic queue #2".
2016/04/26 11:05:05 [playlist(dot)pls:3] Loading playlist...
2016/04/26 11:05:05 [playlist(dot)pls:3] No mime type specified, trying
autodetection.
2016/04/26 11:05:05 [playlist(dot)pls:3] Playlist treated as format
application/x-mpegURL
2016/04/26 11:05:05 [playlist(dot)pls:3] Successfully loaded a playlist of
36 tracks.
2016/04/26 11:05:05 [listen(dot)ogg:3] Connecting mount listen.ogg for
[email protected]...
IceCast Logs;
x.x.x.x - - [26/Apr/2016:11:03:32 -0400] "SOURCE /listen.ogg HTTP/1.0" 200
19 "-" "Liquidsoap/1.2.0 (Unix; OCaml 4.01.1+dev2-2013-12-18+CLOSED)" 0
Liquidsoap Configuration;
#!/home/lsd/.opam/system/bin/liquidsoap -v --debug
# Log dir
set("log.file.path", "/home/lsd/logs/radio2.log")
#set("log.file",false)
#set("log.stdout",true)
set("log.level",3)
# Music
myplaylist = mksafe(playlist("/home/lsd/playlists/playlist.pls"))
radio = myplaylist
# Stream it out
output.icecast(
%vorbis,
host = "x.x.x.x",
port = 8000,
name = "DBaseRadio",
public = false,
url = "http://x.x.x.x:8000/",
password = "*",
mount = "listen.ogg",
radio
)
Shoutcast Config
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>*</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>*</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>iceadmin</admin-user>
<admin-password>*</admin-password>
</authentication>
<shoutcast-mount>/listen.ogg</shoutcast-mount>
<hostname>x.x.x.x</hostname>
<listen-socket>
<port>8000</port>
<bind-address>x.x.x.x</bind-address>
<shoutcast-mount>/listen.ogg</shoutcast-mount>
</listen-socket>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users