Can't find pocketsphinx gstreamer plugin

2019-06-08 05:03发布

问题:

I tried to install pocketsphinx by

brew instal cmu-pocketsphinx

and

make install (followed instructions here: http://cmusphinx.sourceforge.net/wiki/gstreamer)

the pocketsphinx_continuous works properly, but I can't find a executable pocketsphinx for

gst-inspect pocketsphinx

could anyone tell me where to find it, please?

Many many thanks

pocketsphinx install log: http://pastebin.com/48QU0qjg

回答1:

You need to check if plugin pocketsphinx.so is installed in

  /usr/local/lib/gstreamer-<version>

If plugin is there you need to export GST_PLUGIN_PATH environment variable to update gstreamer search path.

If plugin is not there you need to check build log for the information why plugin was not created or installed properly. Most likely you didn't have required development headers so plugin compilation was disabled.



回答2:

I had the same problem under Raspbian Jessie. The problem was that when I compiled Pocketsphinx the libgstreamer-plugins-base1.0-dev was missing, so no plugin could be compiled. I solved by installing the missing package then recompiling Pocketsphinx. Check this for more info https://sourceforge.net/p/cmusphinx/discussion/speech-recognition/thread/040066c7/

Hope it helps