Liquidsoap
Liquidsoap is a scripting language oriented toward the creation of audio and video streams, the manipulation of multimedia files, automation, serving as webserver back-end and more.[src] The language is functional, statically typed with type inference.[src] The language is an original one, but the interpreter is programmed in OCaml and provided as free software.[src] Streams can be created from various sources such as soundcard captures, playlists, dynamic requests, or online streams.[src] On those signal processing effects can be applied.[src] The streams can be encoded in various formats such as MP3 or Opus, and the actual streaming is performed by serving generated HLS playlists or by using streaming software such as Icecast.[src] Although originally targeted at audio streams, the generation of video stream is also supported.[src]
Liquidsoap is a scripting language oriented toward the creation of audio and video streams, the manipulation of multimedia files, automation, serving as webserver back-end and more.[src] The language is functional, statically typed with type inference.[src] The language is an original one, but the interpreter is programmed in OCaml and provided as free software.[src] Streams can be created from various sources such as soundcard captures, playlists, dynamic requests, or online streams.[src] On those signal processing effects can be applied.[src] The streams can be encoded in various formats such as MP3 or Opus, and the actual streaming is performed by serving generated HLS playlists or by using streaming software such as Icecast.[src] Although originally targeted at audio streams, the generation of video stream is also supported.[src] ==Script examples== Scripts mostly consist of variables describing sources generating streams, which can be combined using operators.[src] For instance, a source can be defined from an online stream by s1 = input.http("https://server.org:8000/stream") which can later on be amplified by s1 = amplify(2., s1) A source can also be defined from a playlist by s2 = playlist("my_playlist") A source which will play one or the other of the above sources depending on the time of the day can be created by s = switch[({ 6h-22h }, s1), ({ 22h-6h }, s2)] Finally, the resulting source can be broadcast by an Icecast server as an mp3 stream with output.icecast(%mp3, host="localhost", port=8000, password="hackme", mount="radio", s) ==Further reading==[src]
16 sentences · 16 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Liquidsoap." encyclopegia.org, 2026, https://encyclopegia.org/wiki/liquidsoap. Accessed 25 November 2026.
Chicago
"Liquidsoap." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/liquidsoap.
APA
encyclopegia.org. (2026). Liquidsoap. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/liquidsoap
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON