1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
Metadata-Version: 2.1
Name: enzyme
Version: 0.4.1
Summary: Python video metadata parser
Home-page: https://github.com/Diaoul/enzyme
Author: Antoine Bertin
Author-email: diaoulael@gmail.com
License: Apache 2.0
Keywords: parser video metadata mkv
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Software Development :: Libraries :: Python Modules
License-File: LICENSE
Enzyme
======
Enzyme is a Python module to parse video metadata.
.. image:: https://travis-ci.org/Diaoul/enzyme.png?branch=master
:target: https://travis-ci.org/Diaoul/enzyme
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
Changelog
=========
0.4.1
-----
**release date:** 2013-11-05
* Fix parsing nested SeekHead elements
* Make parsing nested SeekHead elements optional
0.4.0
-----
**release date:** 2013-10-30
* Import exceptions under enzyme namespace
* Change repr format
* Rename base exception
* Remove test file
0.3.1
-----
**release date:** 2013-10-20
* Fix package distribution
0.3
---
**release date:** 2013-05-18
* Complete refactoring, for the old enzyme see https://github.com/Diaoul/enzyme-old
|