Skip to main content

A python implementation of QOIV, an video format based on QOI

Project description

pyqoiv

Test Code Docs

A python implementation of the QOV video format, based on the QOI image format. Contains a number of opcode modifications to allow for inter frame comparisons. When post processed with zstd to further compress, the resulting file is comparable to FFV1 in terms of compression ratio. It is not as good as H265 lossless.

The implementation is horribly slow, but it works.

Opcodes

The QOI format specification lists the opcodes supported by the QOI format. The QOIV format supports most of these opcodes, with the exception of:

  • QOI_OP_RGBA
  • QOI_OP_LUMA

To replace these opcodes, the following 2 byte opcodes are used (described in more detail in the code):

  • FrameRunOpcode - This is used to represent a run of identical pixels from a reference frame.
  • DiffFrameOpcode - This is used to represent a single pixel from a reference frame or hashmap, with some applied difference.

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

pyqoiv-0.4.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqoiv-0.4.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file pyqoiv-0.4.0.tar.gz.

File metadata

  • Download URL: pyqoiv-0.4.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyqoiv-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ca8e6f4e795d3dce4d434c72a64f49f0624bc693bd33f850a2b95d88f23af024
MD5 4184608cd3463dbab72d37cc4118149c
BLAKE2b-256 4172425531ebce71ef546f3aa292dd59afcc3f8f147c1d0cddd313fe0c89459c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqoiv-0.4.0.tar.gz:

Publisher: release.yml on mark-goodall/pyqoiv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqoiv-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pyqoiv-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyqoiv-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffda70fe7ebe138f280e8137baf7f295a7cb44473e75ded9989081d9a8a5294d
MD5 31e8eb0381f1094853c3cba58afdf0c2
BLAKE2b-256 c418c2de5dc53d5cf59691a8baeb1f1b159dd36abe300db384bf1b119e3934a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqoiv-0.4.0-py3-none-any.whl:

Publisher: release.yml on mark-goodall/pyqoiv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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