Change kaldi gstreamer plugin properties
Opened this issue · 1 comments
grwgreg commented
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
dimastro commented
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?