Closed badboys4life007 closed 9 years ago
It should work with Java although I haven't really tried.
The error message seems to indicate that GStreamer doesn't find the library that contains kaldinnet2onlinedecoder. Have you set the GST_PLUGIN_PATH environment variable to point to the directory that contains the plugin? E.g., can you run GST_PLUGIN_PATH=/home/foo/gst-kaldi-nnet2-online/src gst-inspect-1.0 kaldinnet2onlinedecoder
from the same directory where you execute you Java program?
yes i tried all the possibilities and after all finally, i come to know that GStreamer Java has only supporting version of GStreamer 0.10 (here is refer url https://code.google.com/p/gstreamer-java/) and it has no supported version for GStreamer 1.0 or above in java.
and i think we cant compile kaldi code with GStreamer 0.10 as i even tried to do it even but failed.
On 15 May 2015 at 12:19, Tanel Alumäe notifications@github.com wrote:
It should work with Java although I haven't really tried.
The error message seems to indicate that GStreamer doesn't find the library that contains kaldinnet2onlinedecoder. Have you set the GST_PLUGIN_PATH environment variable to point to the directory that contains the plugin? E.g., can you run GST_PLUGIN_PATH=/home/foo/gst-kaldi-nnet2-online/src gst-inspect-1.0 kaldinnet2onlinedecoder from the same directory where you execute you Java program?
— Reply to this email directly or view it on GitHub https://github.com/alumae/gst-kaldi-nnet2-online/issues/17#issuecomment-102287619 .
Yes, the plugin doesn't support GStreamer 0.10, sorry.
okey thanks for the response. so i suppose to work with python wrapper for GUI..
thanks, your effort saved my time..
On 15 May 2015 at 13:30, Tanel Alumäe notifications@github.com wrote:
Yes, the plugin doesn't support GStreamer 0.10, sorry.
— Reply to this email directly or view it on GitHub https://github.com/alumae/gst-kaldi-nnet2-online/issues/17#issuecomment-102306501 .
I just found this thread while searching for a Java kaldi gstreamer plugin. Anyway, in case it is relevant to someone, I am using org.freedesktop.gstreamer package, and it works fine with the gst-kaldi-nnet2-online plugin.
Cool, thanks for letting us know.
Hi @gilamsalem, thanks for the update. Can you share the code implementing org.freedesktop.gstreamer package with the gst-kaldi-nnet2-online plugin also?
Hi @justinphan3110 I haven't touched it for a long long time... I attached the files I found, hope it is still working: gstreamerjava.zip
I think that the relevant gstreamer version is: `
`
@gilamsalem thank you for the sharing! Your code would great to be one of a example for the gst1-java-examples also
@justinphan3110 Cool. I will follow. Ping me if I can help more...
Hello,
i used your python code as reference and code in java using gstreamer-java-1.6.jar and jna-4.1.0.jar but there it cannot load kaldi gstreamer library and says error as No such Gstreamer factory: kaldinnet2onlinedecoder
i even set the library path but does this library would load using gstreamer-java-1.6.jar.
Please suggest me what to do, it will be very helpful to me.