Skip to content
Python video metadata parser
Python
Latest commit 9572bea Mar 15, 2015 @Diaoul Merge pull request #8 from fgeek/master
Minor changes to README
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
MANIFEST.in Fix package distribution Oct 19, 2013
README.rst Bump year. Mar 15, 2015
setup.cfg Initial commit May 19, 2013
setup.py Switch to 0.4.2 Nov 28, 2013

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 metadata:

>>> import enzyme
>>> with open('example.mkv', 'rb') as f:
...     mkv = enzyme.MKV(f)
...
>>> mkv.info
<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]>]

License

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

http://www.apache.org/licenses/LICENSE-2.0

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.

Something went wrong with that request. Please try again.