Skip to main content

rv565 for Python

PyPI Python

Read, write and check RV565 video files: independently zlib-compressed RGB565 frames, the format the RV565 library plays at 24 FPS on ESP32-S3 SPI displays (arXiv:2610.35935).

pip install rv565            # core and the `rv565` command, no dependencies
pip install "rv565[pillow]"  # plus the Pillow plugin

Published on PyPI: pypi.org/project/rv565. Prefer not to install anything? The online converter does the same encoding in your browser.

Command line

rv565 encode input.mp4 clip.rv565 --size 180x135 --fps 24   # needs FFmpeg
rv565 info clip.rv565        # sizes and predicted missed frames on ESP32-S3
rv565 info --chip rp2350 clip.rv565   # ... or on a Raspberry Pi Pico 2
rv565 verify clip.rv565
rv565 c-array clip.rv565 clip.h   # for Arduino sketches

Library

import rv565

clip = rv565.open("clip.rv565")
print(clip.width, clip.height, clip.fps, len(clip))
frame = clip.frame(0)                     # RGB565 big-endian bytes, O(1) seek
report = clip.check_schedule(overlap=True)
print(report.late_frames)                 # 0: plays without misses (ESP32-S3 model)

rv565.write("out.rv565", 180, 135, 24, frames)   # frames: RGB565BE bytes each

Pillow

import rv565.pillow                       # registers the format
from PIL import Image, ImageSequence

with Image.open("clip.rv565") as im:      # mode "RGB", im.n_frames, im.info["fps"]
    frames = [f.copy() for f in ImageSequence.Iterator(im)]

frames[0].save("out.rv565", save_all=True, append_images=frames[1:], fps=24)

Any image sequence Pillow can open (GIF, APNG, WebP) can be saved as RV565 the same way; colours are reduced to RGB565.

License

MIT.

Metadata

Release files for rv565 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rv565 2.0.1
File Size Uploaded Provenance Actions
rv565-2.0.1.tar.gz 21.9 kB With provenance Details for rv565-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rv565 2.0.1
File Interpreter ABI Platform Actions
rv565-2.0.1-py3-none-any.whl Python 3 none any Details for rv565-2.0.1-py3-none-any.whl

Total release size: 40.9 kB

Release files / rv565-2.0.1.tar.gz

Download URL rv565-2.0.1.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
14c7999e2cb4c9c41d680f2edf6c80c8ed4f27c7e2ba0c56a33e2493b44e11c9
BLAKE2b-256 checksum
How to use checksums
2cfa441b9183ed244a223e2940c9064728f75421878b60588850e7bbfe4d67a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / rv565-2.0.1-py3-none-any.whl

Download URL rv565-2.0.1-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c689e3841489bfa3b210a199ddaf18d2a5f48e4d9ef45815f805ff2257922ae
BLAKE2b-256 checksum
How to use checksums
a42b258b1c0173eaf395bd0ce90d46b337d9cb3f44170c82d43490556f5a5a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for rv565 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rv565-2.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page