Hi, <div><br></div><div>I have few more pointers to add</div><div><br></div><div> -> 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 :(. </div>
<div><br></div><div> -> After building gstqtvideosink successfully, I observed a strange behaviour. </div><div> When I try to run player.exe I got the below errors.</div><div><br></div><div><div><i>(player.exe:4632): GLib-GObject-WARNING **: cannot register existing type `GstObject'</i></div>
<div><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div><div><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i></div>
<div><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div><div><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i></div>
<div><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div><div><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i></div>
<div><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i></div><div><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div>
<div><i>(player.exe:4632): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed\</i></div><div><i>(player.exe:4632): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div>
<div><i>(player.exe:4632): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed</i></div><div> </div></div><div> -> Then I tried running gst-launch.exe, I got the below errors. </div>
<div><i>(gst-launch-0.10:592): GLib-GObject-WARNING **: cannot register existing type `GstObject'</i></div><div><div><i>(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed</i></div>
<div><i>(gst-launch-0.10:592): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed</i></div><div><i>(gst-launch-0.10:592): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed</i></div>
<div><i>(gst-launch-0.10:592): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed</i></div><div><br></div><div><b> -> If I remove the "gstqtvideosink" from gst_plugin_path, I can able to run the gst-launch successfully. </b></div>
<div> </div><div> -> I think, there is some issue with the "gstqtvideosink". </div><div><br></div><div>I am using qtgstreamer-0.10.2. I am new to windows development environment. Your pointers could be of great help to me. </div>
<div><br></div><div>Regards</div><div>Dinesh P</div><div><br></div><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 6:21 PM, Dinesh Kumar <span dir="ltr"><<a href="mailto:dineshkpadmanaban@gmail.com" target="_blank">dineshkpadmanaban@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, <div><br></div><div>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. </div>
<div><br></div><div>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></div>
<div>I have used precompiled binaries for all the packages, except gstreamer as I have modified the source. </div><div>I can able to run gst-launch successfully.</div><div><br></div><div>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. </div>
<div><br></div><div>When I try to run qtgstreamer examples (player, recorder, voip), I get following errors. </div><div><br></div><div><div><i>(player.exe:4232): GLib-GObject-WARNING **: cannot register existing type `GstOject'</i></div>
<div><i>(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div><div><i>(player.exe:4232): GLib-GObject-CRITICAL **: g_type_register_static: assertionparent_type > 0' failed</i></div>
<div><i>(player.exe:4232): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0'failed</i></div><div><i>(player.exe:4232): GLib-GObject-WARNING **: interface type `GstImplementsInterfce' or prerequisite type `<invalid>' invalid</i></div>
</div><div><br></div><div>I double checked that GST_PLUGIN_PATH is set correct. I have also cross checked by successfully launching gst-launch on the same shell. </div><div>Please help me. Do I need to set anyother env variables? </div>
<div><br></div><div>Thanks</div><div>Dinesh P</div><div><br></div>
</blockquote></div><br></div>