Robin Dunn wrote:
David Woods wrote:
Is it possible I don't have the right codecs for gstreamer, even though the
videos work in mplayer and vlc? Has anyone gotten wxMediaCtrl to work on
Linux? Any suggestions would be welcome.I've had it working in the past, but have had troubles recently. I don't think anything has changed in wx, so maybe there is some incompatibility with newer versions of gstreamer or something. One thing I have tracked down is that the media size is not being reported properly, so the layout done in the demo is always messed up, but even if I manually set the size of the control it still doesn't show the video. I just tried the C++ sample and it does play some of the sample videos I have around here, so I'll take a look to see what it is doing differently.
I looked into this before I got sick, and spent several hours in the debugger, and simply ran into a dead-end. I can't find any differences between the wxPython version and the C++ version of the sample apps that could have an effect like this, other than the fact that one has Python and wxPython loaded and the other doesn't. I've emailed the original author of the wxMediaCtrl classes hoping that he might have some ideas, but no response so far.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!