wxPython and Video / Multimedia

Hi All,

I've got a question about using video (mpeg2, avi) with wxPython. The
wxMSW download area at Sourceforge contains a file called
"mmedia-2.2.9.zip" that contains libraries for using video with
wxWindows (also CD and audio control from what I can gather). I'd like
to use wxPython for a project that I'm working on and video/audio
routines are needed. Does wxPython have access to these video/audio
libraries that are available for wxWindows? If not, is there a viable
alternative?

Thanks

···

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

I've been working on getting video to play within a wxPython application,
and have sucessfully got Windows Media Player working in a wxFrame. My
project is still in its very early stages, but you are welcome to look at
what we have done so far.

If you go to http://www.transana.org and look at the Open Source Development
page, you will see a link to our Sourceforge page. Look in our CVS for
VideoWindow.py and video_msw.py. You will also see video_mac.py, but that's
still an empty shell of a module that will eventually use Quicktime on the
Mac with the common interface provided by VideoWindow.

At the moment, all the code does is instantiate Media Player in a wxFrame
and provide an interface for loading a video, play, pause, stop control, and
positioning. Still, it's a place to start.

If you find better alternatives to what I am doing, please let me know!

David Woods
Wisconsin Center for Education Research
University of Wisconsin, Madison

···

-----Original Message-----
From: Stephen Scherer [mailto:sscherer@rocketmail.com]
Sent: Tuesday, February 04, 2003 1:28 AM
To: wxPython-users@lists.wxwindows.org
Subject: [wxPython-users] wxPython and Video / Multimedia

Hi All,

I've got a question about using video (mpeg2, avi) with wxPython. The
wxMSW download area at Sourceforge contains a file called
"mmedia-2.2.9.zip" that contains libraries for using video with
wxWindows (also CD and audio control from what I can gather). I'd like
to use wxPython for a project that I'm working on and video/audio
routines are needed. Does wxPython have access to these video/audio
libraries that are available for wxWindows? If not, is there a viable
alternative?

Thanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

David,

Hi, thanks for the reply. Your project looks very interesting. I
believe that I may have found <a
href="http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&th=eaf2ef1a09980187&seekm=41c203e.0209252206.3c344224%40posting.google.com&frame=off&quot;&gt;another
solution</a>, however, based on <a
href="http://www.pygame.org">pygame</a>. I really like the idea of
using pygame's SDL due to the platform independence. And it makes my
mouth water to think of the power that could be obtained by combining
the pygame libraries with wxPython.
I have to admit that a hybrid pygame/wxPython application is a bit (!)
of a hack, and I wonder about its portability (assigning window handles
to environment variables, etc.).

Steve

···

--- David Woods <dwoods@education.wisc.edu> wrote:

I've been working on getting video to play within a wxPython
application,
and have sucessfully got Windows Media Player working in a wxFrame.
My
project is still in its very early stages, but you are welcome to
look at
what we have done so far.

If you go to http://www.transana.org and look at the Open Source
Development
page, you will see a link to our Sourceforge page. Look in our CVS
for
VideoWindow.py and video_msw.py. You will also see video_mac.py, but
that's
still an empty shell of a module that will eventually use Quicktime
on the
Mac with the common interface provided by VideoWindow.

At the moment, all the code does is instantiate Media Player in a
wxFrame
and provide an interface for loading a video, play, pause, stop
control, and
positioning. Still, it's a place to start.

If you find better alternatives to what I am doing, please let me
know!

David Woods
Wisconsin Center for Education Research
University of Wisconsin, Madison

-----Original Message-----
From: Stephen Scherer [mailto:sscherer@rocketmail.com]
Sent: Tuesday, February 04, 2003 1:28 AM
To: wxPython-users@lists.wxwindows.org
Subject: [wxPython-users] wxPython and Video / Multimedia

Hi All,

I've got a question about using video (mpeg2, avi) with wxPython.
The
wxMSW download area at Sourceforge contains a file called
"mmedia-2.2.9.zip" that contains libraries for using video with
wxWindows (also CD and audio control from what I can gather). I'd
like
to use wxPython for a project that I'm working on and video/audio
routines are needed. Does wxPython have access to these video/audio
libraries that are available for wxWindows? If not, is there a
viable
alternative?

Thanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Stephen Scherer wrote:

Hi All,

I've got a question about using video (mpeg2, avi) with wxPython. The
wxMSW download area at Sourceforge contains a file called
"mmedia-2.2.9.zip" that contains libraries for using video with
wxWindows (also CD and audio control from what I can gather). I'd like
to use wxPython for a project that I'm working on and video/audio
routines are needed. Does wxPython have access to these video/audio
libraries that are available for wxWindows?

No. In fact, my understanding is that they are not really working very well from C++ anymore either as they are not being maintained.

If not, is there a viable
alternative?

As you've already discovered, embedding SDL via PyGame should be workable. I havn't tried it myself, but am interested in it. If you could put a recipie in the wxPyWiki cookbook when you figure it out it would be great!

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!