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
Metadata
Release files for WannaCRI 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wannacri-0.3.3.tar.gz | 29.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wannacri-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.7 kB
Release files / wannacri-0.3.3.tar.gz
| Download URL | wannacri-0.3.3.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c657ab58c4d49314ce6b8dc6334eef83c9fe89e8243ac4b97f3c7e05b718d5c
|
|
BLAKE2b-256 checksum How to use checksums |
56829fd56fa1eae00b5626da9548acbfd792b63d5db30ca6ded8ec1f5732a604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|
Release files / wannacri-0.3.3-py3-none-any.whl
| Download URL | wannacri-0.3.3-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d96b35c9a76632d2e773eeb2372810e854d9d77b381f81dc348d92f9aacde5c
|
|
BLAKE2b-256 checksum How to use checksums |
96bb6e5d1a851cd110c34f358cc3f074451a030ab84f53cff9cd574c690b3242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.11
|