alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 342 forks source link

GLib.Error #207

Open JustJia opened 4 years ago

JustJia commented 4 years ago

When I use python 3, Python 3.6.5 there will be ERROR shown ERROR:decoder2:(gerror=GLib.Error('Your GStreamer installation is missing a plug-in.', 'gst-core-error-quark', 12), debug='gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin:\nno suitable plugins found:\nMissing decoder: WAV (audio/x-wav)\n') (gerror=GLib.Error('Your GStreamer installation is missing a plug-in.', 'gst-core-error-quark', 12), debug='gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin:\nno suitable plugins found:\nMissing decoder: WAV (audio/x-wav)\n')

ashimajain2595 commented 4 years ago

Hi @JustJia I am also using python 3.6.5 on ubuntu 18.04 and facing the same issue. The error comes while decoding mp3/wav formats but works fine for raw files. Were you able to solve it?

ugrozkr commented 4 years ago

I am also get same issue on ubuntu 14.04 and python 2.7.4. The error gets only mp3 and wav files when i want to use nnet2 based plugin. Have anyone solve it ?

ashimajain2595 commented 4 years ago

The gstreamer plugins were installed in different directories for me because of which gst-inspect-1.0 wasn't displaying all of them. I exported the corresponding paths in the variable GST_PLUGIN_PATH and now everything works fine for me.

export GST_PLUGIN_PATH=/home/user/gst-kaldi-nnet2-online/src:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/user/anaconda3/lib/gstreamer-1.0