Liquidsoap is a statically typed scripting general-purpose language with dedicated operators and backend for all thing media, streaming, file generation, automation, HTTP backend and more.
def get_time()
"time #{string_of_float(time())}"
end
s = video.add_text.sdl(get_time,font="/home/ubuntu/bankgothic.ttf",size=22,y=600,speed=140, s)
This doesn't work and it says
s = video.add_text.sdl(
Error 5: this value has no method sdl
I tried install all types of possibile plugins with sdl
Here my list
# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-bytes base Bytes library distributed with the OCaml compiler
base-threads base
base-unix base
camomile 1.0.2 A Unicode library
conf-ffmpeg 1 Virtual package relying on FFmpeg
conf-gd 1 Virtual package relying on a libgd system installation
conf-gstreamer 1 Virtual package relying on libgstreamer
conf-lame 1 Virtual package relying on lame
conf-libcurl 1 Virtual package relying on a libcurl system installation
conf-libffi 2.0.0 Virtual package relying on libffi system installation
conf-libogg 1 Virtual package relying on libogg
conf-libpcre 1 Virtual package relying on a libpcre system installation
conf-libvorbis 1 Virtual package relying on libvorbis
conf-mad 1 Virtual package relying on mad
conf-pkg-config 2 Check if pkg-config is installed and create an opam switch local pkgconfig folder
conf-samplerate 1 Virtual package relying on samplerate
conf-sdl-image 1 Virtual package relying on a sdl-image system installation
conf-sdl-mixer 1 Virtual package relying on a sdl-mixer system installation
conf-sdl-ttf 1 Virtual package relying on a sdl-ttf system installation
conf-sdl2 1 Virtual package relying on a SDL2 system installation
conf-sdl2-ttf 1 Virtual package relying on a sdl2-ttf system installation
conf-taglib 1 Virtual package relying on taglib
conf-which 1 Virtual package relying on which
cry 0.6.5 OCaml client for the various icecast & shoutcast source protocols
csexp 1.5.1 Parsing and printing of S-expressions in Canonical form
ctypes 0.17.1 Combinators for binding to C libraries without writing any C
ctypes-foreign 0.18.0 Virtual package for enabling the ctypes.foreign subpackage.
dtools 0.4.4 Library providing various helper functions to make daemons
dune 2.9.2 Fast, portable, and opinionated build system
dune-configurator 2.9.1 Helper library for gathering system configuration
duppy 0.9.2 Library providing monadic threads
fdkaac 0.3.2 Fraunhofer FDK AAC Codec Library
ffmpeg 1.1.1 Bindings for the ffmpeg libraries
ffmpeg-av 1.1.1 Bindings for the ffmpeg libraries -- top-level helpers
ffmpeg-avcodec 1.1.1 Bindings for the ffmpeg avcodec library
ffmpeg-avdevice 1.1.1 Bindings for the ffmpeg avdevice library
ffmpeg-avfilter 1.1.1 Bindings for the ffmpeg avfilter library
ffmpeg-avutil 1.1.1 Bindings for the ffmpeg avutil libraries
ffmpeg-swresample 1.1.1 Bindings for the ffmpeg swresample library
ffmpeg-swscale 1.1.1 Bindings for the ffmpeg swscale library
gd 1.0a5 OCaml interface to the GD graphics library.
gen 1.0 Iterators for OCaml, both restartable and consumable
gstreamer 0.3.1 Bindings for the GStreamer library which provides functions for playning and manipulating multimedia streams
integers 0.5.1 Various signed and unsigned integer types for OCaml
lame 0.3.5 MP3 encoding library
liquidsoap 2.0.2-1 Swiss-army knife for multimedia streaming
mad 0.5.1 Mad decoding library
menhir 20211128 An LR(1) parser generator
menhirLib 20211128 Runtime support library for parsers generated by Menhir
menhirSdk 20211128 Compile-time library for auxiliary tools related to Menhir
mm 0.7.2 The mm library contains high-level to create and manipulate multimedia streams (audio, video, MIDI)
oasis 0.4.11 Tooling for building OCaml libraries and applications
ocaml 4.10.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.0 Official release 4.10.0
ocaml-compiler-libs v0.12.4 OCaml compiler libraries repackaged
ocaml-config 1 OCaml Switch Configuration
ocamlbuild 0.14.0 OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind 1.9.3 A library manager for OCaml
ocamlify 0.0.1 Include files in OCaml code
ocamlmod 0.0.9 Generate OCaml modules from source files
ocamlsdl 0.9.1 Interface between OCaml and SDL
ocurl 0.9.2 Bindings to libcurl
ogg 0.7.0 Bindings to libogg
opam-depext 1.2.1 Install OS distribution packages
pcre 7.4.6 Bindings to the Perl Compatibility Regular Expressions library
ppx_derivers 1.2.1 Shared [@@deriving] plugin registry
ppxlib 0.24.0 Standard library for ppx rewriters
result 1.4 Compatibility Result module
samplerate 0.1.6 Samplerate audio conversion library
sdl-liquidsoap 2 Virtual package installing liquidsoap's sdl dependencies
sedlex 2.5 An OCaml lexer generator for Unicode
seq base Compatibility package for OCaml's standard iterator type starting from 4.07.
sexplib0 v0.14.0 Library containing the definition of S-expressions and some base converters
stdlib-shims 0.3.0 Backport some of the new stdlib features to older compiler
taglib 0.3.8 Bindings for the taglib library
topkg 1.0.4 The transitory OCaml software packager
tsdl 0.9.8 Thin bindings to SDL for OCaml
tsdl-image 0.2.0 SDL2_Image bindings to go with Tsdl
tsdl-ttf 0.3.2 SDL2_Ttf bindings to go with Tsdl
uchar 0.0.2 Compatibility library for OCaml's Uchar module
vorbis 0.8.0 Bindings to libvorbis
I am running on Ubuntu 20, Liquidsoap 2.0.2 installed via opam
This doesn't work and it says
I tried install all types of possibile plugins with sdl Here my list
I am running on Ubuntu 20, Liquidsoap 2.0.2 installed via opam