Python parser for MP4 boxes
Project description
pymp4x
Python MP4 box parser and toolkit based on the construct library.
Usage
>>> 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
Contributors
License
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
pymp4x-2.1.0.tar.gz
(15.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pymp4x-2.1.0-py3-none-any.whl
(17.2 kB
view details)
File details
Details for the file pymp4x-2.1.0.tar.gz.
File metadata
- Download URL: pymp4x-2.1.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.8.18 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
447496e4becefddaffd42c31da9e13d55e623b244a5a9aa603921a257f703134
|
|
| MD5 |
f91ae3045af70a5a68c4694455515850
|
|
| BLAKE2b-256 |
80d49d681720a2edc11ca0e9ba27cb43e473acceef8dbe16092ee672146507b2
|
File details
Details for the file pymp4x-2.1.0-py3-none-any.whl.
File metadata
- Download URL: pymp4x-2.1.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.8.18 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e46e796d11bf2f14a441060ba86b3910ba062874464d34cb74d897140659204
|
|
| MD5 |
9f87c8b3a6a5fceaadc74ccd58ab05b3
|
|
| BLAKE2b-256 |
7c7c366c9786b72d4703a8d14d60888fb47c9cc54b8e21ef75ba362d32c87032
|