mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

video playback/gstreamer is broen on portable OSX for 0.5 #302

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Seems to be a gstreamer problem, not being able to find the irght plugin.  tito 
says filesrc is usually in libgstcoreelements.so.  we dont have a corrosponding 
a/dylib file in the portable lib dir, trying a new instll of gstremaer from 
homebrew to see if it includes it

Thomas-Hansens-MacBook-Pro:videoplayer tehansen$ pymt video.py 
[INFO   ] PyMT v0.5
[INFO   ] [Core    ] Using accelerate module
[INFO   ] [Logger  ] Record log in 
/Users/tehansen/.pymt/logs/pymt_10-08-13_6.txt
[INFO   ] [No OpenGL_accelerate module loaded] No module named OpenGL_accelerate
[INFO   ] [Unable to load registered array format handler numeric]
Traceback (most recent call last):
  File "/Applications/PyMT.app/Contents/Resources/lib/sitepackages/OpenGL/arrays/formathandler.py", line 44, in loadPlugin
    plugin_class = entrypoint.load()
  File "/Applications/PyMT.app/Contents/Resources/lib/sitepackages/OpenGL/plugins.py", line 14, in load
    return importByName( self.import_path )
  File "/Applications/PyMT.app/Contents/Resources/lib/sitepackages/OpenGL/plugins.py", line 28, in importByName
    module = __import__( ".".join(moduleName), {}, {}, moduleName)
  File "/Applications/PyMT.app/Contents/Resources/lib/sitepackages/OpenGL/arrays/numeric.py", line 15, in <module>
    raise ImportError( """No Numeric module present: %s"""%(err))
ImportError: No Numeric module present: No module named Numeric

[INFO   ] [Graphx  ] Using accelerate graphx module
[INFO   ] [Camera  ] using <gstreamer> as camera provider
[INFO   ] [Text    ] using <pygame> as text provider
[INFO   ] [Video   ] using <gstreamer> as video provider
[WARNING] [Spelling] Unable to use <enchant> as spellingprovider
[INFO   ] [Spelling] using <osxappkit> as spelling provider
[INFO   ] [OSC     ] using <multiprocessing> for socket
[INFO   ] [Loader  ] using <pygame> as thread loader
[INFO   ] [Window  ] use Pygame as window provider.
[INFO   ] [Window  ] OpenGL version <2.1 NVIDIA-1.6.16>
[INFO   ] GL Extension GL_EXT_framebuffer_object available
Traceback (most recent call last):
  File "video.py", line 8, in <module>
    video = MTVideo(filename=filename, autostart=True)
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/ui/widgets/composed/video.py", line 92, in __init__
    super(MTVideo, self).__init__(**kwargs)
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/ui/widgets/composed/video.py", line 35, in __init__
    self.player = Video(filename=filename)
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/core/video/video_gstreamer.py", line 46, in __init__
    super(VideoGStreamer, self).__init__(**kwargs)
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/core/video/__init__.py", line 59, in __init__
    self.filename       = kwargs.get('filename')
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/core/video/__init__.py", line 81, in <lambda>
    lambda self, x: self._set_filename(x),
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/core/video/__init__.py", line 79, in _set_filename
    self.load()
  File "/Applications/PyMT.app/Contents/Resources/pymt/pymt/core/video/video_gstreamer.py", line 98, in load
    d = discoverer.Discoverer(self._filename)
  File "/Applications/PyMT.app/Contents/Resources/lib/sitepackages/gst/extend/discoverer.py", line 127, in __init__
    self.src = gst.element_factory_make("filesrc")
gst.ElementNotFoundError: filesrc

Original issue reported on code.google.com by thomas.h...@gmail.com on 13 Aug 2010 at 3:26

GoogleCodeExporter commented 9 years ago
indeed we are missing some .so files for ll the gstreamer plugins.
Also must set GST_PLUGIN_PATH in launcher script
working out details...

Original comment by thomas.h...@gmail.com on 13 Aug 2010 at 4:38

GoogleCodeExporter commented 9 years ago
fixed by dennda

Original comment by thomas.h...@gmail.com on 15 Aug 2010 at 5:06