docker-kaldi-gstreamer-server icon indicating copy to clipboard operation
docker-kaldi-gstreamer-server copied to clipboard

No such element or plugin 'kaldinnet2onlinedecoder'

Open TangChangcheng opened this issue 6 years ago • 1 comments

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?

TangChangcheng avatar Oct 24 '18 05:10 TangChangcheng

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.

jcsilva avatar Oct 30 '18 22:10 jcsilva