Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python video metadata parser
branch: master
Failed to load latest commit information.
docs Update documentation and README
enzyme Close opened streams in tests
.gitignore Initial commit
.gitmodules Initial commit
.travis.yml Initial commit
HISTORY.rst Update HISTORY
LICENSE Initial commit
MANIFEST.in Fix package distribution
README.rst Update documentation and README
setup.cfg Initial commit
setup.py Switch to 0.4.2

README.rst

Enzyme

Enzyme is a Python module to parse video metadata.

https://travis-ci.org/Diaoul/enzyme.png?branch=master

Usage

Parse a MKV file:

>>> with open('How.I.Met.Your.Mother.S08E21.720p.HDTV.X264-DIMENSION.mkv', 'rb') as f:
...    mkv = enzyme.MKV(f)
...
>>> mkv.info
<Info [title=None, duration=0:20:56.005000, date=2013-04-15 14:06:50]>
>>> mkv.video_tracks
[<VideoTrack [1, 1280x720, V_MPEG4/ISO/AVC, name=None, language=eng]>]
>>> mkv.audio_tracks
[<AudioTrack [2, 6 channel(s), 48000Hz, A_AC3, name=None, language=und]>]

License

Apache2

Something went wrong with that request. Please try again.