Python video metadata parser
Switch branches/tags
Clone or download
Diaoul Merge pull request #8 from fgeek/master
Minor changes to README
Latest commit 9572bea Mar 15, 2015
Failed to load latest commit information.
docs Update documentation and README Oct 30, 2013
enzyme Close opened streams in tests Nov 28, 2013
.gitignore Initial commit May 19, 2013
.gitmodules Initial commit May 19, 2013
.travis.yml Initial commit May 19, 2013
HISTORY.rst Update HISTORY Nov 28, 2013
LICENSE Initial commit May 19, 2013 Fix package distribution Oct 19, 2013
README.rst Bump year. Mar 15, 2015
setup.cfg Initial commit May 19, 2013 Switch to 0.4.2 Nov 28, 2013



Enzyme is a Python module to parse video metadata.


Parse a MKV file metadata:

>>> import enzyme
>>> with open('example.mkv', 'rb') as f:
...     mkv = enzyme.MKV(f)
<Info [title=None, duration=0:00:01.440000, date=2015-03-14 08:40:16]>
>>> mkv.video_tracks
[<VideoTrack [2, 720x576, V_DIRAC, name=u'Video\x00', language=None]>]
>>> mkv.audio_tracks
[<AudioTrack [1, 2 channel(s), 44100Hz, A_MS/ACM, name=u'Audio\x00', language=None]>]


Copyright 2013-2015 Antoine Bertin

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.