summaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9a34c8200cbd7dee8d9a1a7692fcdf94bfff6fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
ODR-SourceCompanion
===================

The ODR-SourceCompanion is a tool used to connect audio encoders to
ODR-DabMux through its ZeroMQ interface.

For detailed usage, see the usage screen of the tool with the *-h* option.

More information is available on the
[Opendigitalradio wiki](http://opendigitalradio.org)

How to build
=============

Requirements:

* A C++11 compiler
* Install ZeroMQ 4.0.4 or more recent
  * If your distribution does not include it, take it from
    from http://download.zeromq.org/zeromq-4.0.4.tar.gz

This package:

    ./bootstrap
    ./configure
    make
    sudo make install


How to use
==========

We assume that you have a ODR-DabMux configured for an ZeroMQ
input on port 9000.

    DST="tcp://yourserver:9000"
    BITRATE=64

Also, assuming you have an AVT encoder on the IP address 192.168.128.111 and a fifo for ODR-PadEnc

    odr-sourcecompanion -c 2 -b 80 -r 48000 --sbr -p 32 -P fifo.pad --pad-port=9405 \
    --input-uri=udp://:32010 --control-uri=udp://192.168.128.111:9325 --jitter-size=80 \
    -o $DST

TODO
====

A proper setting for the audio level in the ZeroMQ output metadata fields.