kaldi-gstreamer-server
kaldi-gstreamer-server copied to clipboard
Change kaldi gstreamer plugin properties
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
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?