Okay - I found the MediaCtrl in wxPython which looks like it has
everything I need. It provides a generic media playback interface can
be configured to use WMP, Quicktime or Directshow. I'd still like to
learn how to interact with ActiveX and COM objects, but that can now
wait for another day.

Regards,

ER

On 5/18/07, E R <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to write a simple video bookmarking tool with python. It
> would allow you to keep track of and annotate locations in video files
> so you can quickly find and jump to them.
>
> To do this I just need to solve two technical problems. The first is
> to instantiate a visible instance of Windows Media Player. The code
> listed in this posting works:
>
> http://mail.python.org/pipermail/python-win32/2005-August/003626.html
>
> but WMP doesn't show a user interface. I think I need to put the WMP
> COM object into a GUI object, but I'm very new to Win32 programming,
> so any help would be greatly appreciated!
>
> The second technical problem is to be able to ask WMP where in the
> video stream it currently is. And then I need to be able to tell WMP
> to start playing a file from a certain offset. Does anyone know how to
> do this?
>
> Also, I don't have to use WMP if this can be done easier with another
> media player. All I need to play are MPEG2 video files.
>
> Thanks,
>
> ER
>
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to