qtgstreamer build issues - Win32

Dinesh Kumar dineshkpadmanaban at gmail.com
Fri Aug 17 05:27:59 PDT 2012


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/64ad01c6/attachment-0001.html>


More information about the gstreamer-devel mailing list