<br><br><div class="gmail_quote">2010/7/25 Aulia Khamil <span dir="ltr">&lt;<a href="mailto:selazer@gmail.com">selazer@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I was running it on Windows Vista using latest GStreamer WinBuilds<br>
0.10.6 (gstreamer-0.10.28, gst-plugins-base-0.10.28,<br>
gst-plugins-gl-0.10.1) and Python 2.6.4.<br></blockquote><div><br>Same except for me this is winXP and gst-plugins-gl from git.<br>I am going to send you the binary file the latest gst-gl for testing, in a separate email.<br>
Julien<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
As a temporary fix I replaced glimagesink with dshowvideosink - works fine.<br>
<br>
Regards,<br>
Aulia Khamil<br>
<br>
2010/7/24 Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; Right now I can&#39;t test your exact example on linux I guess ?<br>
&gt;<br>
&gt; But I have tested this one on Windows with no problems:<br>
&gt;<br>
&gt; --------------------------------<br>
&gt; import gobject<br>
&gt; import pygst<br>
&gt; pygst.require(&quot;0.10&quot;)<br>
&gt; print dir(pygst)<br>
&gt; import gst<br>
&gt;<br>
&gt; players = []<br>
&gt; for i in range(10):<br>
&gt;     players.append(gst.parse_launch(&quot;videotestsrc ! glimagesink&quot;))<br>
&gt;<br>
&gt; for player in players:<br>
&gt;     player.set_state(gst.STATE_PLAYING)<br>
&gt;<br>
&gt; gobject.MainLoop().run()<br>
&gt; --------------------------------<br>
&gt;<br>
&gt; What&#39;s the exact version of your gstreamer (core/base/gl/python) ? Are you<br>
&gt; building it from git or ?<br>
&gt;<br>
&gt; Julien<br>
&gt;<br>
&gt;<br>
&gt; 2010/7/24 Aulia Khamil &lt;<a href="mailto:selazer@gmail.com">selazer@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; Consider following Python code, which creates four simple pipelines at<br>
&gt;&gt; the same time:<br>
&gt;&gt;<br>
&gt;&gt; import wx<br>
&gt;&gt; import pygst<br>
&gt;&gt; pygst.require(&quot;0.10&quot;)<br>
&gt;&gt; import gst<br>
&gt;&gt;<br>
&gt;&gt; players = []<br>
&gt;&gt; for i in range(4):<br>
&gt;&gt;    players.append(gst.parse_launch(&quot;videotestsrc ! glimagesink&quot;))<br>
&gt;&gt;<br>
&gt;&gt; for player in players:<br>
&gt;&gt;    player.set_state(gst.STATE_PLAYING)<br>
&gt;&gt;<br>
&gt;&gt; app = wx.App(redirect=False)<br>
&gt;&gt; frame = wx.Frame(None)<br>
&gt;&gt; frame.Show()<br>
&gt;&gt; app.MainLoop()<br>
&gt;&gt;<br>
&gt;&gt; This code crashes a lot with various errors:<br>
&gt;&gt; - 0xc0000005 exceptions<br>
&gt;&gt; - fatal flex scanner internal error--end of buffer missed<br>
&gt;&gt; - (python.exe:2788): GstGLShader-WARNING **: Fragment Shader<br>
&gt;&gt; compilation failed: ERROR: 0:1: &#39;float&#39; : syntax error parse error<br>
&gt;&gt;<br>
&gt;&gt; Sometimes, however, it runs OK.<br>
&gt;&gt;<br>
&gt;&gt; To me it looks like some bug in glimagesink having something to do<br>
&gt;&gt; with thread safety. Anyone have any ideas what might be the cause of<br>
&gt;&gt; this strange behaviour and how to get rid of it?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Aulia Khamil<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>