Can't find pocketsphinx gstreamer plugin

情到浓时终转凉″ 提交于 2019-12-08 03:36:42

问题


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



来源:https://stackoverflow.com/questions/28763199/cant-find-pocketsphinx-gstreamer-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!