gst_element_factory_make errors in gstreamer-1.0

Nicolas Dufresne nicolas at ndufresne.ca
Wed May 8 16:24:07 UTC 2019


Le mercredi 08 mai 2019 à 10:40 -0500, mihaita a écrit :
> Hello,
> 
>      I have created a gstreamer app in Eclipse and i have the following
> runtime emssages:
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed

Did you forgot to call gst_init() ?

> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion
> 'gst_is_initialized ()' failed
> 
> ** (test:1510): CRITICAL **: gst_app_src_push_buffer_full: assertion
> 'GST_IS_APP_SRC (appsrc)' failed
> 
> (test:1510): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion
> 'gst_uri_is_valid (uri)' failed
> 
> (test:1510): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion
> 'gst_uri_is_valid (uri)' failed
> 
> (test:1510): GLib-GObject-WARNING **: invalid (NULL) pointer instance
> 
> (test:1510): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
> 'G_TYPE_CHECK_INSTANCE (instance)' failed
> 
> (test:1510): GLib-GObject-WARNING **: invalid (NULL) pointer instance
> 
> (test:1510): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
> 'G_TYPE_CHECK_INSTANCE (instance)' failed
> 
> 
> I have read about possible issues. gst_init is called and the pipeline
> string used by gst_parse_launch seems to be correct.
> 
> I do not create pipeline elements by calling gst_element_factory_make,
> instead I have the pipeline defined already:
> 
> pipeline = gst_parse_launch("appsrc name=appsrc_element block=true !
> video/x-h264,profile=\"high-4:4:4\" "\
>     		                    "  width=720,height=480,framerate=30/1  "\
>     		                    " ! identity check-imperfect-timestamp=true ! "\
>     		                    "videoconvert ! x264dec ! video/x-raw,format=RGB
> "\
>     		                    "! rtpvrawpay ! udpsink host=10.2.149.137 ",
> &error);
> 
> 
> Does anybody know what possible reasons could be for this errors?
> 
> Thanks,
>      Mihaita
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190508/c18afa27/attachment-0001.sig>


More information about the gstreamer-devel mailing list