Skip to content

radiorabe/centos-rpm-odr-padenc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

centos-rpm-odr-padenc

CentOS 7 RPM Specfile for Opendigitalradio's ODR-PadEnc which is part of RaBe's DAB / DAB+ broadcasting package collection.

Usage

There are pre-built binary packages for CentOS 7 available on Radio RaBe's OBS DAB / DAB+ broadcasting package repository, which can be installed as follows:

curl -o /etc/yum.repos.d/home:radiorabe:dab.repo \
     http://download.opensuse.org/repositories/home:/radiorabe:/dab/CentOS_7/home:radiorabe:dab.repo
     
yum install odr-padenc

Running odr-padenc through systemd

The odr-padenc can be started via the installed systemd service unit template (and therefore supports multiple instances):

systemctl start odr-padenc@<INSTANCE>.service

# To start an instance named "example":
systemctl start odr-padenc@example.service

The systemd service will also create the necessary directories and the FIFO, located within the odr-padnenc temporary instance directory /var/tmp/odr/padenc/:

/var/tmp/odr/padenc/<INSTANCE>
├── pad.fifo
├── slides/
└── texts/dls-01.txt

So you can then point the odr-audioenc to the /var/tmp/odr/padenc/<INSTANCE>/pad.fifo FIFO, insert your DLS text into /var/tmp/odr/padenc/<INSTANCE>/texts/dls-01.txt and put your MOT slideshow images into the /var/tmp/odr/padenc/<INSTANCE>/slides directory.

odr-padenc together with odr-audioenc

An odr-padencservice unit instance plays nicely together with an odr-audioenc service unit instance. Simply create an odr-audioenc and odr-padenc instance with the same instance name and they will use the same PAD data FIFO. For further details, refere to odr-audioenc together with odr-padenc