Skip to content
/ enzyme Public
forked from Diaoul/enzyme

Python video metadata parser

License

Notifications You must be signed in to change notification settings

mgorny/enzyme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enzyme

Enzyme is a Python module to parse video metadata.

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

Enzyme is licensed under the MIT license.

About

Python video metadata parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%