I’m trying to get the wxPython video player described here to work in Windows, so that I can do some minor modifications to it and get a script running that will let a user hit the spacebar while watching a video and spit out a record of the timing of each spacebar press. So far, though, I can’t even get the videoplayer working; when I try to open a video, I get the following error message:
Unable to load (filename): Unsupported format?
A little google searching turned up the possibility that I might be missing gstreamer packages, so I installed the closest thing I could find from here, but it still doesn’t work. What exactly do I need to have installed to get wxPython to play videos, and how do I install it?
Thanks!
wxPython should use GStreamer on Linux, if available. See http://wxpython-users.1045709.n5.nabble.com/wxpython-gstreamer-and-overlapping-panel-staticText-td4834139.html or http://pythonide.blogspot.com/2008/03/howto-write-wxpython-video-player-with.html although I don’t see why that matters when the OP was talking about Windows.
I created a simple media player using the mplayer control. You can read about it here: http://www.blog.pythonlibrary.org/2010/07/24/wxpython-creating-a-simple-media-player/ It was tested on Windows XP and Windows 7 with no issues.