mprobe
Read video and audio metadata with Python 3.10+ and ffprobe (or avprobe). Install FFmpeg separately and ensure ffprobe is on your PATH; pip does not install it.
Install and use
python -m pip install mprobe
from mprobe import mediainfo
info = mediainfo("video.mp4", timeout=30)
print(info.get("duration")) # seconds, as a string
print(info.get("format_name"))
Accepts strings and pathlib paths. Values are strings; TAG and DISPOSITION contain dictionaries. Repeated fields use the last stream’s value, then the container’s value. Fields vary by file and may be absent. Missing probes raise FileNotFoundError; invalid or missing media raise subprocess.CalledProcessError (details in stderr). A timeout raises subprocess.TimeoutExpired.
Inspired by pydub.
Metadata
Release files for mprobe 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mprobe-0.0.1.tar.gz | 4.9 kB | Without provenance | Details for mprobe-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mprobe-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for mprobe-0.0.1-py3-none-any.whl |
Total release size: 8.7 kB
Release files / mprobe-0.0.1.tar.gz
| Download URL | mprobe-0.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e8d5a93f924fa88a8e2907afc3c6bf65bdbd967f98bfd014fe9c27af8111df6
|
|
BLAKE2b-256 checksum How to use checksums |
2568ef30ef0088dacd9c1878c7003dfdefbabf01482422fdfde6a2ba1b541856
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / mprobe-0.0.1-py3-none-any.whl
| Download URL | mprobe-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
898e434e5f1e78e79442eab5d412f1f7c698e6edf0c6793e9ac55816395a6241
|
|
BLAKE2b-256 checksum How to use checksums |
9434bdda529becc23d925c6abe26bb8f757cb2c2cca300d1af08cc97066070b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for mprobe 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.