Closed Russsgithub closed 3 months ago
Hi @Russsgithub,
liquidsoap --build-config
?@vitoyucepi , thanks for the quick responce.
I beleive i used
https://github.com/savonet/liquidsoap/releases/download/rolling-release-v2.2.x/liquidsoap-130f9e3_2.2.5-ubuntu-jammy-1_amd64.deb
though have deleted the file now.
liquidsoap --build-config
returns
* Liquidsoap version : 2.2.5
* Compilation options
- Release build : true
- Git SHA : (none)
- OCaml version : 4.14.1
- OS type : Unix
- Libs versions : angstrom=0.15.0 asetmap=0.8.1 astring=0.8.5 base64=3.5.1 bigarray=[distributed with Ocaml] bigarray-compat=1.1.0 bigstringaf=0.9.1 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cohttp=5.3.0 cohttp-lwt=5.3.0 cohttp-lwt-unix=5.3.0 conduit=6.2.0 conduit-lwt=6.2.0 conduit-lwt-unix=6.2.0 cry=1.0.3 ctypes=0.21.1 ctypes-foreign=0.21.1 ctypes.stubs=0.21.1 curl=0.9.2 domain-name=0.4.0 domain_shims dtools=0.4.5 dune-build-info=3.11.1 dune-private-libs.dune-section=3.11.1 dune-site=3.11.1 dune-site.private=3.11.1 duppy=0.9.4 ffmpeg-av=1.1.10 ffmpeg-avcodec=1.1.10 ffmpeg-avdevice=1.1.10 ffmpeg-avfilter=1.1.10 ffmpeg-avutil=1.1.10 ffmpeg-swresample=1.1.10 ffmpeg-swscale=1.1.10 fileutils=0.6.4 fmt=0.9.0 gen=1.1 inotify=2.4.1 integers ipaddr=5.5.0 ipaddr-sexp=5.5.0 ipaddr.unix=5.5.0 jemalloc liquidsoap-lang=2.2.5 liquidsoap-lang.console=2.2.5 liquidsoap_builtins=f0fdb0e-dirty liquidsoap_core=f0fdb0e-dirty liquidsoap_ffmpeg=f0fdb0e-dirty liquidsoap_jemalloc=f0fdb0e-dirty liquidsoap_mem_usage=f0fdb0e-dirty liquidsoap_memtrace=f0fdb0e-dirty liquidsoap_optionals=f0fdb0e-dirty liquidsoap_oss=f0fdb0e-dirty liquidsoap_posix_time=f0fdb0e-dirty liquidsoap_prometheus=f0fdb0e-dirty liquidsoap_runtime=f0fdb0e-dirty liquidsoap_srt=f0fdb0e-dirty liquidsoap_ssl=f0fdb0e-dirty liquidsoap_stereotool=f0fdb0e-dirty liquidsoap_xmlplaylist=f0fdb0e-dirty liquidsoap_yaml=f0fdb0e-dirty logs=0.7.0 logs.fmt=0.7.0 logs.lwt=0.7.0 lwt=5.7.0 lwt.unix=5.7.0 macaddr=5.5.0 magic-mime=1.3.1 mem_usage=0.1.1 memtrace=0.2.3 menhirLib=20230608 metadata=0.3.0 mm=0.8.5 mm.audio=0.8.5 mm.base=0.8.5 mm.image=0.8.5 mm.midi=0.8.5 mm.video=0.8.5 ocplib-endian ocplib-endian.bigstring parsexp=v0.16.0 pcre=7.5.0 posix-base=5a7f328 posix-socket=5a7f328 posix-socket.constants=5a7f328 posix-socket.stubs=5a7f328 posix-socket.types=5a7f328 posix-time2=5a7f328 posix-time2.constants=5a7f328 posix-time2.stubs=5a7f328 posix-time2.types=5a7f328 posix-types=5a7f328 posix-types.constants=5a7f328 ppx_sexp_conv.runtime-lib=v0.16.0 prometheus=1.2 prometheus-app=1.2 re=1.11.0 saturn_lockfree=0.4.1 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] sexplib=v0.16.0 sexplib0=v0.16.0 srt=0.3.1 srt.constants=0.3.1 srt.stubs=0.3.1 srt.stubs.locked=0.3.1 srt.types=0.3.1 ssl=0.7.0 stdlib-shims=0.3.0 stereotool=f0fdb0e-dirty str=[distributed with Ocaml] stringext=1.6.0 threads=[distributed with Ocaml] threads.posix=[internal] unix=[distributed with Ocaml] unix-errno=52c6ecb unix-errno.errno_bindings=52c6ecb unix-errno.errno_types=52c6ecb unix-errno.errno_types_detected=52c6ecb unix-errno.unix=52c6ecb uri=4.4.0 uri-sexp=4.4.0 uri.services=4.4.0 xmlm=1.4.0 xmlplaylist=0.1.5 yaml=3.2.0 yaml.bindings=3.2.0 yaml.bindings.types=3.2.0 yaml.c=3.2.0 yaml.ffi=3.2.0 yaml.types=3.2.0
- architecture : amd64
- host : x86_64-pc-linux-gnu
- target : x86_64-pc-linux-gnu
- system : linux
- ocamlopt_cflags : -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC
- native_c_compiler : gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
- native_c_libraries : -lm
* Configured paths
- mode : posix
- standard library : /usr/share/liquidsoap/libs
- scripted binaries : /usr/share/liquidsoap/bin
- rundir : /var/run/liquidsoap
- logdir : /var/log/liquidsoap
- camomile files : /usr/share/liquidsoap/camomile
* Supported input formats
- MP3 : no (requires mad)
- AAC : no (requires faad)
- Ffmpeg : yes
- Flac (native) : no (requires flac)
- Flac (ogg) : no (requires ogg)
- Opus : no (requires opus)
- Speex : no (requires speex)
- Theora : no (requires theora)
- Vorbis : no (requires vorbis)
* Supported output formats
- FDK-AAC : no (requires fdkaac)
- Ffmpeg : yes
- MP3 : no (requires lame)
- MP3 (fixed-point) : no (requires shine)
- Flac (native) : no (requires flac)
- Flac (ogg) : no (requires ogg)
- Opus : no (requires opus)
- Speex : no (requires speex)
- Theora : no (requires theora)
- Vorbis : no (requires vorbis)
* Tags
- Taglib (ID3 tags) : no (requires taglib)
- Vorbis : no (requires vorbis)
* Input / output
- ALSA : no (requires alsa)
- AO : no (requires ao)
- FFmpeg : yes
- GStreamer : no (requires gstreamer)
- JACK : no (requires bjack)
- OSS : yes
- Portaudio : no (requires portaudio)
- Pulseaudio : no (requires pulseaudio)
- SRT : yes
* Audio manipulation
- FFmpeg : yes
- LADSPA : no (requires ladspa)
- Lilv : no (requires lilv)
- Samplerate : no (requires samplerate)
- SoundTouch : no (requires soundtouch)
- StereoTool : yes
* Video manipulation
- camlimages : no (requires camlimages)
- FFmpeg : yes
- frei0r : no (requires frei0r)
- ImageLib : no (requires imagelib)
- SDL : no (requires tsdl-image & tsdl-ttf)
* MIDI manipulation
- DSSI : no (requires dssi)
* Visualization
- GD : no (requires gd)
- Graphics : no (requires graphics)
- SDL : no (requires tsdl-image & tsdl-ttf)
* Additional libraries
- FFmpeg filters : yes
- FFmpeg devices : yes
- inotify : yes
- irc : no (requires irc-client-unix)
- jemalloc : yes
- lastfm : no (requires lastfm)
- lo : no (requires lo)
- memtrace : yes
- mem_usage : yes
- osc : no (requires osc-unix)
- ssl : yes
- tls : no (requires tls-liquidsoap)
- posix-time2 : yes
- windows service : no (requires winsvc)
- YAML support : yes
- XML playlists : yes
* Monitoring
- Prometheus : yes
@vitoyucepi , Actually , i used the minimal version . I guess this is the issue. My bad, closing for now.
I'll reopen if needed.
Thanks again. Russ
The build config shows that you're using the minimal build, which (for some reason) doesn't include extra functions, including smooth_add
. You should use the full build instead, or build it yourself.
The minimal
build was an intent to limit the API to only essential ones to:
In terms of memory, my recent investigation seem to indicate that the benefit of removing extra scripting are most likely marginal.
In terms of scripting values, I considered extra
the features that are both complex and potentially hard to maintain over time.
It's mostly an evaluation of the maintenance burden. If there's a need for it and someone willing to help maintain/add test for smooth_add
, I'd be more than happy to move it back.
Describe the bug When using smooth_add in liquidsoap v2.2.5 i get
If i run the same script in v2.2.4 I get no errors and the script runs.
Also finding the same with
compress
To Reproduce
I guess that should work as a test.
Expected behavior 880hz added as overlay after two seconds, for 3 seconds.
Actually gives error as above
Version details
1.3.4
] liquidsoap v 2.2.5Install method Deb file from releases webpage
Thanks