This repository is part of a project aiming at containerizing the mmbTools software stack of Open Digital Radio. It features the dab multiplexer component.
You need to install docker or podman on your host to run the container image. Please adapt the instructions below, according to your choice.
You can either pull the container image from the internet or build it yourself.
docker image pull opendigitalradio/dabmux
git clone \
https://github.com/opendigitalradio/dabmux.git \
docker-dabmux
cd docker-dabmux
docker image build \
--tag opendigitalradio/dabmux \
.
- Declare your time zone:
TZ=<your_time_zone>
- Declare your mux configuration file:
MUX_CONFIG=<path_to_your_mux_configuration_file>
- The image exposes the following ports:
- 9001 - 9016: incoming encoder streams
- 9201: output stream
- 12720: multiplexer server management port
- 12721: multiplexer ftp port
- 12722: multiplexer ZMQ RC port
```
docker container run \
--name odr-dabmux \
--detach \
--rm \
--env "TZ=${TZ}" \
--network odr \
--publish 9001-9016:9001-9016 \
--publish 9201:9201 \
--publish 12720-12722:12720-12722 \
--volume ${MUX_CONFIG}:/config/mux.ini \
opendigitalradio/dabmux
```
You can verify the dab multiplex output stream by following these steps:
- Ensure you installed wget and dablin packages on your host:
- Run the following command on your host:
wget -q -O - localhost:9201 | dablin_gtk -f edi -I -1