container builds now support HE-AAC

This commit is contained in:
2021-10-20 21:48:28 -07:00
parent 67b5c9c7a5
commit 8ec057ef29

View File

@@ -5,6 +5,8 @@ Capture streaming audio from your favorite sources to build a custom podcast str
StreamShifter actually uses MediaElement.js now...it wasn't previously. Buttons to skip forward and back 30 seconds have been added to the player, which are convenient for skipping past commercials.
The Dockerfile now builds ffmpeg from source, so it can include HE-AAC support.
Standalone Instructions
-----------------------
@@ -19,7 +21,7 @@ You'll need a webserver with PHP support, as well as curl and ffmpeg, which are
record.sh gets called (most likely as a cronjob) to capture and save audio. It needs to be called with the CHANNELS and BITRATE environment variables defined as described below. An example:
```
CHANNELS=1 BITRATE=32 record.sh 10 test "https://14983.live.streamtheworld.com/KDWNAMAAC.aac?tdsdk=js-2.9&pname=TDSdk&pversion=2.9&banners=320x50&sbmid=ddc0cb91-c9a7-46c4-bf53-85841c22c8e4" Test
CHANNELS=2 BITRATE=32 record.sh 10 test "https://14983.live.streamtheworld.com/KDWNAMAAC.aac?tdsdk=js-2.9&pname=TDSdk&pversion=2.9&banners=320x50&sbmid=ddc0cb91-c9a7-46c4-bf53-85841c22c8e4" Test
```
cleanup.sh should be set up to run daily.
@@ -39,12 +41,12 @@ $baseurl="https://streams.alfter.us/";
Docker Instructions
-------------------
This container builds on the php:fpm container to include tools and scripts for capturing streaming audio, transcoding it to AAC, and storing it as a set of HTTP live streams and a podcast.
This container builds on the php:fpm container to include tools and scripts for capturing streaming audio, transcoding it to HE-AAC, and storing it as a set of HTTP live streams and a podcast.
Three environment variables are exposed to configure StreamShifter:
* BASEURL: base URL under which the site will be served (required)
* CHANNELS: number of audio channels to encode (default 1)
* CHANNELS: number of audio channels to encode (default 2)
* BITRATE: encoding bitrate, kbps (default: 32)
The recordings and scripts to be served are stored in a named volume. Configure your webserver to serve it under a vhost by whatever means you would configure it to serve php:fpm.