Routines for computing quantisation matrices for the SMPTE ST 2042-2 VC-2 professional video codec.
Project description
SMPTE ST 2042-1 (VC-2) Quantisation Matrix Computation Routines
This Python package, vc2_quantisation_matrices
, provides both a standalone
software tool and Python module for computing 'default' quantisation matrices
for the SMPTE ST 2042-1:2017 VC-2 professional video
codec. Specifically, this software
implements the procedure from section (D.3.2) of the standard for computing
quantisation matrices which achieve noise-power normalisation.
This software is provided both as an informal reference and also as a tool for computing quantisation matrices for wavelet transform and depth combinations for which no default matrix is provided.
For further information, please conatact Jonathan Heathcote or John Fletcher.
Installation
You can install the vc2_quantisation_matrices
Python
module from PyPI using:
$ pip install vc2_quantisation_matrices
Alternatively you can install it from a copy of this repository using:
$ python setup.py install
Documentation
You can read the vc2_quantisation_matrices
manual online
here (also available in PDF
format).
This includes both instruction on the use of this software as well as a more
thorough overview of the process it implements.
Running the Tests
To run the test suite, first install the test suite dependencies using:
$ pip install -r requirements-test.txt
Then run the tests:
$ pytest tests/
Building the Documentation
To build the documentation, first install the build dependencies:
$ pip install -r requirements-doc.txt
Then build the documentation:
$ cd docs
$ make html # or make latexpdf
The built documentation can then be found in docs/build/
.
License
This software is distributed under the GNU General Public License version 3, © BBC 2021.
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 Distribution
Built Distribution
Hashes for vc2_quantisation_matrices-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76e81d8637e64ee9f58330fa65ad0b214fc89c58f067d43771c76a9f9648001 |
|
MD5 | 67be29088e4b559a3b7233a09f753023 |
|
BLAKE2b-256 | a8c48d430756f6b5f2466123864b1e846f5b0d3a170d6ace2d0bba06c4ec602f |
Hashes for vc2_quantisation_matrices-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c39765ab52404b5264c98a6c3242646a4ffed482958c41b848767c584e5efbb |
|
MD5 | 0ad36ae6d890cdcf67b5bacf7d86dfdf |
|
BLAKE2b-256 | d3e16deeaba150cee6092745b8dfc3925652c84fef92fc03e31e4a715d9edc61 |