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