hi,
I built the .so file but following steps provided on github page for gstreamer-bad-plugin but I am getting this error Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libremovesilence.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libremovesilence.so: undefined symbol: gst_base_transform_get_type also I am not able to gst-inspect on removesilence. I understand there are some CFLAGS missing but where it is missing I am not able to figure out. can you please help |
On Di, 2016-03-22 at 21:58 -0700, Sagar wrote:
> hi, > > I built the .so file but following steps provided on github page for > gstreamer-bad-plugin Which steps provided on which GitHub page? You're probably using Kurento's GStreamer fork here, not the official one. > but I am getting this error *Failed to load plugin > '/usr/lib/x86_64-linux-gnu/gstreamer-1.5/libremovesilence.so': > /usr/lib/x86_64-linux-gnu/gstreamer-1.5/libremovesilence.so: undefined > symbol: gst_base_transform_get_type * > > also I am not able to *gst-inspect* on *removesilence*. I understand there > are some CFLAGS missing but where it is missing I am not able to figure out. > can you please help Check with ldd if libgstremovesilence.so is linked to libgstbase- 1.5.so.0. It is in the official GStreamer version but it was since the very beginning, so not sure what the problem here could be. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
using ldd command gives libgstbase-1.5.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.5.so.0 (0x00007f427df45000)
and sorry for not mentioning, I am using https://github.com/Kurento/gst-plugins-bad fork |
Is ldd showing some missing dependency?
Here is the mine for reference ldd libgstremovesilence.so linux-vdso.so.1 (0x00007ffe85766000) libgstbase-1.0.so.0 => /home/nicola/gst/master/gstreamer/libs/gst/base/.libs/libgstbase-1.0.so.0 (0x00007efd33e85000) libgstreamer-1.0.so.0 => /home/nicola/gst/master/gstreamer/gst/.libs/libgstreamer-1.0.so.0 (0x00007efd33b5b000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007efd33921000) libm.so.6 => /usr/lib/libm.so.6 (0x00007efd3361b000) librt.so.1 => /usr/lib/librt.so.1 (0x00007efd33413000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007efd3320f000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007efd32fbc000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007efd32cae000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007efd32a91000) libc.so.6 => /usr/lib/libc.so.6 (0x00007efd326ef000) /usr/lib64/ld-linux-x86-64.so.2 (0x00005578444af000) libffi.so.6 => /usr/lib/libffi.so.6 (0x00007efd324e6000) libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007efd32275000) Nicola Il 23/03/2016 09:13, Sagar ha scritto: > using ldd command gives *libgstbase-1.5.so.0 => > /usr/lib/x86_64-linux-gnu/libgstbase-1.5.so.0 (0x00007f427df45000)* > > and sorry for not mentioning, I am using > https://github.com/Kurento/gst-plugins-bad > <https://github.com/Kurento/gst-plugins-bad> fork > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-bad-plugin-removesilence-runtime-link-error-tp4676504p4676509.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I don't know what solved the issue but I did two changes
1. added GST_BASE_LIBS = -lgstbase-1.5 2. installed gstreamer1.5-tools now its working fine. ldd libgstremovesilence.so linux-vdso.so.1 => (0x00007fff7cff8000) libgstbase-1.5.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.5.so.0 (0x00007f7b776d1000) libgstreamer-1.5.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0 (0x00007f7b773ad000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f7b77159000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f7b76e4a000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7b76c2c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7b76866000) libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f7b76662000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7b7635c000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7b76153000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7b75f4f000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f7b75d47000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f7b75b08000) /lib64/ld-linux-x86-64.so.2 (0x00007f7b77b57000) @Nicola : I have a question related to vad-private.c #define VAD_POWER_THRESHOLD 0x000010C7 /* -60 dB (square wave) */ I want to change -60 to -40 but I 0x000010C7 is not an hex value, can you please tell what type of value it is? what will be the equivalent value of -40db ? |
Il 23/03/2016 11:54, Sagar ha scritto:
> I don't know what solved the issue but I did two changes > > 1. added *GST_BASE_LIBS = -lgstbase-1.5 * > 2. installed *gstreamer1.5-tools* > > now its working fine. > > ldd libgstremovesilence.so > linux-vdso.so.1 => (0x00007fff7cff8000) > libgstbase-1.5.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.5.so.0 > (0x00007f7b776d1000) > libgstreamer-1.5.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.5.so.0 > (0x00007f7b773ad000) > libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 > (0x00007f7b77159000) > libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 > (0x00007f7b76e4a000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x00007f7b76c2c000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7b76866000) > libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 > (0x00007f7b76662000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7b7635c000) > librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7b76153000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7b75f4f000) > libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f7b75d47000) > libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f7b75b08000) > /lib64/ld-linux-x86-64.so.2 (0x00007f7b77b57000) > > > @Nicola : I have a question related to /vad-private.c/ > > #define VAD_POWER_THRESHOLD 0x000010C7 /* -60 dB (square wave) */ > > I want to change -60 to -40 but I 0x000010C7 is not an hex value, can you -40db should be 0x00068DB9 (untested) let me know if it works as expected, Nicola > please tell what type of value it is? what will be the equivalent value of > -40db ? > > > > -- > View this message in context:http://gstreamer-devel.966125.n4.nabble.com/gstreamer-bad-plugin-removesilence-runtime-link-error-tp4676504p4676511.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
how do you calculate it ? is there any specific formula/method ?
I thought in 0x000010C7 C7 will be 2's compliment of -60. and -40's 2's compliment will be DF meanwhile I will test the value which you gave. |
https://it.wikipedia.org/wiki/Decibel
-60Db = 0.000001 4294967296 * 0.000001 = 4295 or 0x000010C7 hex -40Db = 0.0001 using the formula above you should have 0x00068DB9, please confirm that this value give you the expected results, -Nicola 0x00068DB9 Worked for me thanks... |
OK, thanks for confirming, after the actual pending modifications are
merged to master maybe I can do another patch to make this threshold configurable with a property, Nicola Il 24/03/2016 06:48, Sagar ha scritto: > https://it.wikipedia.org/wiki/Decibel > -60Db = 0.000001 > 4294967296 * 0.000001 = 4295 or 0x000010C7 hex > -40Db = 0.0001 using the formula above you should have 0x00068DB9, > please confirm that this value give you the expected results, > > -Nicola > > 0x00068DB9 Worked for me thanks... > > > > -- > View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-bad-plugin-removesilence-runtime-link-error-tp4676504p4676521.html > Sent from the GStreamer-devel mailing list archive at Nabble.com. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |