2012-03-31

Announcing mmshget: mmsh:// (MMS-over-HTTP) video stream downloader and reference implementation

This blog post is to announce mmshget, a command-line Python script to download streaming videos of the mmsh:// (MMS-over-HTTP) protocol, in .wmv (or .asf) format. mmshget can also be used as an easy-to-understand, simple, client-side, partial reference implementation of the mmsh:// protocol.

Download the Python script or see the source tree.

mmshget is inspired by and similar to mimms, but it is smaller, easier to understand and has less features. mimms supports both seekable and live streams (mmshget supports seeakable streams only), and mimms additionally supports non-HTTP versions of the MMS protocol (mmshget supports only mmsh://, the HTTP version). mimms depends on the C library libmms, mmshget is implemented in pure Python (needs Python 2.4 later only).

2 comments:

Anonymous said...

Hi i am new to python and i want to use this piece of code from you. how to i use this? thanks very much

Andy Grimm said...

This is very cool. In the particular stream that I was trying to download, I kept getting 'Bad seq: expected=10 got=11', but I was able to comment out that assert line (378) and still get a playable video. I suppose maybe it dropped a few frames, but it didn't affect playback at all.

Thanks for publishing this.