Playing an .mov, .avi etc. file??
Markus von Ehr
vonehr at ira.uka.de
Thu Jan 4 06:07:18 EST 2001
More information about the Python-list mailing list
Thu Jan 4 06:07:18 EST 2001
- Previous message (by thread): Playing an .mov, .avi etc. file??
- Next message (by thread): Playing an .mov, .avi etc. file??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
harrc at my-deja.com wrote: > > Does anyone know of a good way from Python to play a video file (.avi > or .mpg or .mov)? Or even better, a way to play slected tracks off a > DVD? > > Any info is helpful! > > Chad Harrington > > Sent via Deja.com > http://www.deja.com/ On windows systems you can use the win32com module and use OLE/COM control mechanism. I tried to use MediaPlayer, but had problems. If you use windows and COM control, please answer in case of success. # Test dynamic policy import win32com import pythoncom import win32com.client w=win32com.client.Dispatch("MediaPlayer.MediaPlayer.1") w.AutoStart=1 w.FileName="c:\Programme\Python\ex1.wav" w.Play()
- Previous message (by thread): Playing an .mov, .avi etc. file??
- Next message (by thread): Playing an .mov, .avi etc. file??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list