kaldi-gstreamer-server icon indicating copy to clipboard operation
kaldi-gstreamer-server copied to clipboard

Change kaldi gstreamer plugin properties

Open grwgreg opened this issue 6 years ago • 1 comments

Is it possible to alter the properties of the kaldinnet2onlinedecoder gstreamer element while it is in the pipeline? I'm trying to alter the server so I can send a request to change which FST, model etc are being used. The following causes a segfault,

#in decoder2.py
self.asr.set_state(Gst.State.PAUSED)
self.asr.set_property('fst', 'models/other/HCLG.fst')
#changing all the properties here
self.asr.set_state(Gst.State.PLAYING)

I was able to get something working by creating an entirely new decoder but I'd rather do it this way if possible.

Thanks

grwgreg avatar Sep 25 '18 02:09 grwgreg

I was trying the same thing. It's not possible to change the fst, but I'm able to change the model. Αny solution about that?

dimastro avatar Apr 23 '20 10:04 dimastro