Skip to main content

Criware media formats library

Project description

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WannaCRI-0.3.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

WannaCRI-0.3.0-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file WannaCRI-0.3.0.tar.gz.

File metadata

  • Download URL: WannaCRI-0.3.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for WannaCRI-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e068eb5f6e68e90840e20cafa0f96ee3c305a5415af553be1bda14be39551225
MD5 eaf61e39221e215420d7324b624ffb65
BLAKE2b-256 b3f05784ed61942b7aaf5b6f1e63275d43649b2ee04d65f19d64043bcc44bfca

See more details on using hashes here.

File details

Details for the file WannaCRI-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: WannaCRI-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.5

File hashes

Hashes for WannaCRI-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c08684baa1d7df7336aa5ee88104e595d85060637e615a069c51f0b778f2dbe7
MD5 123b4f1344008bd9fab9f4866b8eaf61
BLAKE2b-256 b970927c46b0f22377c12b7ea025ab8437f8647f5eff299b807e6f529bec436c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page