Skip to content

Commit 3c87d54

Browse files
author
Florian Treml
committed
Fixed GST_PLUGIN_PATH
1 parent 975b57a commit 3c87d54

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: opt/docker-kaldi-gstreamer-server/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ if [ "$MASTER" == "localhost" ] ; then
3737
fi
3838

3939
#start worker and connect it to the master
40-
export GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
40+
export GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
4141

4242
python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c $YAML -u ws://$MASTER:$PORT/worker/ws/speech 2>> /opt/worker.log &

Diff for: stt/supervisord.kaldi.de.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ autorestart=true
99
stderr_logfile=/opt/logs/master.log
1010

1111
[program:worker1]
12-
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
12+
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
1313
command=python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c /opt/models/zamia_20190328_tdnn_f_de.yaml -u ws://localhost:80/worker/ws/speech
1414
numprocs=1
1515
autostart=true
1616
autorestart=true
1717
stderr_logfile=/opt/logs/worker1.log
1818

1919
[program:worker2]
20-
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
20+
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
2121
command=python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c /opt/models/zamia_20190328_tdnn_f_de.yaml -u ws://localhost:80/worker/ws/speech
2222
numprocs=1
2323
autostart=true

Diff for: stt/supervisord.kaldi.en.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ autorestart=true
99
stderr_logfile=/opt/logs/master.log
1010

1111
[program:worker1]
12-
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
12+
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
1313
command=python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c /opt/models/zamia_20190609_tdnn_fl_en.yaml -u ws://localhost:80/worker/ws/speech
1414
numprocs=1
1515
autostart=true
1616
autorestart=true
1717
stderr_logfile=/opt/logs/worker1.log
1818

1919
[program:worker2]
20-
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/
20+
environment=GST_PLUGIN_PATH=/opt/gst-kaldi-nnet2-online/src/:/opt/kaldi/src/gst-plugin/:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
2121
command=python /opt/kaldi-gstreamer-server/kaldigstserver/worker.py -c /opt/models/zamia_20190609_tdnn_fl_en.yaml -u ws://localhost:80/worker/ws/speech
2222
numprocs=1
2323
autostart=true

0 commit comments

Comments
 (0)