Examples usage of various codecs with FFMpeg.
- flac.sh : An Icecast Source Client
- for Windows (Cygwin is required)
- and macOS (
brew install ffmpeg)
- another_examples.sh : Samples
- FFMpeg can push to Icecast2 in various formats: Opus/Vorbis/AAC/MP3
| ########################################################################################### | |
| # Liquidsoap Radio System - built by GeekBrony, based from Liquidsoap. # | |
| ########################################################################################### | |
| # Primary Features: | |
| # - AutoDJ that crossfades between songs and has a 1/10 chance of landing on a Station ID/Jingle/Ad. | |
| # - AutoDJ also selects tracks from "High Priority", "Low Priority" and "New Songs" playlists randomly. | |
| # - Live Shows (that automatically dump to a directory) | |
| # - Mic to speak over the stream. | |
| # - Requests via Telnet/Web Interface, which have a 80-90% chance of queuing up when a song ends. |
| # This is a GitLab CI configuration to build the project as a docker image | |
| # The file is generic enough to be dropped in a project containing a working Dockerfile | |
| # Author: Florent CHAUVEAU <florent.chauveau@gmail.com> | |
| # Mentioned here: https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/ | |
| # do not use "latest" here, if you want this to work in the future | |
| image: docker:18 | |
| stages: | |
| - build |
| # GNU Screen - main configuration file | |
| # All other .screenrc files will source this file to inherit settings. | |
| # Author: Christian Wills - cwills.sys@gmail.com | |
| # Allow bold colors - necessary for some reason | |
| attrcolor b ".I" | |
| # Tell screen how to set colors. AB = background, AF=foreground | |
| termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
| /** | |
| * This method is responsible for creating the Jenkins job. | |
| * @param jobName jobName | |
| * @param timerConfig cron expression to schedule the job | |
| * @return | |
| */ | |
| def createJenkinsJob(def jobName, def timerConfig) { | |
| echo "Creating the job ${jobName}" | |
| // Here I'm using a shared library in the pipeline, so I have loaded my shared library here |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name radio.example.com; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Host $host; | |
| proxy_set_header X-Forwarded-Server $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| location / { |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/