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
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
Hashes for WannaCRI-0.2.5b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bdd45e565b09bc18b38b5b303b47b3a299332543c94df297b7a6fb0c0dfa25 |
|
MD5 | 9a4078baea6a0a54a38d4e9afbfe1987 |
|
BLAKE2b-256 | 426c0706bd908a4b05db9a0b9f9616f35ca79af896a2af86e704ccf6c4b8539e |