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

GLib.Error

Open JustJia opened this issue 5 years ago • 3 comments

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')

JustJia avatar Sep 29 '19 02:09 JustJia

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?

ashimajain2595 avatar May 14 '20 11:05 ashimajain2595

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 ?

ugrozkr avatar May 14 '20 12:05 ugrozkr

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

ashimajain2595 avatar May 19 '20 11:05 ashimajain2595