Skip to main content

Version

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WannaCRI 0.3.2
File Size Uploaded
wannacri-0.3.2.tar.gz 30.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WannaCRI 0.3.2
File Interpreter ABI Platform
wannacri-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 62.9 kB

Release files / wannacri-0.3.2.tar.gz

Download URL wannacri-0.3.2.tar.gz
Size 30.1 kB
Tags Source
SHA-256 checksum
How to use checksums
79367cf644467fdefbfc559d281a35ee74da3667722761c1c29ad1811f159788
BLAKE2b-256 checksum
How to use checksums
023a9bedc3e096ba66c67be4a2c79da7cffa4b50fc76913feeec0717de05a90f
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.2-py3-none-any.whl

Download URL wannacri-0.3.2-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96e3b896545325ebe1c3a0406c373406eb037192d1767b5ddb19289cfe0a59f9
BLAKE2b-256 checksum
How to use checksums
be62d3107855504eccd91c7aa5dd3fe93dcb837a2a9fa84bf0bbfb904dc7d803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release history Release notifications | RSS feed

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

1 release file

0.3.0

2 release files

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page