Skip to main content

MP4 / ISO base media file format (ISO/IEC 14496-12 - MPEG-4 Part 12) file parser

Project description

MP4 ISO Base Media File Format Parser Library

Parses out and returns a limited set of MP4 boxes

Usage:

Parse boxes

import pymp4parse

boxes = pymp4parse.F4VParser.parse(filename='my.mp4')
for box in boxes:
    print box.type
    print dir(box)

Check is MP4 file

>>> pymp4parse.F4VParser.is_mp4(filename='my.mp4')
True
>>> pymp4parse.F4VParser.is_mp4(filename='/etc/resolv.conf')
False

Installation

pip install https://github.com/use-sparingly/mp4parse/zipball/master

Prerequisites

Pip should install prerequisites. In case you’re manually installing, you’ll need:

  1. Bitstring - https://pypi.python.org/pypi/bitstring/

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

pymp4parse-0.3.0.tar.gz (5.2 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