Skip to content

The Opendigitalradio/mmbtools docker image aims at providing a sandboxed environment for the Multi Media Broadcasting tools from Opendigitalradio

License

Notifications You must be signed in to change notification settings

Opendigitalradio/docker-mmbtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Opendigitalradio/mmbtools

The Opendigitalradio/mmbtools docker image aims at providing a sandboxed environment for the Multi Media Broadcasting tools from Opendigitalradio.

Content of the image

Component Description
jgoerzen/debian-base-minimal base debian image with systemd
odr-audioenc audio encoder
odr-padenc program-associated-data encoder
odr-dabmux dab multiplexer
odr-dabmod dab modulator
odr-EncoderManager encoder manager
configuration files sample configuration files

Usage

Start the docker container

docker run \
	--name mmbtools \
	--tty \
	--detach \
	--publish 8001-8003:8001-8003 \
	--publish 9201:9201 \
	--volume /sys/fs/cgroup:/sys/fs/cgroup:rw \
	--volume /etc/localtime:/etc/localtime:ro \
	--stop-signal=SIGRTMIN+3 \
	--tmpfs /run:size=100M \
	--tmpfs /run/lock:size=100M \
	--cgroupns=host \
opendigitalradio/mmbtools

If you have a USB transceiver and if you intend to broadcast, then you should:

  • Plug your USB transceiver
  • Run the command lsusb and identify the bus number and device number of your transceiver
  • Add the argument --device /dev/bus/usb/xxx/yyy to the above docker run command where xxx is the bus number and yyy if the device number

Access the components

Component Action URL Authentication
Supervisor n/a localhost:8001 user: odr
password: odr
Encoder Manager Start 10-EncoderManager localhost:8003 user: odr
password: odr
Multiplex Manager Start 20-Mulitplex
Start 21-Multiplex-Manager
localhost:8002 n/a

Test-1: check the encoders

Test-2: check the multiplex

  • Install dablin on a GUI host
  • Access the supervisor (http://localhost:8001)
  • Start the audio and PAD encoders
  • Start 20-Multiplex
  • Run the following command to view the multiplex information and hear the radio streams (by default the first one):
    nc localhost 9201 | dablin_gtk -f edi -I -1
    

Test-3: check the modulator

If you have a USB transceiver card and wish to broadcast on a channel other than 5A, or if you have a USB transceiver card othen than the HackRF, then

  • Get a command line inside the running container:
     docker exec \
     	--interactive \
     	--tty \
     	mmbtools \
     	bash
    
  • Follow these instructions
  • Access the supervisor (http://localhost:8001)
  • Start the audio and PAD encoders
  • Start 20-Multiplex
  • Start 30-Modulator

Sources

github

About

The Opendigitalradio/mmbtools docker image aims at providing a sandboxed environment for the Multi Media Broadcasting tools from Opendigitalradio

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published