Skip to main content

Python video metadata parser

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enzyme-0.4.1.tar.gz (48.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page