找不到 pocketsphinx gstreamer 插件

Can't find pocketsphinx gstreamer plugin

我尝试通过

安装 pocketsphinx

brew instal cmu-pocketsphinx

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

pocketsphinx_continuous 工作正常,但我找不到

的可执行 pocketsphinx

gst-inspect pocketsphinx

谁能告诉我在哪里可以找到它,好吗?

非常感谢

pocketsphinx 安装日志:http://pastebin.com/48QU0qjg

您需要检查插件 pocketsphinx.so 是否安装在

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

如果有插件,您需要导出 GST_PLUGIN_PATH 环境变量以更新 gstreamer 搜索路径。

如果插件不存在,您需要检查构建日志以了解插件未正确创建或安装的原因。很可能您没有进行必要的开发 headers 因此插件编译被禁用。

我在 Raspbian Jessie 下遇到了同样的问题。问题是当我编译 Pocketsphinx 时缺少 libgstreamer-plugins-base1.0-dev,因此无法编译任何插件。我通过安装丢失的包然后重新编译 Pocketsphinx 来解决。检查此以获取更多信息 https://sourceforge.net/p/cmusphinx/discussion/speech-recognition/thread/040066c7/

希望对您有所帮助