Python library for probing matroska files with mkvmerge.
Project description
mkvinfo
Python library for probing matroska files with mkvmerge.
Installation
mkvinfo is available on PyPI, so you can simply use pip to install it.
pip install mkvinfo
Usage
from mkvinfo import MKVInfo
mkv = MKVInfo.from_file("./Big Buck Bunny, Sunflower version.mkv")
assert mkv.file_name == "Big Buck Bunny, Sunflower version.mkv"
assert mkv.container.properties.title == "Big Buck Bunny, Sunflower version"
assert mkv.container.properties.writing_application == "mkvmerge v92.0 ('Everglow') 64-bit"
for track in mkv.tracks:
print(f"{track.id} - {track.codec}")
#> 0 - AVC/H.264/MPEG-4p10
#> 1 - MP3
#> 2 - AC-3
Checkout the complete documentation here.
License
Distributed under the MIT License. See LICENSE for more information.
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
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
File details
Details for the file mkvinfo-0.0.2.tar.gz.
File metadata
- Download URL: mkvinfo-0.0.2.tar.gz
- Upload date:
- Size: 82.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e827aca3c273dbe635be4a6dbb36fe32d31192e3d85479ad5faff5141dd6cb1
|
|
| MD5 |
c06c4c351a4ec1666485e54c2abec792
|
|
| BLAKE2b-256 |
afc3eac243e59cd75072357b6487ee702e6dd4a2948ce9a2caf6ee305de19c03
|
Provenance
The following attestation bundles were made for mkvinfo-0.0.2.tar.gz:
Publisher:
release.yml on Ravencentric/mkvinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkvinfo-0.0.2.tar.gz -
Subject digest:
1e827aca3c273dbe635be4a6dbb36fe32d31192e3d85479ad5faff5141dd6cb1 - Sigstore transparency entry: 216887847
- Sigstore integration time:
-
Permalink:
Ravencentric/mkvinfo@bde693ec516edd3204f2b6b89c4492fd7e9bec9d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/Ravencentric
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bde693ec516edd3204f2b6b89c4492fd7e9bec9d -
Trigger Event:
push
-
Statement type:
File details
Details for the file mkvinfo-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mkvinfo-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d96881ca3776727d664e2746e8fda09be0d1bbd30d1a18850bd43d3ca1ef07
|
|
| MD5 |
b717c76b37bc45abfb92a12bb652eb2c
|
|
| BLAKE2b-256 |
3e928c49917a00d7870804c1a2189ae1c38c6affa61cc514678e77b2b40cb913
|
Provenance
The following attestation bundles were made for mkvinfo-0.0.2-py3-none-any.whl:
Publisher:
release.yml on Ravencentric/mkvinfo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkvinfo-0.0.2-py3-none-any.whl -
Subject digest:
50d96881ca3776727d664e2746e8fda09be0d1bbd30d1a18850bd43d3ca1ef07 - Sigstore transparency entry: 216887856
- Sigstore integration time:
-
Permalink:
Ravencentric/mkvinfo@bde693ec516edd3204f2b6b89c4492fd7e9bec9d -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/Ravencentric
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bde693ec516edd3204f2b6b89c4492fd7e9bec9d -
Trigger Event:
push
-
Statement type: