Link - Wrapping mplayer in python

published Jul 27, 2010 01:47   by admin ( last modified Jul 27, 2010 01:47 )

Update 2011-jan-09: I have now got around to it, but have had problems using the below code examples on Linux. They seem to be targeted to Windows. I have instead started using the python-mplayer library with gtk. It works fine, with the exception that I could not get sound through my USB headset when using PulseAudio. Solution was to switch to a sound card.

 

Sometimes I'd just like to make a video player/editor with the functions I need and nothing else: Slow motion, select a short piece and save it. If I ever get around to that, this may be a good starting point:

This article will just focus on creating a really simple Media Player that you can play movies with.



Läs mer: wxPython: Creating a Simple Media Player « The Mouse Vs. The Python