I am using a Kaldi-Gstreamer-Server library for live speech recognition application. The library uses onlinegmmdecodefaster gstreamer element (which is included with the kaldi library) along with other elements (decodbin, audioconvert...) to accept audio and transcribe it to text . The library requires when sending request to the server, the content-type request parameter be specified using GStreamer 1.0 caps format and encoded to the request Url. When sending raw audio to the server everything works fine and I get transcription text from the server. However, for low latency, I am trying to encode the audio using opus encoder and send to the server. I set the content-type request parameter to the caps format of the opusdec element pad as this:audio/x-opus, channel-mapping-family=(int)[ 1, 255 ], channels=(int)[ 1, 255 ], stream-count=(int)[ 1, 255 ], coupled-count=(int)[ 0, 255 ] However I get the following error while gstreamer tries to use the above capabilities:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |