Liquidsoap scripts I'm writing to try the language out.
Mainly, this repo will be about re-streaming from other sources or generating test media.
I'm currently running everything on a beefy Debian 12/bookworm VM with the following:
-
deb-multimediarepository (justbookwormone) for FFmpeg and related libraries.-
To avoid complications, I pinned the repository with a higher priority. To achieve this, you can add a file to
/etc/apt/preferences.d/like/etc/apt/preferences.d/99prefer-dmoand add this config:Package: * Pin: release o=Unofficial Multimedia Packages,n=bookworm Pin-Priority: 910
-
-
Debian's own
bookworm-backportsrepository pinned with a higher priority for keeping everything else at the Bleeding Edge™️:-
To achieve this, you can add a file to
/etc/apt/preferences.d/like/etc/apt/preferences.d/99prefer-backportsand add this config:Package: * Pin: release o=Debian Backports,n=bookworm-backports Pin-Priority: 900 Package: * Pin: release o=Debian Backports,n=bookworm-backports-debug Pin-Priority: 900 -
Then run
apt updatefollowing withapt dist-upgradeas root. -
Reboot.
-
-
Liquidsoap
.debfiles from Liquidsoap Rolling Release 2.3.x- Minimal packages are not used.
You also need a platform to stream to.
Remaining steps:
- Clone this repository:
git clone https://github.com/linuxgemini/liquidsoap-scripts.git
- Change current working directory to the repository folder:
cd liquidsoap-scripts
- Create a
secretsfolder:mkdir secrets
- Configure your streaming target, this is left as an exercise for the reader.
- Run any one of the scripts, for example:
./testcard.liq