diff options
author | Nick Piggott <nick+work@piggott.eu> | 2015-08-28 17:12:17 +0100 |
---|---|---|
committer | Nick Piggott <nick+work@piggott.eu> | 2015-08-28 17:12:17 +0100 |
commit | 79a58e5b66c76044ed083265c90b853cb4924da8 (patch) | |
tree | f1a4e1ab6a5476baf6131a5208674c87031f9529 /examplesite/configuration.sh | |
parent | 358774ca2aaef07f8282a00ca672e6fc62068e3c (diff) | |
download | dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.tar.gz dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.tar.bz2 dab-scripts-79a58e5b66c76044ed083265c90b853cb4924da8.zip |
Add Support to start MOT Encoder
Some changes to the configuration.sh file and encoder launchers to start
mot-encoders for services using toolame.
Diffstat (limited to 'examplesite/configuration.sh')
-rw-r--r-- | examplesite/configuration.sh | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/examplesite/configuration.sh b/examplesite/configuration.sh index a065697..bcbffc0 100644 --- a/examplesite/configuration.sh +++ b/examplesite/configuration.sh @@ -1,17 +1,23 @@ # Configuration file for the encoder scripts -all_radios=( - "radio1" - "radio2" ) +all_radios=("radio1" "radio2" "radio3") +all_mot=("radio1" "radio3") # declare radios to be an associative array, DO NOT REMOVE declare -A radios +declare -A mot # for each radio, write here the full encoder command. # encode-jack needs: # URL ID dabmux-URL [amplitude correction] -radios[radio1]="./encode-libvlc.sh http://fbpc5.epfl.ch:8000/fb_192 radio1 tcp://localhost:9001" -# Attenuate radio2 by 3dB -radios[radio2]="./encode-libvlc.sh http://mp3lg.tdf-cdn.com/fip/all/fiphautdebit.mp3 radio2 tcp://localhost:9002 toolame -b 128 -s 48 -m j -y 2 -L" +# radio1 +radios[radio1]="./encode-libvlc.sh http://radio1.aac Radio1 tcp://localhost:9001 toolame -b 128 -s 48 -m j -y 2 -L -W dls/radio1.txt -p 6 -P dls/radio1.dls" +mot[radio]="./encode-mot.sh Radio1 --pad 6 --remove-dls --dls dls/radio1.txt --output dls/radio1.dls" +# radio2 +radios[radio2]="./encode-libvlc.sh http://radio2.aac Radio2 tcp://localhost:9002 toolame -b 128 -s 48 -m j -y 2 -L" + +# radio3 +radios[radio3]="./encode-libvlc.sh http://radio3.aac Radio3 tcp://localhost:9003 toolame -b 128 -s 48 -m j -y 2 -L -W dls/radio3.txt -p 6 -P dls/radio3.dls" +mot[radio3]="./encode-mot.sh Radio3 --pad 6 --remove-dls --dls dls/radio3.txt --output dls/radio3.dls" |