A Python parser for MP4 boxes
Reason this release was yanked:
1.5.0 was an incorrect version bump based on TrueDread's fork. v1.4.0 is the next release after, even though it's a lower version. v1.4.0 should be used instead.
Project description
pymp4
Python MP4 box parser and toolkit
Usage
pymp4
is based on the excellent parsing library construct.
>>> from pymp4.parser import Box
>>> from io import BytesIO
>>> Box.build(dict(
type=b"ftyp",
major_brand="iso5",
minor_version=1,
compatible_brands=["iso5", "avc1"]))
b'\x00\x00\x00\x18ftypiso5\x00\x00\x00\x01iso5avc1'
>>> ftyp = Box.parse(b'\x00\x00\x00\x18ftypiso5\x00\x00\x00\x01iso5avc1')
>>> print(ftyp)
Container:
type = ftyp
major_brand = iso5
minor_version = 1
compatible_brands = ListContainer:
iso5
avc1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlaphoenix_pymp4-1.5.0.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for rlaphoenix_pymp4-1.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2309389dd6087519a1eed8b148d586b5d7f12c9210c8f588b0aa623827d75d35 |
|
MD5 | a9f8ea3f290ae2b474ccf580aaa8ff42 |
|
BLAKE2b-256 | 86e76c2f59185fb62e02131ebf1c3a8a42b335f38ae40420d7074d4d33f40ff0 |