docker-kaldi-gstreamer-server
docker-kaldi-gstreamer-server copied to clipboard
No such element or plugin 'kaldinnet2onlinedecoder'
I compiled gst-kaldi-nnet2-online successful outside the docker, and then got correct result using gst-inspect-1.0 kaldinnet2onlinedecoder.
However, I copied the .so file to /media/kaldi-models/ and then added its path to GST_PLUGIN_PATH, then I got ERROR when using gst-inspect to check gst:
GStreamer-WARNING **: Failed to load plugin './libgstkaldinnet2onlinedecoder.so': libkaldi-online2.so: cannot open shared object file: No such file or directory
No such element or plugin 'kaldinnet2onlinedecoder'
Then I tried to copy $KALDI_ROOT/src/lib*.so to /media/kaldi-models/ and specified LD_LIBRARY_PATH, I still got ERROR:
No such element or plugin 'kaldinnet2onlinedecoder'
How to solve this problem please?
There may be many situations that can explain this problem. Wrong path is just one of these.
I'd suggest to compile everything inside the docker. It should avoid more headaches.