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

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.2.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file pymp4parse-0.2.2.tar.gz.

File metadata

  • Download URL: pymp4parse-0.2.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymp4parse-0.2.2.tar.gz
Algorithm Hash digest
SHA256 39e339e62f34b69a69a92449ae70d6a4a6f90cc18167316572a759118044cf6d
MD5 683e8b15ff1a8d8882021547729b646c
BLAKE2b-256 95e50d999cc314a76bdda7b8b1841a4b4d82ee2b43d72719795be6e363c28439

See more details on using hashes here.

Supported by

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