Criware media formats library
Project description
WannaCRI
A (WIP) Python library for parsing, extracting, and generating Criware's various audio and video file formats. If you're interested in reading more about USM, you can read my write-up about it here
Install
Install it conventionally using
pip install WannaCRI
I recommend using uv to download and install WannaCRI. After installing uv, you can just run
uvx wannacri extractusm /path/to/usm/file/or/folder
Which will download and run the latest WannaCRI for you.
Support
This currently supports the following formats with more planned:
✅: Implemented and tested ❓: Should work but not tested ❌: Not implemented
x/y: Extract support / Create support
USM
Video
| Codec | Not-encrypted | Encrypted |
|---|---|---|
| VP9 | ✅ / ✅ | ✅ / ✅ |
| H.264 | ✅ / ✅ | ✅ / ❓ |
| Prime | ❓ / ❌ | ❓ / ❌ |
Audio
| Codec | Not-encrypted | Encrypted |
|---|---|---|
| CRI HCA | ✅ / ❌ | ✅ / ❌ |
Requirements
This library has the following requirements:
A working FFmpeg and FFprobe installation. On Windows, you can download official ffmpeg and ffprobe binaries and place them on your path.
This project heavily uses the ffmpeg-python wrapper. And uses python-json-logger for logging.
Usage
If installed, there should be a command-line tool available.
For extracting USMs:
wannacri extractusm /path/to/usm/file/or/folder --key 0xKEYUSEDIFENCRYPTED
For creating USMs:
wannacri createusm /path/to/vp9/file --key 0xKEYIFYOUWANTTOENCRYPT
Licence
This is an open-sourced application licensed under the MIT 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 Distributions
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 wannacri-0.3.1-py3-none-any.whl.
File metadata
- Download URL: wannacri-0.3.1-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20b6327c17ea987d2f90ae961091442327238a254697dddceca5318bd68b8ee
|
|
| MD5 |
f389534da6656389f2e17fa078d8073b
|
|
| BLAKE2b-256 |
e105a67d54ee396907fe41c1b46097c70455715f318bb0df121175e26dd76b06
|