diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 11:16:12 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-05 11:16:12 +0200 |
commit | 52b5fd3769cbd5b9641e85f1203862e0f2b81f76 (patch) | |
tree | 618e4f0e3d87ecde07e817ab5fb6f40e8f94cd72 | |
parent | c0788a90a0d6e047488980a2ad5bb4f9cf108682 (diff) | |
download | dabmux-52b5fd3769cbd5b9641e85f1203862e0f2b81f76.tar.gz dabmux-52b5fd3769cbd5b9641e85f1203862e0f2b81f76.tar.bz2 dabmux-52b5fd3769cbd5b9641e85f1203862e0f2b81f76.zip |
Update example configurations
-rw-r--r-- | doc/advanced.mux | 44 | ||||
-rw-r--r-- | doc/example.mux | 32 |
2 files changed, 40 insertions, 36 deletions
diff --git a/doc/advanced.mux b/doc/advanced.mux index b9cec05..24a6333 100644 --- a/doc/advanced.mux +++ b/doc/advanced.mux @@ -162,10 +162,6 @@ services { subchannels { sub-fu { type audio - ; example file input - inputproto zmq - inputuri "funk.mp2" - nonblock false bitrate 128 id 10 @@ -182,21 +178,29 @@ subchannels { ; on the protection profile: ; UEP profile: 1 to 5; EEP profiles: 1 to 4 protection 4 + + ; example file input + inputproto zmq + inputuri "funk.mp2" + nonblock false } sub-lu { type dabplus + bitrate 96 + id 3 + protection 3 ; EXPERIMENTAL! ; Receive STI-D(LI) carried in STI(PI, X) inside RTP using UDP. ; This is intended to be compatible with AVT audio encoders. ; EXPERIMENTAL! inputproto sti inputuri "rtp://127.0.0.1:32010" - bitrate 96 - id 3 - protection 3 } sub-ri { type dabplus + bitrate 96 + id 1 + protection 1 ; example file input ;inputuri "rick.dabp" ; example zmq input: @@ -204,9 +208,6 @@ subchannels { ; Use ODR-AudioEnc as encoder inputproto zmq inputuri "tcp://*:9000" - bitrate 96 - id 1 - protection 1 ; ZMQ specific options, mandatory: @@ -254,27 +255,14 @@ subchannels { ; key pairs can be generated using the zmqinput-keygen tool. } - sub-ri2 { - type audio - ; for audio types, you can use the ZeroMQ input (if compiled in) - ; with the following configuration in combination with - ; Toolame-DAB - inputproto zmq - inputuri "tcp://*:9001" - bitrate 96 - id 1 - protection 1 - - ; The options are the same as for dabplus - zmq-buffer 40 - zmq-prebuffering 20 - } - ; 'prbs' will generate a pseudorandom bit sequence according to ; ETS 300 799 Clause G.2.1. This is useful for testing purposes and ; measurement of bit error rate. sub-prbs { type data + bitrate 16 + id 5 + protection 3 ; Use the default PRBS polynomial. inputproto prbs @@ -284,10 +272,6 @@ subchannels { ; The default polynomial is G(x) = x^20 + x^17 + 1, represented as ; (1 << 20) + (1 << 17) + (1 << 0) = 0x120001 ;inputuri "prbs://:0x120001 - - bitrate 16 - id 5 - protection 3 } } diff --git a/doc/example.mux b/doc/example.mux index 31e072d..3c5df5c 100644 --- a/doc/example.mux +++ b/doc/example.mux @@ -161,22 +161,42 @@ subchannels { sub-fu { ; This is our DAB programme, using a file input type audio - inputfile "funk.mp2" bitrate 128 id 10 protection 3 + + inputfile "funk.mp2" + } + sub-bla { + type audio + bitrate 96 + id 1 + protection 1 + + ; for audio and dabplus, EDI input is available. It supports TCP server and UDP + inputproto edi + ; Accepts connection to port 9001 from any interface + inputuri "tcp://0.0.0.0:9001" + + ; Two buffer-management types are available: prebuffering and timestamped. + ; prebuffering will accumulate a few frames before it starts streaming, and each + ; time there is a buffer underrun (similar to how the ZMQ input works) + ; + ; timestamped takes into account the TIST inside EDI and inserts the encoded + ; audio frame into the ETI frame with the same timestamp + buffer-management prebuffering } sub-ri { - ; This is our DAB+ programme, using a ZeroMQ + ; This is our DAB+ programme, using a ZeroMQ input type dabplus - ; Accepts connections to port 9000 from any interface. - ; Use ODR-AudioEnc as encoder - inputproto zmq - inputuri "tcp://*:9000" bitrate 96 id 1 protection 3 + ; Accepts connections to port 9000 from any interface. + ; Use ODR-AudioEnc as encoder + inputproto zmq + inputuri "tcp://*:9000" ; ZMQ specific options, mandatory: ; Maximum size of input buffer, in AAC frames (24ms) |