There is something called pyffmpeg
I haven't tried it, but might be good for next time I do not want to remember ffmpeg's command line switches.
PyFFmpeg provides a simple object oriented interface to those libraries. PyFFmpeg is a wrapper around FFmpeg's libavcodec, libavformat and libavutil libraries whose main purpose is to provide access to individual frames of video files of various formats and codecs (such as mpg, mp4, mov, avi, flv, mkv, wmf, and webm). It also provides access to audio data.
Läs mer: pyffmpeg - Python FFmpeg wrapper - Google Project Hosting