Element Implementation:
Has change_state() function: 0x7ff63808b110
Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): 0x7ff63808af50
Has custom eventfunc(): 0x7ff63808aef0
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'sink'
SRC: 'src'
Implementation:
Has custom eventfunc(): gst_pad_event_default
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "pocketsphinx0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
hmm : Directory containing acoustic model parameters
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/en-us"
lm : Language model file
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/en-us.lm.bin"
lmctl : Language model control file (for class LMs)
flags: readable, writable
String. Default: null
dict : Dictionary File
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/cmudict-en-us.dict"
fsg : Finite state grammar file
flags: readable, writable
String. Default: null
allphone : Phonetic language model file
flags: readable, writable
String. Default: null
kws : List of keyphrases for spotting
flags: readable, writable
String. Default: null
fwdflat : Enable Flat Lexicon Search
flags: readable, writable
Boolean. Default: true
bestpath : Enable Graph Search
flags: readable, writable
Boolean. Default: true
maxhmmpf : Maximum number of HMMs searched per frame
flags: readable, writable
Integer. Range: 1 - 100000 Default: 30000
maxwpf : Maximum number of words searched per frame
flags: readable, writable
Integer. Range: 1 - 100000 Default: -1
beam : Beam width applied to every frame in Viterbi search
flags: readable, writable
Double. Range: -1 - 1 Default: 1e-48
wbeam : Beam width applied to phone transitions
flags: readable, writable
Double. Range: -1 - 1 Default: 7e-29
pbeam : Beam width applied to phone transitions
flags: readable, writable
Double. Range: -1 - 1 Default: 1e-48
dsratio : Evaluate acoustic model every N frames
flags: readable, writable
Integer. Range: 1 - 10 Default: 1
latdir : Output Directory for Lattices
flags: readable, writable
String. Default: null
lmname : Language model name (to select LMs from lmctl)
flags: readable, writable
String. Default: null
decoder : The underlying decoder
flags: readable
Boxed pointer of type "PSDecoder"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With the command gst-inspect-1.0 pcoketsphinx I am getting the following warning
(gst-plugin-scanner:23736): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/python2.7/dist-packages/pocketsphinx/_pocketsphinx.so': /usr/local/lib/python2.7/dist-packages/pocketsphinx/_pocketsphinx.so: undefined symbol: PyObject_GenericGetAttr
(gst-plugin-scanner:23736): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/python2.7/dist-packages/sphinxbase/_sphinxbase.so': /usr/local/lib/python2.7/dist-packages/sphinxbase/_sphinxbase.so: undefined symbol: PyObject_GenericGetAttr
Factory Details:
Rank none (0)
Long-name PocketSphinx
Klass Filter/Audio
Description Convert speech to text
Author CMUSphinx-devel cmusphinx-devel@lists.sourceforge.net
Plugin Details:
Name pocketsphinx
Description PocketSphinx plugin
Filename /usr/local/lib/gstreamer-1.0/libgstpocketsphinx.so
Version 5prealpha
License BSD
Source module pocketsphinx
Binary package PocketSphinx
Origin URL http://cmusphinx.sourceforge.net/
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstPocketSphinx
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
text/plain
SINK template: 'sink'
Availability: Always
Capabilities:
audio/x-raw
format: { S16LE }
channels: 1
rate: 16000
Element Flags:
no flags set
Element Implementation:
Has change_state() function: 0x7ff63808b110
Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): 0x7ff63808af50
Has custom eventfunc(): 0x7ff63808aef0
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'sink'
SRC: 'src'
Implementation:
Has custom eventfunc(): gst_pad_event_default
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "pocketsphinx0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
hmm : Directory containing acoustic model parameters
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/en-us"
lm : Language model file
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/en-us.lm.bin"
lmctl : Language model control file (for class LMs)
flags: readable, writable
String. Default: null
dict : Dictionary File
flags: readable, writable
String. Default: "/usr/local/share/pocketsphinx/model/en-us/cmudict-en-us.dict"
fsg : Finite state grammar file
flags: readable, writable
String. Default: null
allphone : Phonetic language model file
flags: readable, writable
String. Default: null
kws : List of keyphrases for spotting
flags: readable, writable
String. Default: null
fwdflat : Enable Flat Lexicon Search
flags: readable, writable
Boolean. Default: true
bestpath : Enable Graph Search
flags: readable, writable
Boolean. Default: true
maxhmmpf : Maximum number of HMMs searched per frame
flags: readable, writable
Integer. Range: 1 - 100000 Default: 30000
maxwpf : Maximum number of words searched per frame
flags: readable, writable
Integer. Range: 1 - 100000 Default: -1
beam : Beam width applied to every frame in Viterbi search
flags: readable, writable
Double. Range: -1 - 1 Default: 1e-48
wbeam : Beam width applied to phone transitions
flags: readable, writable
Double. Range: -1 - 1 Default: 7e-29
pbeam : Beam width applied to phone transitions
flags: readable, writable
Double. Range: -1 - 1 Default: 1e-48
dsratio : Evaluate acoustic model every N frames
flags: readable, writable
Integer. Range: 1 - 10 Default: 1
latdir : Output Directory for Lattices
flags: readable, writable
String. Default: null
lmname : Language model name (to select LMs from lmctl)
flags: readable, writable
String. Default: null
decoder : The underlying decoder
flags: readable
Boxed pointer of type "PSDecoder"
You mistakenly added a folder /usr/local/lib/python2.7/dist-packages/sphinxbase/ to GST_PLUGIN_PATH
GST_PLUGIN PATH should only contain the folder with gstreamer plugins, not other folder, the right folder to add is /usr/local/lib/gstreamer-1.0