Skip to main content

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

Project description

pyqoiv

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.3.1.tar.gz (8.8 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.3.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyqoiv-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ac6b3d653b6682b091b9eebb6aead59c0e6d232cfa801053e974aa63aacd8120
MD5 c795404067b654a77798a12ed02738cc
BLAKE2b-256 f747a7a94ffccb9d00b19b037d7fd76383b60402cb755ce3dc1694bf95281dc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqoiv-0.3.1.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.3.1-py3-none-any.whl.

File metadata

  • Download URL: pyqoiv-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 382a51195c19b8ee334ff7f85670fbe78df98e968fff40e0ab3a4ba65a0b65b0
MD5 a51fdb5ceff770b30a29e8c0ed547f07
BLAKE2b-256 d317159d556c0eddcf65be76341e9acfff5490d87184d5c7b8d4f295588351cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqoiv-0.3.1-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