After upgrading liquidsoap to 1.3.5, it crashes as soon as the stream starts.
Downgrading to 1.3.4 solved the problem. opam did not downgrade any of the
dependencies when downgrading liquidsoap to 1.3.4, so the problem seems to be
in liquidsoap itself.
Before liquidsoap crashes, I know it briefly transmits a stream to icecast
because icecast runs an “on-connect” script I configured in icecast.
Liquidsoap is launched from a bash script with this command:
~/.opam/default/bin/liquidsoap 'N=getenv("sourceN_env")'
'log_path=getenv("log_liquid_env")' 'set("log.level",4)'
'set("log.file.path",log_path)' 'set("log.file",true)'
'output.icecast(%ogg(%flac(compression=5)), input.pulseaudio(device=N,
fallible=true), fallible=true, host="localhost", port=8000,
password="sourcepwd", mount="mystream", format="audio/ogg")' >/dev/null 2>&1 &
Log output from liquidsoap: (Crashes immediately after last entry.)
2019/01/06 18:48:14 >>> LOG START
2019/01/06 18:48:14 [main:3] Liquidsoap 1.3.5
2019/01/06 18:48:14 [main:3] Using: bytes=[distributed with OCaml 4.02 or
above] pcre=7.3.5 dtools=0.4.1 duppy=0.8.0 cry=0.6.2 mm=0.4.0 ogg=0.5.2
flac=0.1.3 flac.ogg=0.1.3 dynlink=[distributed with Ocaml] magic=0.7.3
camomile=1.0.1 inotify=2.1 pulseaudio=0.1.3
2019/01/06 18:48:14 [dynamic.loader:3] Could not find dynamic module for lame
encoder.
2019/01/06 18:48:14 [dynamic.loader:3] Could not find dynamic module for fdkaac
encoder.
2019/01/06 18:48:14 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2019/01/06 18:48:14 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2019/01/06 18:48:14 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio
samples = 1764 ticks.
2019/01/06 18:48:14 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video
samples = 1764 ticks.
2019/01/06 18:48:14 [video.converter:4] Couldn't find preferred video
converter: gavl.
2019/01/06 18:48:14 [audio.converter:4] Couldn't find preferred samplerate
converter: libsamplerate.
2019/01/06 18:48:14 [audio.converter:4] Using native samplerate converter
2019/01/06 18:48:14 [threads:3] Created thread "generic queue #1".
2019/01/06 18:48:14 [threads:3] Created thread "generic queue #2".
2019/01/06 18:48:14 [threads:3] Created thread "non-blocking queue #1".
2019/01/06 18:48:14 [threads:3] Created thread "non-blocking queue #2".
2019/01/06 18:48:14 [clock:4] Currently 1 clocks allocated.
2019/01/06 18:48:14 [clock.wallclock_pulse:4] Starting 2 sources...
2019/01/06 18:48:14 [source:4] Source pulse_6027 gets up.
2019/01/06 18:48:14 [clock.wallclock_pulse:4] Delegating clock to active
sources.
2019/01/06 18:48:14 [pulse_in(4):4] Activations changed: static=[pulse_in(4)],
dynamic=[].
2019/01/06 18:48:14 [pulse_in(4):4] Enabling caching mode: active source.
2019/01/06 18:48:14 [source:4] Source output.icecast_6031 gets up.
2019/01/06 18:48:14 [pulse_in(4):4] Activations changed:
static=[mystream:mystream, pulse_in(4)], dynamic=[].
2019/01/06 18:48:14 [mystream:4] Activations changed: static=[mystream],
dynamic=[].
2019/01/06 18:48:14 [mystream:4] Enabling caching mode: active source.
2019/01/06 18:48:14 [mystream:3] Connecting mount mystream for
source@localhost...
2019/01/06 18:48:14 [mystream:3] Connection setup was successful.
2019/01/06 18:48:14 [threads:3] Created thread "wallclock_pulse" (1 total).
2019/01/06 18:48:14 [clock:4] Main phase starts.
2019/01/06 18:48:14 [clock.wallclock_pulse:3] Streaming loop starts,
synchronized by active sources.
Libraries:
opam list
# Packages matching: installed
# Name # Installed # Synopsis
base v0.11.1 Full standard library replacement for OCaml
base-bigarray base
base-bytes base Bytes library distributed with the OCaml compile
base-threads base
base-unix base
camomile 1.0.1 A Unicode library
conf-libpcre 1 Virtual package relying on a libpcre system inst
conf-m4 1 Virtual package relying on m4
conf-pkg-config 1.1 Virtual package relying on pkg-config installati
cry 0.6.2 The cry library is an implementation of the shou
dtools 0.4.1 Library providing various helper functions to ma
dune 1.6.2 Fast, portable and opinionated build system
duppy 0.8.0 Library providing monadic threads
flac 0.1.3 Interface for the Free Lossless Audio Codec othe
inotify 2.1 Inotify bindings for ocaml.
jbuilder transition This is a transition package, jbuilder is now na
liquidsoap 1.3.5 Swiss-army knife for multimedia streaming
magic 0.7.3 Bindings for libmagic (to determine the type of
mm 0.4.0 The mm library contains high-level to create and
ocaml 4.07.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1 Official release 4.07.1
ocaml-config 1 OCaml Switch Configuration
ocamlbuild 0.12.0 OCamlbuild is a build system with builtin rules
ocamlfind 1.8.0 A library manager for OCaml
ogg 0.5.2 Interface for Ogg Bitstream Library, otherwise k
opam-depext 1.1.2 Query and install external dependencies of OPAM
pcre 7.3.5 Bindings to the Perl Compatibility Regular Expre
pulseaudio 0.1.3 Bindings to Pulseaudio client library
sexplib0 v0.11.0 Library containing the definition of S-expressio
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/686
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users