jcsilva / docker-kaldi-gstreamer-server

Dockerfile for kaldi-gstreamer-server.
BSD 2-Clause "Simplified" License
289 stars 139 forks source link

No such element or plugin 'kaldinnet2onlinedecoder' #43

Open TangChangcheng opened 5 years ago

TangChangcheng commented 5 years ago

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?

jcsilva commented 5 years ago

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.