Gstreamer stopped working after multiple installation of gstreamer-1.0

akashjain akash.dhamasia12 at gmail.com
Tue Feb 9 13:35:01 UTC 2016


My *system configuration* : *ubuntu-14.04 32bit*

Initally i *installed* *gstreamer1.0* through basic installation *commands*:

*sudo apt-get update
sudo apt-get install gstreamer1.0**

*and likewise several dependencies.*

Everything *worked fine* till that.

I then tried to *build from source*, latest release of gstreamer1.0
(*GStreamer-1.6.3)*:

I followed following *procedure* for i*nstalling every plugins and
dependencies*:
*
./configure
make
sudo make install.*

AFTER THAT* EVERY PROGRAM* I MADE *USING GSTREAMER* *STOPPED WORKING. * BUT
PROGRAMS WERE GETTING COMPLIED SUCCESSFULLY:

compiling command:

g++ testingappsrc1.cpp -o testingappsrc1 -lpthread -lgstreamer-1.0 
`pkg-config --cflags --libs opencv gstreamer-1.0 gstreamer-app-1.0 gtk+-2.0`

BUT WHEN *RUNNING*THEM: THEY GAVE ME *FOLLOWING ERRORS*:

*./testingappsrc1: symbol lookup error: ./testingappsrc1: undefined symbol:
_gst_fraction_type*

WHEN I DID: *gst-inspect-1.0 --version*
*IT GIVES:*
*
gst-inspect-1.0 version 1.6.3
GStreamer 1.2.4
Unknown package origin*


*sudo ldconfig* *didnot solve* this issue: i then did

*export LD_LIBRARY_PATH=/usr/local/lib/
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD_INCLUDE_PATH=/usr/local/include*

AFTER THAT WHEN I *RAN THE PROGRAM*: IT REVERTED ME WITH SO* MANY ERRORS*:


(testingappsrc1:24240): GLib-GObject-WARNING **: specified class size for
type 'GstVideoFilter' is smaller than the parent type's 'GstBaseTransform'
class size

(testingappsrc1:24240): GLib-GObject-CRITICAL **: g_type_register_static:
assertion 'parent_type > 0' failed

(testingappsrc1:24240): GLib-CRITICAL **: g_once_init_leave: assertion
'result != 0' failed

(testingappsrc1:24240): GStreamer-CRITICAL **: gst_element_register:
assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
0:00:00.057207356 24240  0x9190420 ERROR           GST_PIPELINE
grammar.y:716:priv_gst_parse_yyparse: no element "videoconvert"
0:00:00.057254933 24240  0x9190420 ERROR           GST_PIPELINE
grammar.y:801:priv_gst_parse_yyparse: link has no sink [source=@0x91922c8]

(testingappsrc1:24240): GLib-GObject-WARNING **: specified class size for
type 'GstVideoSink' is smaller than the parent type's 'GstBaseSink' class
size

(testingappsrc1:24240): GLib-GObject-CRITICAL **: g_type_register_static:
assertion 'parent_type > 0' failed

(testingappsrc1:24240): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(testingappsrc1:24240): GLib-GObject-CRITICAL **:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed

(testingappsrc1:24240): GLib-CRITICAL **: g_once_init_leave: assertion
'result != 0' failed

(testingappsrc1:24240): GStreamer-CRITICAL **: gst_element_register:
assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
0:00:00.057737834 24240  0x9190420 ERROR           GST_PIPELINE
grammar.y:716:priv_gst_parse_yyparse: no element "ximagesink"
0:00:00.057763261 24240  0x9190420 ERROR           GST_PIPELINE
grammar.y:801:priv_gst_parse_yyparse: link has no source [sink=@(nil)]

(testingappsrc1:24240): GLib-GObject-WARNING **: invalid cast from
'GstAppSrc' to 'GstBin'

(testingappsrc1:24240): GStreamer-CRITICAL **: gst_bin_get_by_name:
assertion 'GST_IS_BIN (bin)' failed

** (testingappsrc1:24240): CRITICAL **: gst_app_src_set_caps: assertion
'GST_IS_APP_SRC (appsrc)' failed
**
ERROR:testingappsrc1.cpp:231:int main(): assertion failed: (source)
Aborted (core dumped)


*THINKING* THAT I *INSTALLED GSTREAMER INCORRECTLY*, I THEN TRIED TO *BUILD
GSTREAMER using the attached script file.*

  gstreamer-build.sh
<http://gstreamer-devel.966125.n4.nabble.com/file/n4675746/gstreamer-build.sh>   

BUT THAT ALSO *DID NOT RESOLVE* THE ISSUE.

KINDLY *HELP ME** SOLVE THIS ISSUE*, ATTACHED WITH THIS DOCUMENT IS THE
GSTREAMER_INSTALLATION SCRIPT FILE.

 





















--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-stopped-working-after-multiple-installation-of-gstreamer-1-0-tp4675746.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list