Yes both are built with the same glib. Let me dig into this further. Thanks for your help.<div><br></div><div>Regards</div><div>Dinesh P</div><div><br><br><div class="gmail_quote">On Sat, Aug 18, 2012 at 1:13 AM, David Hoyt <span dir="ltr"><<a href="mailto:dhoyt@hoytsoft.org" target="_blank">dhoyt@hoytsoft.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I agree that the qt gstreamer build appears suspect. What I’m unsure of is how it could get in the way of registering basic gobjects. Was the qt gstreamer build built against the same glib as gstreamer? If so, I’m not sure what to tell you without deep diving into the build...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Dinesh Kumar [mailto:<a href="mailto:dineshkpadmanaban@gmail.com" target="_blank">dineshkpadmanaban@gmail.com</a>] <br>
<b>Sent:</b> Friday, August 17, 2012 12:39 PM<br><b>To:</b> Discussion of the development of and with GStreamer; <a href="mailto:dhoyt@hoytsoft.org" target="_blank">dhoyt@hoytsoft.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: qtgstreamer build issues - Win32<u></u><u></u></div></div><p></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi David,<u></u><u></u></p><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">Thank you very much for your help. I have deleted the registry and tried the same. The results are same. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">I have one strange observation. <u></u><u></u></p></div><div><p class="MsoNormal"> - When there is no <b>gstqtvideosink(qt gstreamer element) </b>in the plugin folder, gst-launch and gst-inspect(displays all the plugins) works as expected. <u></u><u></u></p>
</div><div><p class="MsoNormal"> - When the gstqtvideosink is present in the plugin folder, gst-launch and gst-inspect throw those errors. <u></u><u></u></p></div><div><div><p class="MsoNormal"> <u></u><u></u></p>
</div></div><div><p class="MsoNormal"> <b>The moment i remove the gstqtvideosink from the plugin folder, gst-launch and gst-inspect works as expected. </b>I think this is enough to confirm the issue is with qtgstreamer build not the glib/gobject ? Can you please confirm. <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks<u></u><u></u></p></div><div><p class="MsoNormal">Dinesh P<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div>
<p class="MsoNormal">On Fri, Aug 17, 2012 at 11:56 PM, David Hoyt <<a href="mailto:dhoyt@hoytsoft.org" target="_blank">dhoyt@hoytsoft.org</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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?<br>
<br>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.<br>
<br>But really, the fact that it’s failing on registering “GstObject” is a major problem and something doesn’t smell right.<br><br>HTH,<br>- David Hoyt</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gstreamer-devel-bounces+dhoyt=<a href="mailto:hoytsoft.org@lists.freedesktop.org" target="_blank">hoytsoft.org@lists.freedesktop.org</a> [mailto:<a href="mailto:gstreamer-devel-bounces%2Bdhoyt" target="_blank">gstreamer-devel-bounces+dhoyt</a>=<a href="mailto:hoytsoft.org@lists.freedesktop.org" target="_blank">hoytsoft.org@lists.freedesktop.org</a>] <b>On Behalf Of </b>Dinesh Kumar<br>
<b>Sent:</b> Friday, August 17, 2012 5:28 AM<br><b>To:</b> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br><b>Subject:</b> Re: qtgstreamer build issues - Win32</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Hi, <u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I have few more pointers to add<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> -> 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 :(. <u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> -> After building gstqtvideosink successfully, I observed a strange behaviour. <u></u><u></u></p></div><div><p class="MsoNormal"> When I try to run player.exe I got the below errors.<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-WARNING **: cannot register existing type `GstObject'</i><u></u><u></u></p></div><div><p class="MsoNormal">
<i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed\</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4632): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed</i><u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p>
</div></div><div><p class="MsoNormal"> -> Then I tried running gst-launch.exe, I got the below errors. <u></u><u></u></p></div><div><p class="MsoNormal"><i>(gst-launch-0.10:592): GLib-GObject-WARNING **: cannot register existing type `GstObject'</i><u></u><u></u></p>
</div><div><div><p class="MsoNormal"><i>(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(gst-launch-0.10:592): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(gst-launch-0.10:592): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"><b> -> If I remove the "gstqtvideosink" from gst_plugin_path, I can able to run the gst-launch successfully. </b><u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> -> I think, there is some issue with the "gstqtvideosink". <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p>
</div><div><p class="MsoNormal">I am using qtgstreamer-0.10.2. I am new to windows development environment. Your pointers could be of great help to me. <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p>
</div><div><p class="MsoNormal">Regards<u></u><u></u></p></div><div><p class="MsoNormal">Dinesh P<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">
On Thu, Aug 16, 2012 at 6:21 PM, Dinesh Kumar <<a href="mailto:dineshkpadmanaban@gmail.com" target="_blank">dineshkpadmanaban@gmail.com</a>> wrote:<u></u><u></u></p><p class="MsoNormal">Hi, <u></u><u></u></p><div><p class="MsoNormal">
<u></u><u></u></p></div><div><p class="MsoNormal">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. <u></u><u></u></p></div><div><p class="MsoNormal">
<u></u><u></u></p></div><div><p class="MsoNormal">I have compiled gstreamer for win32 following the procedure <a href="http://gstreamer.freedesktop.org/wiki/BuildGStreamerWithMinGWAndMsys" target="_blank">http://gstreamer.freedesktop.org/wiki/BuildGStreamerWithMinGWAndMsys</a><u></u><u></u></p>
</div><div><p class="MsoNormal">I have used precompiled binaries for all the packages, except gstreamer as I have modified the source. <u></u><u></u></p></div><div><p class="MsoNormal">I can able to run gst-launch successfully.<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">I have compiled qtgstreamer following the procedure <a href="http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows" target="_blank">http://gstreamer.freedesktop.org/wiki/QtGStreamer/BuildingOnWindows</a>. 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. <u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">When I try to run qtgstreamer examples (player, recorder, voip), I get following errors. <u></u><u></u></p></div><div><p class="MsoNormal">
<u></u><u></u></p></div><div><div><p class="MsoNormal"><i>(player.exe:4232): GLib-GObject-WARNING **: cannot register existing type `GstOject'</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4232): GLib-GObject-CRITICAL **: g_type_register_static: assertionparent_type > 0' failed</i><u></u><u></u></p></div><div><p class="MsoNormal"><i>(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i><u></u><u></u></p>
</div><div><p class="MsoNormal"><i>(player.exe:4232): GLib-GObject-WARNING **: interface type `GstImplementsInterfce' or prerequisite type `<invalid>' invalid</i><u></u><u></u></p></div></div><div><p class="MsoNormal">
<u></u><u></u></p></div><div><p class="MsoNormal">I double checked that GST_PLUGIN_PATH is set correct. I have also cross checked by successfully launching gst-launch on the same shell. <u></u><u></u></p></div><div><p class="MsoNormal">
Please help me. Do I need to set anyother env variables? <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks<u></u><u></u></p></div><div><p class="MsoNormal">Dinesh P<u></u><u></u></p>
</div><div><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>