qtgstreamer build issues - Win32

David Hoyt dhoyt at hoytsoft.org
Fri Aug 17 11:26:09 PDT 2012


Seems like either an issue with your glib build or your gstreamer build. But
you said that gst-launch ran successfully. Were you able to run gst-inspect?
If so, did it list out all the plugins?

I would first delete the registry and try again. Look for it in
C:\Users\<account>\.gstreamer-0.10\registry.i586.bin or something like that
IIRC. I might also try and use the gstreamer SDK, copy the qt gstreamer
plugins into the plugin folder (typically <installation
dir>\lib\gstreamer-0.10\ IIRC), their dependencies to the bin\ folder,
delete the registry file, and try again. That could help isolate whether the
problem is your glib/gstreamer build or the qt gstreamer build.

But really, the fact that it's failing on registering "GstObject" is a major
problem and something doesn't smell right.

HTH,
- David Hoyt

 

From: gstreamer-devel-bounces+dhoyt=hoytsoft.org at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+dhoyt=hoytsoft.org at lists.freedesktop.org] On
Behalf Of Dinesh Kumar
Sent: Friday, August 17, 2012 5:28 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: qtgstreamer build issues - Win32

 

Hi, 

 

I have few more pointers to add

 

   -> There were some errors in my qtgstreamer build. (gstqtvideosink did
not get build). I think this is the cause for the error mentioned in the
previous mail. I have overlooked the errors, as Cmake and MSVC successfully
created the player.exe and other binaries :(. 

 

   -> After building gstqtvideosink successfully, I observed a strange
behaviour. 

          When I try to run player.exe I got the below errors.

 

(player.exe:4632): GLib-GObject-WARNING **: cannot register existing type
`GstObject'

(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed

(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed

(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed

(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed

(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed\

(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4632): GStreamer-CRITICAL **: gst_element_register: assertion
`g_type_is_a (type, GST_TYPE_ELEMENT)' failed

   

 -> Then I tried running gst-launch.exe, I got the below errors. 

(gst-launch-0.10:592): GLib-GObject-WARNING **: cannot register existing
type `GstObject'

(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion
`result != 0' failed

(gst-launch-0.10:592): GLib-GObject-CRITICAL **: g_type_register_static:
assertion `parent_type > 0' failed

(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion
`result != 0' failed

(gst-launch-0.10:592): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

 

  -> If I remove the "gstqtvideosink" from gst_plugin_path, I can able to
run the gst-launch successfully. 

 

  -> I think, there is some issue with the "gstqtvideosink". 

 

I am using qtgstreamer-0.10.2. I am new to windows development environment.
Your pointers could be of great help to me. 

 

Regards

Dinesh P

 

 

On Thu, Aug 16, 2012 at 6:21 PM, Dinesh Kumar <dineshkpadmanaban at gmail.com>
wrote:

Hi, 

 

I am not sure, if this is the right forum for this question. I could not
find any other related forum for qtgstreamer related queries. 

 

I have compiled gstreamer for win32 following the procedure
http://gstreamer.freedesktop.org/wiki/BuildGStreamerWithMinGWAndMsys

I have used precompiled binaries for all the packages, except gstreamer as I
have modified the source. 

I can able to run gst-launch successfully.

 

I have compiled qtgstreamer following the procedure
http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows.  I had
issues in CMake finding my gstreamer installation path, since msys
environment build system did not generate .lib files.  I have generated .def
and .lib using "dumpbin" and "lib" tools and compiled qtgstreamer
successfully. 

 

When I try to run qtgstreamer examples (player, recorder, voip), I get
following errors. 

 

(player.exe:4232): GLib-GObject-WARNING **: cannot register existing type
`GstOject'

(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4232): GLib-GObject-CRITICAL **: g_type_register_static:
assertionparent_type > 0' failed

(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result !=
0'failed

(player.exe:4232): GLib-GObject-WARNING **: interface type
`GstImplementsInterfce' or prerequisite type `<invalid>' invalid

 

I double checked that GST_PLUGIN_PATH is set correct. I have also cross
checked by successfully launching gst-launch on the same shell. 

Please help me. Do I need to set anyother env variables? 

 

Thanks

Dinesh P

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120817/ea681a51/attachment-0001.html>


More information about the gstreamer-devel mailing list